PropSheet_IsDialogMessage  1JPW8V3 

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

BOOL PropSheet_IsDialogMessage(

    hDlg,

 

    pMsg

 

   );

 

 

Parameters

hDlg

Handle to the property sheet.

pMsg

Pointer to a MSG5CTEF1 structure that contains the message to be checked.

 

Return Values

If the macro has been processed, the return value is TRUE.

If the macro has not been processed, the return value is FALSE.

Remarks

Your message loop should use the PSM_ISDIALOGMESSAGEmessage 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 TranslateMessage or DispatchMessage function.

See Also

DispatchMessage, MSG, PropertySheet, PSM_ISDIALOGMESSAGE, TranslateMessage