I am creating dialogs with various widgets and injecting GUI_KEY_TAB/GUI_KEY_BACKTAB key presses to cycle focus through the widgets. If a dialog is created with hidden and/or disabled widgets, then these widgets can still accept focus, leading to some very strange behaviour. For example, try creating a DROPDOWN widget, call WM_HideWindow() on it and inject GUI_KEY_SPACE when it has focus. A disembodied LISTBOX appears where the hidden DROPDOWN would be displayed. How do I stop this unwanted behaviour?
Regards,
Craig
Regards,
Craig