Partilhar via


COleControlContainer::SetDlgItemInt

Sets the text of a control in a dialog box to the string representation of a specified integer value.

virtual void SetDlgItemInt(
   int nID,
   UINT nValue,
   BOOL bSigned 
);

Parameters

  • nID
    The identifier of the control.

  • nValue
    The integer value to be displayed.

  • bSigned
    Specifies whether the nValue parameter is signed or unsigned. If this parameter is TRUE, nValue is signed. If this parameter is TRUE and nValue is less than zero, a minus sign is placed before the first digit in the string. If this parameter is FALSE, nValue is unsigned.

Requirements

Header: afxocc.h

See Also

Reference

COleControlContainer Class

Hierarchy Chart

Other Resources

COleControlContainer Members