TreeViewEvents Interface Reference

This interface defines the set of events that can be raised by an TreeView object. More...

Inheritance diagram for TreeViewEvents:

Inheritance graph
Collaboration diagram for TreeViewEvents:

Collaboration graph
List of all members.

Public Member Functions

 OnEdited ([in] IDispatch *Sender,[in] IDispatch *Item,[in] Result *NewText)
 This event occurs when an item's text edited.
 OnExpanding ([in] IDispatch *Sender,[in] IDispatch *Item)
 This event occurs when an item is expanding.
 OnExpanded ([in] IDispatch *Sender,[in] IDispatch *Item)
 This event occurs when an item expanded.
 OnCollapsing ([in] IDispatch *Sender,[in] IDispatch *Item)
 This event occurs when an item is collapsing.
 OnCollapsed ([in] IDispatch *Sender,[in] IDispatch *Item)
 This event occurs when an item collapsed.
 OnItemCheck ([in] IDispatch *Sender,[in] IDispatch *Item)
 This event occurs when an item's checked state changes.
 OnBeginEdit ([in] IDispatch *Sender,[in] IDispatch *Item,[in] Result *ResultPtr)
 This event occurs when an item's text editing started.
 OnDrawItem ([in] IDispatch *Sender,[in] IDispatch *Item)
 This event occurs when drawing of an item is started.

Detailed Description

This interface defines the set of events that can be raised by an TreeView object.


Member Function Documentation

OnBeginEdit ( [in] IDispatch *  Sender,
[in] IDispatch *  Item,
[in] Result ResultPtr 
)

This event occurs when an item's text editing started.

Set ResultPtr value to "FALSE" to disable editing.

Parameters:
Sender The object that raised the event.
Item The TreeItem object.
Return values:
ResultPtr The Result object that can be used to return an value from the event handler.
Since:
1.1.10.

OnCollapsed ( [in] IDispatch *  Sender,
[in] IDispatch *  Item 
)

This event occurs when an item collapsed.

Parameters:
Sender The object that raised the event.
Item The TreeItem object.

OnCollapsing ( [in] IDispatch *  Sender,
[in] IDispatch *  Item 
)

This event occurs when an item is collapsing.

Parameters:
Sender The object that raised the event.
Item The TreeItem object.

OnDrawItem ( [in] IDispatch *  Sender,
[in] IDispatch *  Item 
)

This event occurs when drawing of an item is started.

Parameters:
Sender The object that raised the event.
Item TreeItem object represents the item. With this object font and colors of the item can be specified.
See also:
DrawItem.

CustomDraw.

Since:
1.1.12.

OnEdited ( [in] IDispatch *  Sender,
[in] IDispatch *  Item,
[in] Result NewText 
)

This event occurs when an item's text edited.

Parameters:
Sender The object that raised the event.
Item The TreeItem object.
Return values:
NewText The new text of the TreeItem object. This can be changed.

OnExpanded ( [in] IDispatch *  Sender,
[in] IDispatch *  Item 
)

This event occurs when an item expanded.

Parameters:
Sender The object that raised the event.
Item The TreeItem object.

OnExpanding ( [in] IDispatch *  Sender,
[in] IDispatch *  Item 
)

This event occurs when an item is expanding.

Parameters:
Sender The object that raised the event.
Item The TreeItem object.

OnItemCheck ( [in] IDispatch *  Sender,
[in] IDispatch *  Item 
)

This event occurs when an item's checked state changes.

Parameters:
Sender The object that raised the event.
Item The TreeItem object.
Since:
1.1.10.


WSO 1.1 Documentation. Date modified:Wed Aug 12 18:13:21 2015. (C) Veretennikov A. B. 2004-2015