General information
Category:
Coding, syntax & commands
Title:
PeekMessage in VFP??
Is there anywhere in a form where one can trap
WM_ messages like this C code?
Best regards
Per Simmersholm
while(1) {
while(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {
if(msg.message==WM_QUIT)
break;
TranslateMessage(&msg);
DispatchMessage(&msg);
}
if(msg.message==WM_QUIT)
break;
Refresh(); // idle, refresh the display
}
return(msg.wParam);
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only