Share via


COleControlSite::SetDlgCtrlID

Changes the value of the control's dialog item identifier.

virtual int SetDlgCtrlID( 
   int nID  
);

Parameters

  • nID
    The new identifier value.

Return Value

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

Requirements

Header: afxocc.h

See Also

Reference

COleControlSite Class

Hierarchy Chart

Other Resources

COleControlSite Members