Microsoft Windows CE 3.0  

CBaseWindow::OnReceiveMessage

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Indicates a base class implementation of a window procedure.

virtual LRESULT OnReceiveMessage(
HWND
hwnd
,
INT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
);

Parameters

hwnd
Handle to the window.
uMsg
Message identifier.
wParam
Message's wParamparameter.
lParam
Message's lParamparameter.

Return Values

Returns an LRESULTvalue, based on the uMsgparameter. If uMsgis not one of the specified values, OnReceiveMessagepasses the message to the Win32 DefWindowProcfunction and forwards the resulting return value to the caller.

Message Action
m_RealizePalette Returns 0.
m_ShowStageMessage Returns 1.
m_ShowStageTop Returns 1.
WM_CLOSE Returns 0.
WM_PALETTECHANGED Returns 0.
WM_QUERYNEWPALETTE Returns result of CBaseWindow::OnPaletteChange
WM_SIZE Returns 0.
WM_SYSCOLORCHANGE Returns 1.