CBaseWindow::OnReceiveMessage (Windows Embedded CE 6.0)
1/6/2010
Indicates a base class implementation of a window procedure.
Syntax
virtual LRESULT OnReceiveMessage(
HWND hwnd,
INT uMsg,
WPARAM wParam,
LPARAM lParam
);
Parameters
- hwnd
Handle to the window.
- uMsg
Message identifier.
- wParam
Message's wParam parameter.
- lParam
Message's lParam parameter.
Return Value
Returns an LRESULT value, based on the uMsg parameter.
If uMsg is not one of the specified values, OnReceiveMessage passes the message to the Win32 DefWindowProc function 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. |
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later |