XLL+ Class Library (7.0)

CXlControlIcon::SetIcon

Sets the index of the icon displayed in the control

void SetIcon(
   int nIcon
);

Parameters

nIcon

Index of the icon to be displayed. See GetIcon() for a list of icon values.

Remarks

Sets the index of the icon displayed in the control.

Requirements

Header: xldialog.h

See Also

CXlControlIcon Class | CXlControlIcon Methods