ICnrEnterEvent

The ICnrEnterEvent class retrieves information about a container enter event. Objects of this class are dispatched when an enter event occurs in the container. This can be as a result of the following:


ICnrEnterEvent - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
ICnrEnterEvent
public:
ICnrEnterEvent(const IControlEvent& event)

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 the user pressing the Enter key or double-clicking the mouse select button.

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]
enterPressed
public:
bool enterPressed() const

If the event is the result of pressing the Enter key, true is returned. Otherwise, the event occurred because the mouse select button was double-clicked.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


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

Returns the object over which the enter occurred. If the enter did not occur on an object, 0 is returned.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


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

If the event occurred over an object, true is returned.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ICnrEnterEvent - Inherited Member Functions and Data

Inherited Public Functions

ICnrEvent
IControlEvent
IEvent

Inherited Public Data

Inherited Protected Functions

ICnrEvent

Inherited Protected Data