Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWnd::GetDlgCtrlID
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int GetDlgCtrlID() const;
 
  Remarks
 
  Returns the the CWnd ID value if CWnd is a child window.
 
  Since top-level windows do not have an ID value, the return value of
  this function is invalid if the CWnd is a top-level window.
 
  Return Value
 
  The numeric identifier of the CWnd child window if the function is
  successful. If the function fails, the return value is NULL.
 
  See Also
 
  ::GetDlgCtrlID
 
 
                                     -♦-