All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

InteractiveInterfaces Interface CATIIcon

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIIcon
 

Usage: you can freely reimplement this interface.


interface CATIIcon

Associate an icon.
Role: Implement this interface to associate an icon to an element.


Method Index


o GetIconName(CATUnicodeString&)
Read the icon name.
o SetIconName(CATUnicodeString&)
Set the icon name.

Methods


o GetIconName
public virtual HRESULT GetIconName(CATUnicodeString& oName)=0
Read the icon name.
Parameters:
oName
The icon name of the element.
Returns:
S_OK if OK, E_FAIL if fail
o SetIconName
public virtual HRESULT SetIconName( const CATUnicodeString& iName)=0
Set the icon name.
Parameters:
iName
The icon name of the element.
Returns:
S_OK if OK, E_FAIL if failed.

This object is included in the file: CATIIcon.h
If needed, your Imakefile.mk should include the module: CATInteractiveInterfaces

Copyright © 2003, Dassault Systèmes. All rights reserved.