Graphisoft®

Dialog ManagerVersion: 2.0

PopUp::SetItemIcon

Sets the icon of a popup item.

void SetItemIcon (
    short               popupItem,
    const DG::Icon &    icon
);

Parameters

popupItem
1-based index of the popup item to be modified, TopItem or BottomItem of Item type specifies the first or last item of the popup control. Use AllItems of Item type to change the icon of all items.
icon
A reference to the new icon object.