All Frameworks  Class Hierarchy  This Framework  Indexes

ApplicationFrame Macro CATDeclareHeaderSpecialResources

Macro CATDeclareHeaderSpecialResources ()
Defines a method to get the header's resource file, in a special way.
Role: When the role of the header is defined in its constructor, insert this macro in its header file (.h) and use it in conjunction with CATImplementHeaderSpecialResources in the .cpp file.

The difference with CATDeclareHeaderResources is that the resources files for different instances of this header, have a different name.
Thus, if the role of the header is defined in its constructor, one needs to define specialized resources attached to every instance of this header. This is all the more true, when the different instanciations are made from different frameworks.

Important points:

Refer to CATImplementHeaderSpecialResources for more details, and an implementation example.
This object is included in the file: CATCommandHeader.h
If needed, your Imakefile.mk should include the module: CATApplicationFrame

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