Partager via


CBasePropertyPage::OnReceiveMessage

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method is called when the dialog box receives a message.

Syntax

virtual INT_PTR OnReceiveMessage(
  HWND hwnd,
  UINT uMsg,
  WPARAM wParam,
  LPARAM lParam
);

Parameters

  • hwnd
    Handle to the window.
  • uMsg
    Message.
  • wParam
    First message parameter.
  • lParam
    Second message parameter.

Return Value

Returns a Boolean value. The dialog procedure returns this value; for more information, see Shell and User Interface.

Remarks

The base-class implementation calls DefWindowProc. Override this method to handle messages that relate to the dialog controls. If the overriding method does not handle a particular message, it should call the base-class method.

If the user changes any properties via the dialog controls, set the CBasePropertyPage::m_bDirty flag to TRUE. Then call the IPropertyPageSite::OnStatusChange method on the CBasePropertyPage::m_pPageSite pointer to inform the frame.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 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

See Also

Reference

CBasePropertyPage Class
CBasePropertyPage::m_bDirty
CBasePropertyPage::m_pPageSite

Other Resources

Shell, GWES, and User Interface
DefWindowProc