175:
I've came to the situation that while I am using single-selection, I need to be able to select nothing, so no file/folder to be selected. It is possible

METHOD OCX_Exontrol1StateChange(State) CLASS MainDialog
	// StateChange event - Fired while the control's state has been changed.
	OutputDebugString(String2Psz( "Click and press CTRL to unselect the file/folder." ))
RETURN NIL


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:SingleSel := true
oDCOCX_Exontrol1:AllowSelectNothing := true
oDCOCX_Exontrol1:ExploreFromHere := ""
oDCOCX_Exontrol1:EndUpdate()

174:
Is it possible to change the color of the selection as soon as the control is losing its focus


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:SingleSel := true
oDCOCX_Exontrol1:ExploreFromHere := ""
oDCOCX_Exontrol1:[Background,exSelBackColorHide] := RGB(196,196,196)
oDCOCX_Exontrol1:[Background,exSelForeColorHide] := RGB(0,0,1)
oDCOCX_Exontrol1:EndUpdate()

173:
Is it possible to hide the control's selecting when the control loses the focus

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:SingleSel := true
oDCOCX_Exontrol1:ExploreFromHere := ""
oDCOCX_Exontrol1:HideSelection := true
oDCOCX_Exontrol1:EndUpdate()

172:
Can I display the folder name only, without other information like size, type, modified...


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:SelectOnRelease := true
oDCOCX_Exontrol1:IncludeParentLabel := "<b><%0%></b>, <fgcolor=808080>...A* folders only"
oDCOCX_Exontrol1:IncludeFolderFilter := "A*"
oDCOCX_Exontrol1:ExploreFromHere := "C:\Windows\"
oDCOCX_Exontrol1:BrowseFolderPath := "C:\Windows\System32"
oDCOCX_Exontrol1:DisplayFoldersInfo := false
oDCOCX_Exontrol1:FullRowSelect := true
oDCOCX_Exontrol1:EndUpdate()

171:
Recently, I have noticed a small arrow in the right side of each folder, so the question is how can I get ride of that


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:SelectOnRelease := true
oDCOCX_Exontrol1:SingleSel := false
oDCOCX_Exontrol1:ExploreFromHere := ""
oDCOCX_Exontrol1:IncludeSubFolderIconKey := 0
oDCOCX_Exontrol1:EndUpdate()

170:
Can I select files/folders when user releases the mouse, rather than clicking it

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:SelectOnRelease := true
oDCOCX_Exontrol1:SingleSel := false
oDCOCX_Exontrol1:ExploreFromHere := ""
oDCOCX_Exontrol1:EndUpdate()

169:
I am using the IncludeParent property. Is there any option so I can display the parent label all the time, no matter if the control is vertically scrolled


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:IncludeFolders := true
oDCOCX_Exontrol1:ExpandFolders := true
oDCOCX_Exontrol1:IncludeParent := exIncludeLockedParent
oDCOCX_Exontrol1:EndUpdate()

168:
How can I freeze the events, so no event is fired
METHOD OCX_Exontrol1StateChange(State) CLASS MainDialog
	// StateChange event - Fired while the control's state has been changed.
	OutputDebugString(String2Psz( "This will ne never fired, until FreezeEvents(False) is called." ))
RETURN NIL


oDCOCX_Exontrol1:FreezeEvents(true)
oDCOCX_Exontrol1:SelectOnRelease := true

167:
The focusing item does not get marked when selected

local var_Appearance as IAppearance

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:SingleSel := false
var_Appearance := oDCOCX_Exontrol1:VisualAppearance
	var_Appearance:Add(1,"gBFLBCJwBAEHhEJAAEhABHoDg6AADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBIZQ7BKNIxjSJwFiCCQwSDKEjyCKcGRHF6MI6gOYpCgOIYjRJNIASVAceAAGaUZrjSgobjmOYhAJCLqhYIgASXJqLaBlOCaAieSc+QhjQJIJoeCZXU5TFg1BTsOhqEqcRiseaRVDCaIJWzbdYWLDdNQHHKYLjnWorbpSJZ5XjNEySDQkMS9PrEJ7vST8FBCdAABLJUB2BR9RwxRafKpnWwJDpmCaOQLXEB5DK1PyVMTKYrtGy7GrIAJxWxbV4UHh+QABOzIMAvHKJMwvHYcUZne5XVLeF41H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:SelForeColor := RGB(0,0,0)
oDCOCX_Exontrol1:ShowFocusRect := true
oDCOCX_Exontrol1:[Background,exShowFocusRect] := RGB(1,0,0)
oDCOCX_Exontrol1:EndUpdate()

166:
Can I change the visual appearance of the focused item

local var_Appearance as IAppearance

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:SingleSel := false
var_Appearance := oDCOCX_Exontrol1:VisualAppearance
	var_Appearance:Add(1,"gBFLBCJwBAEHhEJAAEhABHoDg6AADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBIZQ7BKNIxjSJwFiCCQwSDKEjyCKcGRHF6MI6gOYpCgOIYjRJNIASVAceAAGaUZrjSgobjmOYhAJCLqhYIgASXJqLaBlOCaAieSc+QhjQJIJoeCZXU5TFg1BTsOhqEqcRiseaRVDCaIJWzbdYWLDdNQHHKYLjnWorbpSJZ5XjNEySDQkMS9PrEJ7vST8FBCdAABLJUB2BR9RwxRafKpnWwJDpmCaOQLXEB5DK1PyVMTKYrtGy7GrIAJxWxbV4UHh+QABOzIMAvHKJMwvHYcUZne5XVLeF41HbONogPaJZyIAK2cLROq6Xo7GEcJZEcLASB4DwvgWUZlE6AQQhKAYkkYdA6hyDIwHgSoqFwQgmnsYxjGgSIiBOTpSEiAwRgOJI7j4JAHA6U5wm0MpPlOBIjD8TZiGYCICiCGAuA6AxhAgMgSgOYQ4DYBg/g6cw1n+ABOmMMJ9DmCwjnScw4RsVJngkYh4hoKIKmKKI2CmC5ikiQgqgiT5jhyMw8g4QwIn0OIKEiCJhD8DwTGyfA7k0WQOEWEQkGkJhIhKZB5DYSoTiSCQEn4PQOCOXJcCeIJjliaIQk0aRyF4O5llmAhfhgZhJg4ZoYiaAxYn4PZOhOZJaCUZYTiYQw1mcOZUm+HQnHmWh4h6Z4pnYeYfk0eYsmqG4nAgNJ2DqD5DkCWoiGiOgqgyI5omoRoNiSaQKFKEojCaM4ugSFhOjkAJcieKgDkaH4oioGoOiaKRqgqEoqD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QhCgQJZrHKUggGEShkFGNgIlsNpPnMHJHD+TADAIJIJiIWIeCqChikiIgmgiD5zHyXxgiACJKCuC4jHiZgtg6I4IlkCQwkwOIonMPJjEkFhGhGZBpA4KoMBCGJuEiE5lAkGg7hMY4JEYVoUCUNAOE6FZl0KWQACWOR2GKF5mBmChchkJRZhoXYaCKKYqGuDglEmNhuhWZpIiYc4dCcCRqGmHZlgm2YxAwSQKESHwkFkKgpiAIAIH4PIimOOg2DiChoiQJRRD+TZDHCfwyAyCgyg+JpiioYJ/DgDgIlECQ6lwRAEICA=")
	var_Appearance:Add(3,"CP:2 -1 0 1 0")
oDCOCX_Exontrol1:SelBackColor := 0x1000000
oDCOCX_Exontrol1:SelForeColor := RGB(0,0,0)
oDCOCX_Exontrol1:[Background,exShowFocusRect] := 0x3000000
oDCOCX_Exontrol1:EndUpdate()

165:
How do I check if an object is a file or folder

METHOD OCX_Exontrol1StateChange(State) CLASS MainDialog
	// StateChange event - Fired while the control's state has been changed.
	local var_Object as USUAL
	var_Object := oDCOCX_Exontrol1:[Get,CheckItems]:[Item,0]
RETURN NIL


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:HasCheckBox := CheckBox
oDCOCX_Exontrol1:EndUpdate()

164:
How do I get the selected item
METHOD OCX_Exontrol1StateChange(State) CLASS MainDialog
	// StateChange event - Fired while the control's state has been changed.
	OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:[Get,SelItems]:[Item,0]) ))
RETURN NIL


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:ExploreFromHere := "::{00021400-0000-0000-C000-000000000046}"
oDCOCX_Exontrol1:ExpandFolders := true
oDCOCX_Exontrol1:IncludeFiles := false
oDCOCX_Exontrol1:[ColumnVisible,"Size"] := false
oDCOCX_Exontrol1:[ColumnVisible,"Type"] := false
oDCOCX_Exontrol1:[ColumnVisible,"Modified"] := false
oDCOCX_Exontrol1:HeaderVisible := false
oDCOCX_Exontrol1:ExpandOnDblClk := true
oDCOCX_Exontrol1:AllowRename := true
oDCOCX_Exontrol1:EndUpdate()

163:
How can I browse the "Recycle Bin" folder

oDCOCX_Exontrol1:ExploreFromHere := "::{645FF040-5081-101B-9F08-00AA002F954E}"

162:
How can I browse the "Documents" folder

oDCOCX_Exontrol1:ExploreFromHere := "::{450D8FBA-AD25-11D0-98A8-0800361B1103}"

161:
How can I browse the "Control Panel" folder

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:ExploreFromHere := "::{21EC2020-3AEA-1069-A2DD-08002b30309d}"
oDCOCX_Exontrol1:[ColumnVisible,"Size"] := false
oDCOCX_Exontrol1:[ColumnVisible,"Type"] := false
oDCOCX_Exontrol1:[ColumnVisible,"Modified"] := false
oDCOCX_Exontrol1:EndUpdate()

160:
How can I simulate the tree part of Windows Explorer


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:ExploreFromHere := "::{00021400-0000-0000-C000-000000000046}"
oDCOCX_Exontrol1:ExpandFolders := true
oDCOCX_Exontrol1:IncludeFiles := false
oDCOCX_Exontrol1:[ColumnVisible,"Size"] := false
oDCOCX_Exontrol1:[ColumnVisible,"Type"] := false
oDCOCX_Exontrol1:[ColumnVisible,"Modified"] := false
oDCOCX_Exontrol1:HeaderVisible := false
oDCOCX_Exontrol1:ExpandOnDblClk := true
oDCOCX_Exontrol1:EndUpdate()

159:
How can I browse the Network folder

oDCOCX_Exontrol1:ExploreFromHere := "::{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"

158:
How can I browse the My Computer


oDCOCX_Exontrol1:ExploreFromHere := "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"

157:
How can I browse the My Network Places folder


oDCOCX_Exontrol1:ExploreFromHere := "::{208D2C60-3AEA-1069-A2D7-08002B30309D}"

156:
How can I browse the Desktop folder


oDCOCX_Exontrol1:ExploreFromHere := "::{00021400-0000-0000-C000-000000000046}"

155:
Does your control supports scrolling by touching the screen


oDCOCX_Exontrol1:AutoDrag := exAutoDragScrollOnShortTouch | exAutoDragScroll

154:
Do you have any Fit-To-Page options when printing the control

local var_Print as IExPrint
local var_FileType as IFileType

oDCOCX_Exontrol1:BeginUpdate()
var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := true
	var_FileType:StrikeOut := true
	var_FileType:Apply()
oDCOCX_Exontrol1:EndUpdate()
// Generate Source for 'ExPrint 1.0 Control Library(ExPrint.dll)' server from Tools\Automation Server...
var_Print := IExPrint{"Exontrol.Print"}
	var_Print:Options := "FitToPage = On"
	var_Print:PrintExt := oDCOCX_Exontrol1
	var_Print:Preview()

153:
Is it possible to expand all folder


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:ExploreFromHere := "C:\Program Files\Microsoft.NET"
oDCOCX_Exontrol1:ExpandFolders := true
oDCOCX_Exontrol1:Expand("*")
oDCOCX_Exontrol1:EndUpdate()

152:
How can I provide my own context menu

METHOD OCX_Exontrol1StateChange(State) CLASS MainDialog
	// StateChange event - Fired while the control's state has been changed.
	OutputDebugString(String2Psz( "State " ))
	OutputDebugString(String2Psz( AsString(State) ))
	OutputDebugString(String2Psz( "ContextMenu" ))
	OutputDebugString(String2Psz( oDCOCX_Exontrol1:ShowContextMenu ))
	oDCOCX_Exontrol1:ShowContextMenu := "Item 1[id=1][def],Item 2[id=2],[sep][id=3],Popup[id=4](Item 3[id=5],Item 4[id=6])"
	OutputDebugString(String2Psz( "ExecuteContextMenu" ))
	OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:ExecuteContextMenu) ))
RETURN NIL



151:
Is it possible to prevent executing a specific command from the object's context menu

METHOD OCX_Exontrol1StateChange(State) CLASS MainDialog
	// StateChange event - Fired while the control's state has been changed.
	OutputDebugString(String2Psz( "State " ))
	OutputDebugString(String2Psz( AsString(State) ))
	OutputDebugString(String2Psz( "ContextMenu" ))
	OutputDebugString(String2Psz( oDCOCX_Exontrol1:ShowContextMenu ))
	OutputDebugString(String2Psz( "ExecuteContextMenu" ))
	OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:ExecuteContextMenu) ))
	oDCOCX_Exontrol1:ExecuteContextMenu := 0
RETURN NIL



150:
How can I disable the Delete command from the object's context menu

METHOD OCX_Exontrol1StateChange(State) CLASS MainDialog
	// StateChange event - Fired while the control's state has been changed.
	OutputDebugString(String2Psz( "State " ))
	OutputDebugString(String2Psz( AsString(State) ))
	OutputDebugString(String2Psz( "ContextMenu" ))
	OutputDebugString(String2Psz( oDCOCX_Exontrol1:ShowContextMenu ))
	oDCOCX_Exontrol1:ShowContextMenu := "Cu&t[id=24][dis],&Copy[id=25],[sep][id=-2],Create &shortcut[id=16],&Delete[id=17][dis]"
RETURN NIL



149:
How can I change the label to be displayed in the parent folder


oDCOCX_Exontrol1:IncludeParent := true
oDCOCX_Exontrol1:IncludeParentLabel := "<b><%0%>"
oDCOCX_Exontrol1:ExploreFromHere := "C:\"
oDCOCX_Exontrol1:BrowseFolderPath := "C:\Temp"

148:
How can I change the +/- button's images (method 2)

local var_Appearance as IAppearance

oDCOCX_Exontrol1:BeginUpdate()
var_Appearance := oDCOCX_Exontrol1:VisualAppearance
	var_Appearance:Add(1,"gBFLBCJwBAEHhEJAEGg4BCwCg6AADACAxRDAMgBQKAAzQFAYahmG6GAAGEZhYgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKKwEgmEQMQiCcbzXIUBxAAqXZZFUaKAg2Qg4TLBAzUTCQbR7HieQghGoqPpWF4gAhCJQGSYZaDqOQyRhkCC4DIITZkRbTUBiRSdWx8AAMIyiGpoJbudjyXg6V5OTblez9P7AMBvS6nKrhcp2PrhTSYWr+Gp5R7IMhyLI8Uw/DS/Yq1GDYIiuOoIQhCUD0LQ9EyXJqnaJnaC5aiuCT7VRjWDYFgFdTpQC8bZuGz7Trmd59XTadhYHSsAyNRDCL6tayLDxSZabZ5aOa6HoHEuJIxmOL50HgBAWgmDpEGGLJWAqbwPg+RZkH+eg9D4Txfh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PmOMhWDgNBjFiCJaDYTRiGiFwlCOQhOEsJBJHIThQhSJQZE4UAlAkGQ2EoJQkHMWhFF+SAZgSYQ3g2WQ2DsJYJkIYIWhmZpJioZ4aGaOYqE2GJNlmBIBGAJxjhiZQ5AkMhAg6nwpDaAglEkOgOgWIQoAmdIOh6DhJlkfRhWQOJtDsCJSCSBwkXSLIRiYaY6GqHInmmYguhgIppFIHoSDsJxmBGBhomoeo2hOK4OkqQoyiuaxDjGIxhhiAoSjoIJZnaIo+i+WhGH6OgpBiBAEIC")
oDCOCX_Exontrol1:HasCheckBox := PartialCheckBox
oDCOCX_Exontrol1:ExpandFolders := true
oDCOCX_Exontrol1:[Background,exTreeGlyphOpen] := 0x1000000
oDCOCX_Exontrol1:[Background,exTreeGlyphClose] := 0x2000000
oDCOCX_Exontrol1:Indent := 19
oDCOCX_Exontrol1:EndUpdate()

147:
How can I change the +/- button's images (method 1)


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:LoadIconsKey := 1234
oDCOCX_Exontrol1:LoadIcons("gBJJgBAICAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1BfeBf7ywj/dWHf7pxWJxeKdOMx+OyGTyWVxeHdWDwuBfb/zmaeWGxGWyON02l1GU0+izOE0Ofv9J1z/am1f6/3D/Xm73W83a83vA3/B4nD4283C/2m22ez2rU2+54/C33V6nX4vW6PK5+gf+xpGYf6V8j/QiEQr/Qfr9Xs9aD9vw9/x+nz+3s8/p8iV1n9/bzPQ+r3QG+UCQFAsEQA/TyvE8Cjsk/J/mOYZgn+YBel1CxeQyYENw1DkPQ7EERw/C0MQlCkFNUx8IwnCsLxJEUSxlGkQxtDkTxdFTJQcozJPmYhhOUW5aFif8iFlI5aSTJElSZJcnSjJsiSNILlPm0j6StJUjSnKEvSfMMpS/Ip/y3LDFx6orJEE9hjmIYZ/lmWBXTlOk7TrOc6ooik9TxP8/TfOM2vhLNCQlOFATvP1GUXR080fP9BH/Q8eTUoc2PYZRjmKf5WlUVFPVBUVQ0/UM+IhU1SVXVVN07SrV0PV1WVHVVbVrXFS1zVdZ1gx9L0wxZBTaf5mGUZB/lOUZQn+UhQk8f5RE+Ttok+TlUIhaVr2lalnWhZVmWNZFh0LWNiXFZNl2bZ9q2pbVq23a14Xbddv3VdFyMnYChTZYZ/mgZxmn+UBOE1bGD4RhGCYNgGBWGQUV0pf2G4HguE4vjGF3/gOJYhS19p/fuIGoaRon+TZMP5jGV2xlD+ZJk2H4jmWYZPlOWZwimXNpkuO31kGQ2FfxtGyax/k0S5KH/lJJn/pJI6cSeoYOS+pacSmoaZo+kn/omjZlQ2h6Lrela1p+o6hqu06ttWr6ySum6RpWvZ9j+gJ4yRA70f5wm8bul7hmxLH+ThMcHlHB4PxHCcNwXAabvu/70QOI8nvm/cfx3C8PxvF89xvN8drXIn/y27bunW872cxynIf5JkgR2rklzOtYPrWzEp2nYdl1nXdM1fLd91/Y9n2vA9x5HlabpPd+L4fgV/1CePFyx3Hadh/kaRJDn+SBGkWf5I/B8XyfH8Pz/L9Hye/8Pt+76/s8s8Xq73+Pte573zf39f+/U/99r+H4PYdK3tBr0ydmzPm/eBkBIGvZgeP+CME4CHzOaYWBcDoNQQg3BKDsFIOQhPobOBBOzPikhQeo86B4WH3QTC4+sK4UCkM8YKE8KRBwrhhDtA0PIXwyhSbCEpOSLA+JXEYjxICREkAASUlETicEQiHFMpxAQ")
oDCOCX_Exontrol1:HasCheckBox := CheckBox
oDCOCX_Exontrol1:ExpandFolders := true
oDCOCX_Exontrol1:[Background,exTreeGlyphOpen] := RGB(210,4,0)
oDCOCX_Exontrol1:[Background,exTreeGlyphClose] := RGB(211,4,0)
oDCOCX_Exontrol1:Indent := 19
oDCOCX_Exontrol1:EndUpdate()

146:
How can I change the check box button's images (method 2)


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:LoadIconsKey := 1234
oDCOCX_Exontrol1:LoadIcons("gBJJgBAICAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1JJuBAGBJuDwWEw2FxGLw+Nws8xmKx2JymRyuCv9dy2byecyWfyk0z2X0Gj0eZqmWLmrADE1wAfexmuxfet15e3Gkluq1muYmw2U02m23+4L261FPyzJ5lF5jJ5Er5fNonP6PJpmW4dE4eWlna4MzYfjACi80t7uT7HrorR9wALXxABW+gAYv33fq9n7njb/wANWLj5vq+grAAMUEAAdcFpQ7z+KRBylQjBr9JUc8LgAMkNQA1hFQ9AcDQKAA+RI4DawnB6iRQo8VozFoADZGIADhGgAHDG6UFXHUQR4UkfAAacgwzDcUxYyZ8yQoskHy68KNBJaUExKQAHvKqYlvLEeREZsuSpK0iqMyxlzGosxmXJqNzFMigGDNoACxOEDwTBZ1zBMLJjBPIAOsnjrTyME0I0y0/z26idn7RFCug+ItAAP1Hx5O0VM7SjS0q3TENFS7TUuPtPAAeFQgAWNSTfOMRUlI1LVXTFLshTdYVZTKNRFVFU1upVbVxXdeK+iwfJXYCPJAkSSAAkqUWQnCIV6mxgAfZ6NkAA9po2A5B2ujYPnHbdtHGDwxo2h5+BncR/nwCaNh+eYYAHdR5hjdyNW2CZB28D5ho2B5hgeYNpWpZQAWeYAE3Mf5+4Mf6NoCA")
oDCOCX_Exontrol1:HasCheckBox := CheckBox
oDCOCX_Exontrol1:ExpandFolders := true
oDCOCX_Exontrol1:[Background,exCheckBoxState0] := RGB(210,4,0)
oDCOCX_Exontrol1:[Background,exCheckBoxState1] := RGB(211,4,0)
oDCOCX_Exontrol1:EndUpdate()

145:
Is it possible to show the entire line when selecting files or folders


oDCOCX_Exontrol1:FullRowSelect := true

144:
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:[ScrollPartVisible,exVScroll,exExtentThumbPart] := true
oDCOCX_Exontrol1:[ScrollPartVisible,exHScroll,exExtentThumbPart] := true
oDCOCX_Exontrol1:[ScrollPartVisible,0x2 | ,exExtentThumbPart] := true
oDCOCX_Exontrol1:ScrollWidth := 4
oDCOCX_Exontrol1:[Background,exVSBack] := RGB(240,240,240)
oDCOCX_Exontrol1:[Background,exVSThumb] := RGB(128,128,128)
oDCOCX_Exontrol1:ScrollHeight := 4
oDCOCX_Exontrol1:[Background,exHSBack] := oDCOCX_Exontrol1:[Background,exVSBack]
oDCOCX_Exontrol1:[Background,exHSThumb] := oDCOCX_Exontrol1:[Background,exVSThumb]
oDCOCX_Exontrol1:[Background,exScrollSizeGrip] := oDCOCX_Exontrol1:[Background,exVSBack]
oDCOCX_Exontrol1:EndUpdate()

143:
How can I change the check box button's images (method 1)

local var_Appearance as IAppearance

oDCOCX_Exontrol1:BeginUpdate()
var_Appearance := oDCOCX_Exontrol1:VisualAppearance
	var_Appearance:Add(1,"gBFLBCJwBAEHhEJAEGg4BgsHQAAYAQGKIYBkAKBQAGaAoDDYMwzQwAAxDMKEEwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQiiCYsS5GQBSFDcOwHGyQYDkCQpAAWL4tCyNc7QHKFAxnAgaaLAAYRVjSH5OAADcI1FLUEyUf6sAArB74XiCIAIQiUBomGahajkMoYZAAaDCCI2a4aDZCIoVHalKgxC5oKSqCJqbptMZ/HrgJQYGRuC4NQ7CcDKDATbr9MZ9ZBCNZoPimEYtS7MMLyRB8QpyAytaBhRaaGwmSr3U7Oc50d69FYTIxcYZoCq1XBOGYMZLcNR3La9YYnBqMbRAeJYNped6NSDVcKxLgaa4fTrOZZzHL9HpviMWYBnWOr+kwJ4zlqY53CAZQ/B4GZzmab5qHyT4cDeDInkwPp8DCTI/h+Iw7nMZZhj4B5eGKL57gYGAgAadZoG8sgBgYfxKjcSRYCCYJGGYDoDmCQgNh0ZIZAaSB2gWYJ2F4FwdhsJpuBQfRiAWdQJEAQCAg")
	var_Appearance:Add(2,"gBFLBCJwBAEHhEJAEGg4BVUMQAAYAQGKIYBkAKBQAGaAoDDYMwzQwAAxDMKEEwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQiiCYsS5GQBSFDcOwHGyQYDkCQpAAWL4tCyNc7QHKFAxnAgaaLAAYRVjSH5OAADcI1FLUEyUf6sAArB74XiCIAIQiUBomGahajkMoYZAAaDCCI2a4aDZCIoVHalKgxC5oKSqCJqbptMZ/HrgJQYGRuC4NQ7CcDKDATbr9MZ9ZBCNZoPimEYtS7MMLQXK8QpyAytaBhRaaGwmSr3U7Oc50d69FYQXqvYZoCq1XBOGYMZLcNR3La9YYnBqMbRAeJYNpedy2YbkFC5LStHwbCrBVpxWotDxQjWVgrHYGI9iybhbiGUo+jafA6DKZxjkoVgxHoHR+iqXx2jMA52l8XJ/CMJ5TkaCp7nmOwHk+XovmECR8BWMYyAIHAgEOBgGFaSo4CWeQVgoSA0lOA5fEGEZQBSYRGBieYFlWMhiBoPZhkabI3geYIzDYIoHA8dxAH2CZYGMLgqHeW4zAYLgWCMB4gGIeoOjcQgJCqWBhgIOhvGKRhAn2D5blcWBaB+JBGi2EhWAgOQlhmEpYgiHB9DwJQCloUgWmUQoOFaEZXlaSB2haZJGF4WwdhsJRslmGJGDmFhYg8ZoHBiZYalCFAEIC")
oDCOCX_Exontrol1:HasCheckBox := PartialCheckBox
oDCOCX_Exontrol1:ExpandFolders := true
oDCOCX_Exontrol1:[Background,exCheckBoxState0] := 0x1000000
oDCOCX_Exontrol1:[Background,exCheckBoxState1] := 0x2000000
oDCOCX_Exontrol1:[Background,exCheckBoxState2] := 0x2d7f7f2
oDCOCX_Exontrol1:EndUpdate()

142:
Is it possible to displays only KB, MB, GB when case, so with no Bytes


oDCOCX_Exontrol1:[Option,exSizeFormat] := 14

141:
Is it possible to displays Bytes, KB, MB, GB when case


oDCOCX_Exontrol1:[Option,exSizeFormat] := 15

140:
Is it possible to displays Bytes combined with Mega-Bytes(MB) in the Size column


oDCOCX_Exontrol1:[Option,exSizeFormat] := 5

139:
Is it possible to displays Giga-Bytes(GB) only in the Size column


oDCOCX_Exontrol1:[Option,exSizeFormat] := 8

138:
Is it possible to displays Mega-Bytes(MB) only in the Size column


oDCOCX_Exontrol1:[Option,exSizeFormat] := 4

137:
Is it possible to displays Kilo-Bytes(KB) only in the Size column


oDCOCX_Exontrol1:[Option,exSizeFormat] := 2

136:
Is it possible to displays Bytes only in the Size column


oDCOCX_Exontrol1:[Option,exSizeFormat] := 1

135:
How can I simulate a go back or navigating to the parent folder


oDCOCX_Exontrol1:BrowseFolderPath := "C:\Program Files"
oDCOCX_Exontrol1:BrowseFolderPath := ".."

134:
Does your control support runtime filter


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:[ColumnFilterButton,"Name"] := true
oDCOCX_Exontrol1:AddColumnCustomFilter("Name","All  Project Files (*.sln, *.dsw)","*.sln|*.dsw")
oDCOCX_Exontrol1:AddColumnCustomFilter("Name","Solution Files (*.sln)","*.sln")
oDCOCX_Exontrol1:AddColumnCustomFilter("Name","Compatible Workspace Files (*.dsw)","*.dsw")
oDCOCX_Exontrol1:[FilterBarDropDownWidth,"Name"] := -212
oDCOCX_Exontrol1:[ColumnFilterButton,"Type"] := true
oDCOCX_Exontrol1:[FilterBarDropDownWidth,"Type"] := -128
oDCOCX_Exontrol1:[ColumnFilterButton,"Modified"] := true
oDCOCX_Exontrol1:EndUpdate()

133:
How can I reffer a folder or a file, without using the wild characters

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("TEMP")
	var_FileType:HasPattern := false
	var_FileType:Folder := true
	var_FileType:Bold := true
	var_FileType:Apply()

132:
How do I change the text being diplayed in the Type column for specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*.bat")
	var_FileType:Folder := false
	var_FileType:Type := "__newtype__"
	var_FileType:Apply()

131:
How do I change the text being diplayed in the Type column for specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := false
	var_FileType:Type := "__newtype__"
	var_FileType:Apply()

130:
How do I change the text being diplayed in the Type column for specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("W*")
	var_FileType:Folder := true
	var_FileType:Type := "__newtype__"
	var_FileType:Apply()

129:
How do I change the text being diplayed in the Type column for specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := true
	var_FileType:Type := "__newtype__"
	var_FileType:Apply()

128:
How do I underline specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*.bat")
	var_FileType:Folder := false
	var_FileType:Underline := true
	var_FileType:Apply()

127:
How do I underline specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := false
	var_FileType:Underline := true
	var_FileType:Apply()

126:
How do I underline specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("W*")
	var_FileType:Folder := true
	var_FileType:Underline := true
	var_FileType:Apply()

125:
How do I underline specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := true
	var_FileType:Underline := true
	var_FileType:Apply()

124:
How do I draw as strikeout specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*.bat")
	var_FileType:Folder := false
	var_FileType:StrikeOut := true
	var_FileType:Apply()

123:
How do I draw as strikeout specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := false
	var_FileType:StrikeOut := true
	var_FileType:Apply()

122:
How do I draw as strikeout specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("W*")
	var_FileType:Folder := true
	var_FileType:StrikeOut := true
	var_FileType:Apply()

121:
How do I draw as strikeout specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := true
	var_FileType:StrikeOut := true
	var_FileType:Apply()

120:
How do I draw as italic specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*.bat")
	var_FileType:Folder := false
	var_FileType:Italic := true
	var_FileType:Apply()

119:
How do I draw as italic specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := false
	var_FileType:Italic := true
	var_FileType:Apply()

118:
How do I draw as italic specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("W*")
	var_FileType:Folder := true
	var_FileType:Italic := true
	var_FileType:Apply()

117:
How do I draw as italic specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := true
	var_FileType:Italic := true
	var_FileType:Apply()

116:
How do I bold specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*.bat")
	var_FileType:Folder := false
	var_FileType:Bold := true
	var_FileType:Apply()

115:
How do I bold specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := false
	var_FileType:Bold := true
	var_FileType:Apply()

114:
How do I bold specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("W*")
	var_FileType:Folder := true
	var_FileType:Bold := true
	var_FileType:Apply()

113:
How do I bold specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := true
	var_FileType:Bold := true
	var_FileType:Apply()

112:
How do I change the background color for specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*.bat")
	var_FileType:Folder := false
	var_FileType:BackColor := RGB(255,0,0)
	var_FileType:Apply()

111:
How do I change the background color for specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := false
	var_FileType:BackColor := RGB(255,0,0)
	var_FileType:Apply()

110:
How do I change the background color for specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("W*")
	var_FileType:Folder := true
	var_FileType:BackColor := RGB(255,0,0)
	var_FileType:Apply()

109:
How do I change the background color for specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := true
	var_FileType:BackColor := RGB(255,0,0)
	var_FileType:Apply()

108:
How do I change the foreground color for specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*.bat")
	var_FileType:Folder := false
	var_FileType:ForeColor := RGB(255,0,0)
	var_FileType:Apply()

107:
How do I change the foreground color for specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := false
	var_FileType:ForeColor := RGB(255,0,0)
	var_FileType:Apply()

106:
How do I change the foreground color for specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("W*")
	var_FileType:Folder := true
	var_FileType:ForeColor := RGB(255,0,0)
	var_FileType:Apply()

105:
How do I change the foreground color for specified files or folders

local var_FileType as IFileType

var_FileType := oDCOCX_Exontrol1:FileTypes:Add("*")
	var_FileType:Folder := true
	var_FileType:ForeColor := RGB(255,0,0)
	var_FileType:Apply()

104:
How do I get the count of all items
local var_Count as USUAL

var_Count := oDCOCX_Exontrol1:[Get,VisibleItems]:Count

103:
How do I get the count oc checked items

local var_Count as USUAL

oDCOCX_Exontrol1:HasCheckBox := CheckBox
var_Count := oDCOCX_Exontrol1:[Get,CheckItems]:Count

102:
How do I get the count of all items
local var_Count as USUAL

var_Count := oDCOCX_Exontrol1:[Get,AllItems]:Count

101:
How do I get the selected folder

local var_Count as USUAL

var_Count := oDCOCX_Exontrol1:[Get,SelItems]:Count