Print Page | Close Window

EnableExplorerStyle doesn't work

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=18492
Printed Date: 19 September 2024 at 4:44am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: EnableExplorerStyle doesn't work
Posted By: Fabian
Subject: EnableExplorerStyle doesn't work
Date Posted: 04 June 2011 at 2:42am
Hi,
 
I try to use TreeView1.EnableExplorerStyle True, False on a Windows7 PC. But I never see the expected icons but only the squared +/- signs.
 
What do I wrong?
 
Thanks for help
Fabian


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6



Replies:
Posted By: Oleg
Date Posted: 06 June 2011 at 6:53am
Hi,

You need add manifest and run application as exe outside IDE.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Fabian
Date Posted: 07 June 2011 at 1:56am
Hi Oleg,
 
On my site it doesn't work as expected. Here is my TreeView initialization:
 
Public Sub CJInitTreeView(TreeView1 As TreeView)
  TreeView1.Nodes.Clear
  TreeView1.Appearance = xtpAppearanceResource
  TreeView1.UseVisualStyle = True
  TreeView1.ShowLines = xtpTreeViewShowLinesAtRoot
  TreeView1.Indentation = 0
  TreeView1.SingleSel = False
  TreeView1.ShowBorder = False
  TreeView1.HideSelection = True
  TreeView1.SetIconSize 16, 16
  TreeView1.EnableExplorerStyle True, True
  TreeView1.LabelEdit = xtpTreeViewLabelManual
End Sub
 
The result (compiled incl. .Manifest):
 
Explorer on the same PC:


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6


Posted By: younicke
Date Posted: 07 June 2011 at 3:01am
works ok here.. maybe something is wrong with your manifest..




Posted By: Fabian
Date Posted: 07 June 2011 at 6:31am
Hi younicke
 
Thanks a lot for your test. Can you please show me your code and your manifest?
 
Regards
Fabian


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6


Posted By: younicke
Date Posted: 07 June 2011 at 5:54pm
uploads/1038/prjTest.rar - uploads/1038/prjTest.rar

i have attached a sample. hope this would help



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net