Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - EnableExplorerStyle doesn't work
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

EnableExplorerStyle doesn't work

 Post Reply Post Reply
Author
Message
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Topic: EnableExplorerStyle doesn't work
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
younicke View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 March 2005
Status: Offline
Points: 107
Post Options Post Options   Thanks (0) Thanks(0)   Quote younicke Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2011 at 3:01am
works ok here.. maybe something is wrong with your manifest..


Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
younicke View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 March 2005
Status: Offline
Points: 107
Post Options Post Options   Thanks (0) Thanks(0)   Quote younicke Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2011 at 5:54pm
uploads/1038/prjTest.rar

i have attached a sample. hope this would help
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.