![]() |
![]() |
![]() |
Sets the window message callback function.
Syntax
VOID DXUTSetCallbackMsgProc(
LPDXUTCALLBACKMSGPROC pCallbackMsgProc );
Parameters
- pCallbackMsgProc
- [in] Pointer to a LPDXUTCALLBACKMSGPROC callback function. If supplied, the sample framework will call this function when it receives window messages.If NULL, the sample framework will not notify the application about window messages.
Return Value
No return value.
Remarks
With the use of the LPDXUTCALLBACKMSGPROC pbNoFurtherProcessing parameter, the application can contol the framework's level of involvement in processing window messages. If the application sets the pbNoFurtherProcessing parameter to TRUE in the call to LPDXUTCALLBACKMSGPROC, the framework will not process the message and will immediately return with the value returned by LPDXUTCALLBACKMSGPROC. If the application sets pbNoFurtherProcessing to FALSE, the framework will handle window management events.
Function Information
Header dxut.h Import library None Minimum operating systems Windows 98
See Also
Creating a Window, Message Events, LPDXUTCALLBACKMSGPROC, DXUTSetCallbackKeyboard, DXUTSetCallbackMouse, LPDXUTCALLBACKKEYBOARD, LPDXUTCALLBACKMOUSE, WindowProc