GetKeyPress()

how can do that Ctrl + a ?
if ((GetKeyPress(VK_CONTROL)<0) && (GetKeyPress(?)<0))
{
MessageBox("Success");
}
thank for help.
[166 byte] By [yoni1993] at [2007-11-20 9:23:31]
# 1 Re: GetKeyPress()
What is a GetKeyPress? I couldn't find it in MSDN. :confused:
To know whether Ctrl key was pressed you can use GetKeyState API. See MSDN for description.
VictorN at 2007-11-11 4:11:56 >
# 2 Re: GetKeyPress()
You need to check for ket state of control when you receive WM_KEYDOWN/WM_CHAR for 'a'.
Krishnaa at 2007-11-11 4:12:56 >