winapi - How to get modifier key event(alt+ctrl+shift), -
if working on win32 api.please have below issue. have requirement call function when modifier keys pressed(alt+ctrl+shift) @ same time in win32 programming.but not getting how handle event when modifiers keys pressed @ same time. if have idea please post it.
to status of key there api getkeystate
. of can check whether key down or up.
for example:
if (getkeystate(vk_shift)& 0x8000) //key pressed
you can check in combination this:
if (getkeystate(vk_shift)& 0x8000 && getkeystate(vk_control)& 0x8000) //ctrl+shift key pressed.
Comments
Post a Comment