Class: TVisibilityChangeNotification

Declaration: WindowNotification.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TNotification

Inherited By:

None.

Purpose:

TVisibilityChangeNotification is used to notify interested clients of a change of visibility of a window or layer.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TVisibilityChangeNotification::TVisibilityChangeNotification

  1. TVisibilityChangeNotification ()
  2. TVisibilityChangeNotification (const TVisibilityChangeNotification & other)
  3. TVisibilityChangeNotification (TInterest & theChange, bool isVisible)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.
  3. General use constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Called to copy an object.
  3. Called by the Window Server before sending notification.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TVisibilityChangeNotification::~TVisibilityChangeNotification

virtual ~ TVisibilityChangeNotification ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TVisibilityChangeNotification::operator=

TVisibilityChangeNotification & operator =(const TVisibilityChangeNotification & other)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A non-const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TVisibilityChangeNotification::operator>>=

virtual TStream & operator >>=(TStream &) const

Interface Category:

API.

Purpose:

Stream-out operator.

Calling Context:

Called to stream out data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself out to.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TVisibilityChangeNotification::operator<<=

virtual TStream & operator <<= (TStream &)

Interface Category:

API.

Purpose:

Stream-in operator.

Calling Context:

Called to stream in data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself in from.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TVisibilityChangeNotification::IsVisible

bool IsVisible ()

Interface Category:

API.

Purpose:

Checks the visibility flag to determine the new visibility state.

Calling Context:

Called by notification client to determine the new visibility state.

Parameters:

Return Value:

Returns true if window or layer is now visible; otherwise, returns false.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.