int = DialogBox(hInstance, TemplateName , hWndParent , DialogFunc , InitParam )

Creates a modal dialog box.


hInstance : PyHANDLE

Handle to module that contains the dialog template

TemplateName : PyResourceId

Name or resource id of the dialog resource

hWndParent : PyHANDLE

Handle to dialog's parent window

DialogFunc : function

Dialog box procedure to process messages

InitParam=0 : int

Initialization data to be passed to above procedure during WM_INITDIALOG processing