I need to know how to get a key pressed during a loop in a win32 app. I know about the OnKeyDown command, but that will not be reconized during a loop. Also is their a way to check the message map during a loop.
if you just want to prevent the dialog box from closing use on void OnClose() in the message map and do a declaration like this:
void StatsDlg::OnClose()
{
ShowWindow(FALSE);
StatsDlg::OnClose();
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.