![](../../Home/Icons/Home.gif)
![](../icons/UpCNM.gif)
![](../icons/CNMContext.gif)
![](../../Home/Icons/Search.gif)
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.
- TVisibilityChangeNotification ()
- TVisibilityChangeNotification (const TVisibilityChangeNotification & other)
- TVisibilityChangeNotification (TInterest & theChange, bool isVisible)
Interface Category:
API.
Purpose:
- Default constructor.
- Copy constructor.
- General use constructor.
Calling Context:
- Called by the stream-in operators.
- Called to copy an object.
- Called by the Window Server before sending notification.
Parameters:
- Takes no parameters.
- const TVisibilityChangeNotification & other -The other notification to copy from.
- TInterest & theChange -An interest representing this notification and the window or layer whose visibility changed.
- bool isVisible -New visibility state.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
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.
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.
virtual TStream & operator >>=(TStream &) const
Interface Category:
API.
Purpose:
Stream-out operator.
Calling Context:
Called to stream out data.
Parameters:
- TStream & -The stream to which the object is written.
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.
virtual TStream & operator <<= (TStream &)
Interface Category:
API.
Purpose:
Stream-in operator.
Calling Context:
Called to stream in data.
Parameters:
- TStream & -The stream from which the object is read.
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.
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.