11-06-2014, 04:00 PM
EDIT:
Sorry I overlooked the following flag:
1 enable keyboard
The below question is solved by the 'flag 1 (enable keyboard)'
Is the following technically possible?
If the user is in an text editor for example notepad, and the user is editing text and when the user presses a hotkey the menu is rendered.
(the code is exact as the code explained above in your example).
So far it works perfectly, but is it possible to render the menu at the cursor position (where the user is typing) and immediately after the menu is rendered it is activated.
What I mean with this: When the user presses a hotkey while typing in the text editor the menu is rendered correctly but not active, when the user presses the RIGHT arrow it moves the cursor in the text-editor to the right (which is as it's expected).
It would be very nice if the focus was set on the rendered menu and thus when the user presses RIGHT arrow it would begin navigating the menu.
I could simulate this, but I need to how to put the mouse-pointer at the blinking cursur in the text editor.
(I guess this is very difficult)
Sorry I overlooked the following flag:
1 enable keyboard
The below question is solved by the 'flag 1 (enable keyboard)'
Is the following technically possible?
If the user is in an text editor for example notepad, and the user is editing text and when the user presses a hotkey the menu is rendered.
(the code is exact as the code explained above in your example).
So far it works perfectly, but is it possible to render the menu at the cursor position (where the user is typing) and immediately after the menu is rendered it is activated.
What I mean with this: When the user presses a hotkey while typing in the text editor the menu is rendered correctly but not active, when the user presses the RIGHT arrow it moves the cursor in the text-editor to the right (which is as it's expected).
It would be very nice if the focus was set on the rendered menu and thus when the user presses RIGHT arrow it would begin navigating the menu.
I could simulate this, but I need to how to put the mouse-pointer at the blinking cursur in the text editor.
(I guess this is very difficult)
