This method retrieves 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 method is invalid if the CWnd is a top-level window.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
int GetDlgCtrlID( ) const;