win32gui.DialogBox

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

Creates a modal dialog box.

Parameters

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