All Frameworks Class Hierarchy This Framework Previous Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---System.CATEventSubscriber | +---System.CATCommand | +---System.CATApplication | +---CATInteractiveApplication
Usage: you can derive this class.
public class CATInteractiveApplication
base class for all interactive applications.
Role: Base class for an interactive application,
whether it displays only a single dialog window, a classical Single
Document Interface (SDI) application, or a Multiple Document
Interface (MDI) application such as CATIA Version 5.
To create your interactive application, you should:
public CATInteractiveApplication( | CATCommand* | iParent, |
const CATString& | iApplicationName) |
public virtual void BuildApplicationEnvironment( | int | iArgc, |
char** | iArgv, | |
char** | iEnvVariableList) |
Called with UNIX only.
public void Destroy( | ) |
This method calls the EndApplication method (that the application must overload) which transmit to this software your return code.
public virtual int EndApplication( | ) |
public CATListOfCATUnicodeString& GetArgs( | ) |
public void GetArgs( | int* | oArgCount, |
char*** | oArgList) |
public int GetUIClass( | ) |
public void SetAutomaticContextualHelp( | ) |
This service will be called only once during execution. Then, when this service has been called, activating "What's This" command becomes available to the end-user. To activate the "What's This" command, the end-user will have to select the possible dedicated icon or, on Windowsonly, the panel question mark selection, or, on WIndows and UNIX, the panel help button selection.
We remind you what the "What's This" command is. It turns the cursor to a question mark, and then, when the end-user clicks a control, displays the control associated "Long Help" in a balloon. The clicks, after displaying the balloon, ends the current "What's This" command. Entering the "What's This" command will be done, at the Dialog framework level, through calling the QueryHelpOnContext method on any CATDlgWindow .
public void SetBusyCursor( | ) |
public void SetSplashScreen( | CATString& | iFileName) |
public void UpdateDisplay( | ) |
Copyright © 2003, Dassault Systèmes. All rights reserved.