ICnrEmphasisEvent

The ICnrEmphasisEvent class retrieves information about a container emphasis event. Objects of this class are created in response to a change-in-emphasis notification from the container. Emphasis is a visible indication of the condition of an object that can affect the ability of a user to interact with that object.


ICnrEmphasisEvent - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


[view class]
~ICnrEmphasisEvent
public:
virtual ~ICnrEmphasisEvent()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
ICnrEmphasisEvent

Although you can construct objects of this class, typically ICnrHandler::dispatchHandlerEvent creates objects of this class from an object of the class IControlEvent in response to a change-in-emphasis notification from the container.


Overload 1
public:
ICnrEmphasisEvent( IControlEvent& event, IContainerObject* object, bool acquiring, IContainerObject::Emphasis emphasis )

Supported Platforms

Windows OS/2 AIX
No No Yes


Overload 2
public:
ICnrEmphasisEvent(const IControlEvent& event)

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Event Information

Use these members to query and set the accessible attributes of this class.


[view class]
changed
public:
bool changed(IContainerObject::Emphasis emphasis) const

If the specified emphasis value has changed, true is returned.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
isAcquired
public:
bool isAcquired() const

Returns true if the ICnrEmphasisEvent is for an object that is acquiring emphasis. Otherwise, it returns false. The ICnrHandler::selectedChanged function uses this function.

Supported Platforms

Windows OS/2 AIX
No No Yes


[view class]
object
public:
IContainerObject* object() const

Returns the object that has changed its emphasis.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ICnrEmphasisEvent - Inherited Member Functions and Data

Inherited Public Functions

ICnrEvent
IControlEvent
IEvent

Inherited Public Data

Inherited Protected Functions

ICnrEvent

Inherited Protected Data