Freigeben über


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

Concepts

CWindow Class

CWindow Members

CWindow::GetDlgCtrlID