Navigating the Managed Exchange TreeView Control Sample Application Source Code

Navigating the Managed Exchange TreeView Control Sample Application Source Code

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The subprocedures related to using the managed Exchange TreeView control are listed by source file in the following table. For more information about the managed TreeView control application programming interface (API), see Managed ExchangeTreeView Control Reference.

Managed Exchange TreeView Control Sample Application (Form1.vb)

Function Description
OnSelectionEvent(ByVal o As Object, ByVal e As EventArgs) Handles the TreeView control Selection event.
OnControlErrorEvent(ByVal o As Object, ByVal e As EventArgs) Handles the TreeView control ControlError event.
OnControlGeneratedErrorEvent(ByVal o As Object, ByVal e As EventArgs) Handles the TreeView control ControlGeneratedError event.
ButtonAddRoot_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Adds a root node to the TreeView control.
ButtonRemoveRoot_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Removes a root node from the TreeView control.
ButtonRemoveAllRoots_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Removes all root nodes from the TreeView control.
CheckBoxDragDrop_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Sets the SetAllowDrag property to True if the check box is selected, sets it to False if it is not selected.
CheckBoxErrorsReturned_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Sets the SetReturnErrorOnly property to True if the check box is selected, sets it to False if it is not selected.
CheckBoxContextMenu_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Sets the SetAllowContextMenu property to True if the check box is selected, sets it to False if it is not selected.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.