Поделиться через


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

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart