CWnd::GetCurrentMessage

Call this member function to obtain a pointer to the MSG structure that contains the message the window is currently processing.

Syntax

static const MSG* PASCAL GetCurrentMessage( );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

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.

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories