MGL_registerEventProc
Registers a user supplied window procedure for event handling.
Declaration
void MGLAPI MGL_registerEventProc(
MGL_WNDPROC userWndProc)
Prototype In
mglwin.h
Parameters
userWndProc |
Point to user supplied Window Procedure |
Description
This function registers a user supplied window procedure with MGL that will be used for event handling purposes. By default MGL applications can simply use the EVT_* event handling functions that are common to both the DOS and Windows versions of MGL. However developers porting Windows specific code from DirectDraw may wish to use their existing window specific event handling code. This function allows you to do this by telling MGL to use your window procedure for all event processing.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com