
This method will return the Hwnd value of the dialog box. This may be required by an ActiveX control.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_Form_GetHwnd MyDialogReference [as Reference]) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_Form_GetHwnd ProjectFile [as String] DialogName [as String]) |
ConfigTab, Dockable, Modal, Modeless.
Copy Code |
|---|
; Get the window handle (HWND) (Setq rValue (Odcl_Form_GetHwnd MyProject_MyForm)) |
Form_GetControlArea, Form_GetRectangle, Form_GetTitleBarText