CBaseWindow::OnReceiveMessage (Windows CE 5.0)

Send Feedback

Indicates a base class implementation of a window procedure.

virtual LRESULT OnReceiveMessage(HWNDhwnd,INTuMsg,WPARAMwParam,LPARAMlParam);

Parameters

  • hwnd
    Handle to the window.
  • uMsg
    Message identifier.
  • wParam
    Message's wParam parameter.
  • lParam
    Message's lParam parameter.

Return Values

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

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.