DXUTSetCallbackMsgProc
Microsoft DirectX 9.0 SDK Update (October 2004)

DXUTSetCallbackMsgProc Function


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

Headerdxut.h
Import libraryNone
Minimum operating systems Windows 98

See Also

Creating a Window, Message Events, LPDXUTCALLBACKMSGPROC, DXUTSetCallbackKeyboard, DXUTSetCallbackMouse, LPDXUTCALLBACKKEYBOARD, LPDXUTCALLBACKMOUSE, WindowProc World Wide Web link


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.