<%
'*****************************************************************************
' Copyright (C) 2001 Microsoft Corporation. All rights reserved.
'
' File:  NRCONFIG/CNCASPPageManager_FileSystemFolderBrowser.inc
' Author: Microsoft Corporation
'
' Purpose:
'   	Provide init manager to create instance of tree view control and file system browser.
'
'Public Methods and Properties Exposed:
'	- Sub InitManager()
'
'*****************************************************************************

'--Define constants

'Define a class to create CInitManager class
Class CNCASPPageManager_FileSystemFolderBrowser
	
	Public pTree
	
	'---- [Private] Standard Class_Initialize
	Private Sub Class_Initialize()
		' -- init all member with default values
		Set	pTree = Nothing	
	
	End Sub
	
	'*************************************************
	'Purpose: Response for all init asp page process for License tab and Dlg
	'         
	'Input:	  None
	'
	'Output:  Get values from API and set up properties 
   	'************************************************* 
    
	Public Sub InitManager()
		Dim pNCTreeDom, pNCTreeRenderer
		Set pTree = New CNCTreeControl

		'--Create an instance of file system class
		Set pNCTreeDom = New CNCTreeDom_FSO
		Set pNCTreeRenderer = New CNCTreeRenderer_FSO

		'--Init Tree Control
		Dim bFreshTree
		bFreshTree = False
		pTree.TreeControlPath = "/NRConfig/Shared/ServerControls/TreeControl/"
		If Request.QueryString("FreshTree") = "True" Then
			bFreshTree = True
		End If
		Call pTree.InitTreeControl( "FSO", pNCTreeDom, pNCTreeRenderer, bFreshTree )
		Call pTree.PropagateParameter( "ObjType", "FSO" )
		Call pTree.PropagateParameter( "FreshTree", "" )

		'Set Tree Control properties
		pTree.DisplayLeafs = false
		pTree.IndentWidth = 13
		pTree.NodeSpacing = 1
		pTree.NodePadding = 1
   	End Sub
   
End Class
%>