I have created a simple window with a couple of widgets on it. I have a callback function to
repaint the window background etc.
I have a seperate task that reads my keypad and when a key press/release event occurs calls the
GUI_SendKeyMsg() function to send the key event to the WM.
If I run the project I see my window and the widgets - all fine.
However the window manager does not seem respond to key events, the widgets don't appear to get
the focus or respond to the UP, DOWN, ENTER or TAB keys. I can see the GUI_SendKeyMsg() is
getting called correctly (via a breakpoint).
If I add a breakpoint on window callback [cbForegroundWin(WM_MESSAGE* pMsg)] it never gets
called when I press a key. I am expecting a WM_KEY event to fire.
I am calling WM_Exec() in my UI task loop.
Any ideas?
(This is a ARM-RL RTOS project)
repaint the window background etc.
I have a seperate task that reads my keypad and when a key press/release event occurs calls the
GUI_SendKeyMsg() function to send the key event to the WM.
If I run the project I see my window and the widgets - all fine.
However the window manager does not seem respond to key events, the widgets don't appear to get
the focus or respond to the UP, DOWN, ENTER or TAB keys. I can see the GUI_SendKeyMsg() is
getting called correctly (via a breakpoint).
If I add a breakpoint on window callback [cbForegroundWin(WM_MESSAGE* pMsg)] it never gets
called when I press a key. I am expecting a WM_KEY event to fire.
I am calling WM_Exec() in my UI task loop.
Any ideas?
(This is a ARM-RL RTOS project)