DRCtrlGetHWND

From EDM2
Jump to: navigation, search

Get the window handle of a dialog. This handle is used internally by PM.

Syntax

rc=DRCtrlGetHWND( hwnd, ID)

Parameters

hwnd
ID

Return Code

Returns:

0:	failure
other:	the window handle (HWND)

Remarks

Note:If hwnd==0 it's assumed the dialog is a child of the desktop. This is the case for dialogs initially created by DrDialog.