CWnd::GetCurrentMessage

Syntax

Protected:
static const MSG* GetCurrentMessage();

Return Value

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