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.
int GetDlgCtrlID( ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories