Hi There,
I want to mimic some special key input, such as Print_Scrn_SysRq, Alt-Print_Scrn_SysRq,
and Ctrl-Print_Scrn_SysRq. How do I do that in my MFC application program?
Thanks in Advance. Please reply to: [email protected]
---ytsau
Printable View
Hi There,
I want to mimic some special key input, such as Print_Scrn_SysRq, Alt-Print_Scrn_SysRq,
and Ctrl-Print_Scrn_SysRq. How do I do that in my MFC application program?
Thanks in Advance. Please reply to: [email protected]
---ytsau
use function
VOID keybd_event ( BYTE bVk, // virtual-key code
BYTE bScan, // hardware scan code
DWORD dwFlags, // flags specifying various function options
DWORD dwExtraInfo // additional data associated with keystroke
);