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.
A version of this page is also available for
4/8/2010

This macro passes a message to a property sheet dialog box and indicates whether the dialog processed the message. You can use this macro or send the PSM_ISDIALOGMESSAGEmessage explicitly.

Syntax

BOOL PropSheet_IsDialogMessage( 

hDlg, 

pMsg 
); 

Parameters

hDlg

Handle to the property sheet.

pMsg

Pointer to an MSGstructure that contains the message to be checked.

Return Value

TRUE indicates that the macro has been processed. FALSE indicates the macro has not been processed.

Remarks

Your message loop should use the PSM_ISDIALOGMESSAGE message with modeless property sheets to pass messages to the property sheet dialog box.

If the return value indicates that the PSM_ISDIALOGMESSAGE message was processed, it must not be passed to the TranslateMessageor DispatchMessagefunction.

Requirements

Header prsht.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also