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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -