Index

# XContainerEvent

XControlEvent &rarrXContainerEvent

public
- GetObject

#### Derrived

: public XControlEvent
Events in conatiner generate a XContainerEvent, if you want to catch these events you must geerate a XContainerHandler. Possible event-id are: CON_BEGINEDIT the user start to edit a field CON_COLLAPSTREE in tree-view the tree or a part of it is collapsed CON_CONTEXTMENU a context-menu is requested CON_DRAGOVER one or more objects fly over the container CON_DROP one or more objects are dropped CON_EMPHASIS the emphasis of an item has changed CON_ENDEDIT the user stopped to edit a field CON_ENTER ENTER was pressed CON_EXPANDTREE in tree-view the tree or a part of it is expanded CON_INITDRAG a drag-operation is requested CON_PAINTBACKGOUND the background of the container must be redrawn

On drag-events a XContainerDragEvent s posted, you can typecast in XContainerHandler.

## public

###

GetObject

returns the object which posted the event

#### Definition

`

XContainerObject* GetObject ( void )

`

#### Parameters

: -

#### Returns

XContainerObject*

XContainerObject * the Object (can be NULL)

Created by AutoDoc, (C) 1996 by Jens von Pilgrim