[Classes] [Prev] [Next] [Methods]

CTaskWin

Methods Index

Heritage
Description
Usage
Friends
Public Methods
Inherited Methods
Private Methods
Constructor Methods

CTaskWin


Heritage

Superclass: CWindow

Subclasses: None


Description

CTaskWin is a class that interacts with the task window, which is a window that encloses the entire application on some platforms. On most platforms, this is an abstract window; that is, there is no visible window on the screen. The appearance of the task window depends on the platform. For example, on Motif when no other windows are open, the task window looks like a small floating menubar. On the Macintosh, the task window appears as a menubar across the top of the screen. On MS-Windows and Presentation Manager, the task window is an actual window that contains all of the other windows in the application. CTaskWin is one of two XVT-Power++ classes that interact with the task window. The other is CTaskDoc.


Usage

This class is instantiated only by CTaskDoc. The CTaskWin instance may be retrieved through G->GetTaskWin().

Typically XVT-Power++ applications close themselves when commanded by the user. The following code shows how to force
the closing of an application:

if(G->GetApplication()->DoClose())
xvt_app_destroy();

Friends

friend class CTaskDoc;


Public Methods

Inherited Methods

virtual int GetMenuBarId(void) const;
virtual void SizeWindow(int theNewWidth, 
int theNewHeight);
virtual BOOLEAN Close(void);
virtual void Enable(void);
virtual void Disable(void);
virtual void Show(void);
virtual void Hide(void);
virtual void UpdateUnits(CUnits* theUnits);

Private Methods

Constructor Methods

CTaskWin(CDocument *theDocument, WINDOW theXVTWindow);
virtual ~CTaskWin();


[Classes] [Prev] [Next] [Methods]

support@xvt.com


Visit our online help desk for tech support

Copyright © 2009, Providence Software Solutions Inc. All rights reserved.