The m_Dlg member variable contains a handle to the dialog window. This member variable is initialized when the dialog window processes the WM_INITDIALOG message.
Syntax
HWND m_Dlg;
See Also