IMenuItemExtension Class Reference
 
 
 
IMenuItemExtension Class Reference

This reference page is linked to from the following overview topics: New Classes and Methods.


#include <imenus.h>

Inheritance diagram for IMenuItemExtension:
IMenuItem FPMixinInterface IMenuElement FPInterface MaxHeapOperators BaseInterface InterfaceServer MaxHeapOperators

Class Description

Extends the IMenuItem interface.

This abstract class extends the IMenuItem interface. You can set a MaxIcon for a menu item, but this extension allows you to just specify the path to an image file, and let the menu item client deal with the generation of the icon

See also:
Class IMenuItem

Public Member Functions

virtual void  SetIconPath (const MSTR &iconPath)=0
  The path specified is relative to the icons for the current scheme, i.e.
virtual const MSTR GetIconPath () const =0
  This returns the file path for the icon used by the menu item.

Member Function Documentation

virtual void SetIconPath ( const MSTR iconPath ) [pure virtual]

The path specified is relative to the icons for the current scheme, i.e.

relative to [executable]\[Light|Dark]\

virtual const MSTR& GetIconPath ( ) const [pure virtual]

This returns the file path for the icon used by the menu item.