GM_registerEventProc
Registers a user event procedure with the Game Framework
Declaration
void MGLAPI GM_registerEventProc(
MGL_WNDPROC winproc)
Prototype In
gm/gm.h
Parameters
winproc |
User window procedure to register |
Description
This function registers a user window procedure with the Game Framework. The primary purpose of this function is to allow your game to process regular windows messages (such as CD-Audio notification messages and other messages not automatically handled by the Game Framework) in your game. To use this function, simply write a regular window procedure as you would normally for a real window, but instead of registering the window procedure with in the RegisterClass function (the Game Framework calls RegisterClass for you during initialization) call this function to register your window procedure with the Game Framework.
Note: This function is only available in the Windows version of the Game Framework.
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com