Share via


CBasePropertyPage::OnReceiveMessage (Compact 2013)

3/26/2014

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.

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

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBasePropertyPage Class
CBasePropertyPage::m_bDirty
CBasePropertyPage::m_pPageSite

Other Resources

DefWindowProc