PropSheet_IsDialogMessage

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_ISDIALOGMESSAGE message explicitly.

BOOL PropSheet_IsDialogMessage( 
hDlg, 
pMsg ); 

Parameters

  • hDlg
    Handle to the property sheet.
  • pMsg
    Pointer to an MSG structure that contains the message to be checked.

Return Values

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 TranslateMessage or DispatchMessage function.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Prsht.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

DispatchMessage, PropertySheet, TranslateMessage, PSM_ISDIALOGMESSAGE, MSG

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.