CWnd::GetCurrentMessage
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

CWnd::GetCurrentMessage

Returns a pointer to the message this window is currently processing. Should only be called when in an OnMessage message-handler member function.

static const MSG* PASCAL GetCurrentMessage( );

Return Value

Returns a pointer to the MSG structure that contains the message the window is currently processing. Should only be called when in an OnMessage handler.

Example

See the example for CMDIFrameWnd::MDICascade.

See Also

CWnd Overview | Class Members | Hierarchy Chart

Show:
© 2016 Microsoft