Share via


PH_DIALOG_SCREEN_PARAMETERS (Windows Embedded CE 6.0)

1/6/2010

Structure used in conjunction with PHDialogScreen function.

Syntax

typedef struct _PH_DIALOG_SCREEN_PARAMETERS
{
    DWORD StructSize;               
    DWORD Flags;                    
    HWND Owner;                     
    UINT Id;                        
    HINSTANCE Instance;             
    const WCHAR* pStatusHeader;     
    const WCHAR* pTitle;            
    UINT MenuId;
    DIALOG_HOOK_PROC pDialogHook;   
    void* pUserData;                
    union  {
        UINT SelectedId;            
        HWND Dialog;                
    } result;
} PH_DIALOG_SCREEN_PARAMETERS;

Members

  • StructSize
    [in] Struct size in bytes.
  • Flags
    [in] VDF_xxx flags chosen.
  • Owner
    [in] Owner of the dialog screen.
  • Id
    [in] Identifier of the dialog window.
  • Instance
    [in] Optional. Handle to an Instance containing customer resources.
  • pStatusHeader
    [in] Status header.
  • pTitle
    [in] Title of dialog screen..
  • MenuId
    [in] ID of the menu for the dialog.
  • pDialogHook
    [in] Optional dialog hook procedure. Required for modal dialogs to handle WM_INITDIALOG.
  • pUserData
    [in] User data to be passed back into dialog hook procedure.
  • SelectedId
    [out] ID of button selected by user. (Only in modal dialogs.)
  • Dialog
    [out] Handle to window of dialog box. It is returned only for modeless screens.

Remarks

Note

This documentation applies to functionality implemented in sample code for PhCommon. For more information, see PhCommon Reference.

If the result dialog is non-modal, the caller is responsible for terminating the dialog with a call to CloseWindow().

Requirements

Header controldefinitions.h
Library PhCommon.dll
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

PhCommon Structures
PhCommon Reference
PhCommon Dialog Flags
DIALOG_HOOK_PROC