Call this member function to obtain a pointer to the MSG structure that contains the message the window is currently processing.
static const MSG* PASCAL GetCurrentMessage( );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
This function returns a pointer to a MSG structure. In Windows CE, the time member of this structure contains the system time at which CWnd::GetCurrentMessage is called, rather than the time at which the message was posted.
CWnd Overview, CWnd Member Functions, Window Class Categories