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

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -