Tuesday, October 17th 2017, 7:57am UTC+2

You are not logged in.

  • Login
  • Register

Search results

Search results 1-3 of 3.

Thursday, October 12th 2017, 8:51am

Author: akiramaru

How to get GUI_SendKeyMsg event when I focused at EDIT widget?

Dear Sir: I have tried your code but it doesn't work well, please see attach pic. I set my BUTTON_ENTER value is 0x81A but i got KeyMsg on _cbEDIT0 is 0x10000000 they are doesn't match, could you solve these problem? Thanks. Quoted from "SEGGER - Schoenen" Hi, Unfortunately, you can not react on key messages like you react on e.g. value changed. To react on key messages you have to set a custom callback for the edit widget itself. Attached you will find a short example on how this can be done. I...

Thursday, October 5th 2017, 7:10am

Author: akiramaru

How to get GUI_SendKeyMsg event when I focused at EDIT widget?

Dear all: Here has a problem when I focused on an EDIT widget, I can't get any KeyMsg when I press button and sent to the queue. Have anybody can help me to solve this problem, thx. P.S. Myapplication for STemWin is only use keyboard not touch screen. C/C++ Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 switch(Id) { case ID_EDIT_0: // Notifications sent by 'Edit' switch(NCode) { case WM_NOTIFICATION_CLICKED: // USER START (Optionally insert code for reacting on notification message)...