winapi - WS_OVERLAPPEDWINDOW and WM_SYSKEYDOWN -


setwindowlong(hwnd, gwl_style, ws_overlappedwindow); 

if add line above, program receive every second press of alt key. catch alt key wm_syskeydown event. must mention though, wm_syskeyup still detects every release of alt key.

so when repeatedly press alt key log looks this:

down up down up

any idea why that, , how fix problem still retain normal application window look? (that why overlapped window flag used).

update: found ws_sysmenu causes same problem, must related sys menu hotkeys.


Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -