GM_processEventsWin

Processes all Windows events for the current iteration of the main loop

Declaration

void MGLAPI GM_processEventsWin(void)

Prototype In

gm/gm.h

Description

This function is the message processing handler for the main event loop for the Game Framework. This function basically processes all windows messages and passes them to the window procedure for handling. Note that this function does not use the MGL's event handling routines, and is specific to Windows. Essentially this function implements the following:

while (PeekMessage(&msg,NULL,0,0,PM_REMOVE)) {
TranslateMessage(&msg);
DispatchMessage(&msg);
}

See Also

GM_mainLoop, GM_processEvents, GM_cleanup

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com