Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the window or control ID value for any child window, not only that of a control in a dialog box.
int GetDlgCtrlID( ) const;
Return Value
The numeric identifier of the CWnd child window if the function is successful; otherwise 0.
Remarks
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.
Example
See the example for CWnd::OnCtlColor.
Requirements
Header: afxwin.h