Link to home
Start Free TrialLog in
Avatar of lawrencekoo
lawrencekoo

asked on

Disable keyborad input to desktop

I am trying to freeze the whole windows for security implementation, like developing a system wide modal dialog.
The problem I am facing is I cannot disable the keyboard input to the taskbar (Ctrl-Esc) and (Ctrl-Alt-Del).
Please help.
Avatar of The_Brain
The_Brain

suppose you could try, PreTranslateMessage(MSG *pMsg)
and if VK_CTRL or something in that effect.  (otherwise get a more sophisticated method.)
Mine is primitive but it seems to work.
ASKER CERTIFIED SOLUTION
Avatar of jamoville
jamoville
Flag of Afghanistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lawrencekoo

ASKER

tried it,
The command work alright in disabling keyboard input to all windows but it still can't contain Ctrl-Alt-Del