Share via


CWindow::SetDlgCtrlID

Sets the identifier of the window to the specified value.

int SetDlgCtrlID( 
   int nID  
) throw();

Parameters

  • nID
    [in] The new value to set for the window's identifier.

Return Value

If successful, the previous identifier of the window; otherwise 0.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::GetDlgCtrlID

Other Resources

CWindow Members