Export (0) Print
Expand All
MFC
Expand Minimize

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( );

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.

See the example for CMDIFrameWnd::MDICascade.

Header: afxwin.h

Community Additions

ADD
Show:
© 2014 Microsoft