Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the window ID or control ID for the window to a new value.
int SetDlgCtrlID(
int nID
);
Parameters
- nID
The new value to set for the control's identifier.
Return Value
The previous identifier of the window, if successful; otherwise 0.
Remarks
The window can be any child window, not only a control in a dialog box. The window cannot be a top-level window.
Requirements
Header: afxwin.h