CWnd::GetDlgCtrlID

Call this member function to retrieve the window or control identifier value for any child window. The child window does not have to be a control in a dialog box. Since top-level windows do not have an identifier value, the return value of this function is invalid if the CWnd is a top-level window.

Syntax

int GetDlgCtrlID( ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories