| Methods Index |
CNativeViewSubclasses: None
NIcon objects are icon controls that have the look-and-feel of the native window manager's icon controls.
NIcon with an enclosing CView. This class does not use the commands set by SetCommand or SetDoubleCommand.
NIcon(CSubview* theEnclosure, const CRect& theRegion,
long theIconId, long theAttributes = 0L);
theEnclosure is a pointer to the subview that will contain the icon control. theRegion is a coordinate location, local to the enclosure, that is used to place the icon control. theIconId is the tag ID of the icon. theAttributes takes a value from a set of XVT Portability Toolkit-provided attributes that you can give to native views. You can OR together the appropriate control flag constants into an attribute value. For a listing of the possible control flags for theAttributes, refer to the table in the description of CNativeView's protected constructor.
NIcon(CSubview* theEnclosure, long theContainerId, long theId);
theContainerId is the ID of the container of the icon. theId is the resource ID of the icon itself.
NIcon(const NIcon& theIcon);
NIcon& operator=(const NIcon& theIcon);
virtual ~NIcon();
virtual void DoHit(CONTROL_INFO theControlInfo);
NIcon object never receives events. This method is reserved for future use.
virtual void Activate(void);
CNativeView::Activate to disable icon activation.