[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

 

StCursor



Overview:

StCursor is a PowerPlant class that temporarily changes the cursor to something else.

Methods :

The methods in this class are:

 

StCursor()  
~StCursor()  

Data Members:

The data members in this class are:

 

mRestoreID  
 

Operation:

Upon entry, specify the ResIDT of the 'CURS' to change to. Upon exit, we either restore the old cursor or default to the arrow.

By default, StCursor will set to the watch cursor, and restore the original cursor.

Source files:

(Utility Classes)

UCursor.h

UCursor.cp

StCursor()

Purpose :

The default constructor initializes the object.

Access:

Public

Prototype:

StCursor(ResIDT		inCursID = watchCursor,

	Boolean		inRestoreOriginal = true); 

StCursor(const StCursor &inOriginal);

StCursor&		operator = (const StCursor &inOriginal);
Parameters:

The cursor resource ID and whether to restore the cursor or not. The assignment operator and copy constructor require a reference to the original cursor object.

~StCursor()

Purpose:

The destructor destroys the object.

Access:

Public, Virtual

Prototype:

virtual ~StCursor();
Parameters:

None

mRestoreID

Purpose:

The resource ID for restoring.

Access:

Protected

Prototype:

ResIDT mRestoreID;

[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: July 21, 2000