int SetDlgCtrlID( int nID );
Return Value
The previous identifier of the window, if successful; otherwise 0.
Parameters
nID
The new value to set for the control’s identifier.
Remarks
Sets the window ID or control ID for the window to a new value. The window can be any child window, not only a control in a dialog box. The window cannot be a top-level window.
CWnd Overview | Class Members | Hierarchy Chart
See Also CWnd::GetDlgCtrlID, CWnd::Create, CWnd::CreateEx, CWnd::GetDlgItem