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

twig - Using Twigbridge in a Laravel 5.1 Package -

Kivy: Swiping (Carousel & ScreenManager) -

jdbc - Not able to establish database connection in eclipse -