Microsoft Windows CE 3.0  

CBaseControlWindow::NotifyOwnerMessage

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.

Passes along specific messages to the video window.

HRESULT NotifyOwnerMessage(
long
hwnd
,
long
uMsg
,
long
wParam
,
long
lParam
);

Parameters

hwnd
Handle to the video window.
uMsg
Message details.
wParam
Standard WPARAM parameter.
lParam
Standard LPARAM parameter.

Return Values

Returns NO_ERROR.

Remarks

When the video window is a child of another window, it does not receive certain top-level window messages. These messages can be valuable to a renderer, because they could affect its behavior. NotifyOwnerMessagepasses any of the following messages to the video window.

  • WM_ACTIVATEAPP
  • WM_DEVMODECHANGE
  • WM_DISPLAYCHANGE
  • WM_PALETTECHANGED
  • WM_PALETTEISCHANGING
  • WM_QUERYNEWPALETTE
  • WM_SYSCOLORCHANGE

    You can request that the IVideoWindowplug-in distributor (PID) make a window become a child of another window. When this occurs, the PID will look for certain messages that might be sent to the owning window. The PID will then forward those messages to the owned window. The default processing for the messages is to send them to the owned window procedure synchronously by calling the Win32 SendMessagefunction.