This document is archived and information here might be outdated. Recommended version. |
Shows the dialog.
[Visual Basic .NET]
Public Function DoModal ( _
ByVal dialogTitle As String, _
ByVal getStringLabel As String, _
ByVal initialValue As String, _
ByVal hWnd As Integer _
) As Boolean
[C#]
public bool DoModal (
string dialogTitle,
string getStringLabel,
string initialValue,
int hWnd
);
dialogTitle is a string that specifies the title of the dialog.
getStringLabel specifies the label for the string.
initialValue specifies the intial value of the string to be displayed in the dialog.
hWnd specifies the window handle of the parent window. In most cases this will be the hWnd of the application.
If the dialog was cancelled, the DoModal method returns False.