Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - TabControl on Vista
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TabControl on Vista

 Post Reply Post Reply
Author
Message
reggie View Drop Down
Newbie
Newbie
Avatar

Joined: 19 February 2007
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote reggie Quote  Post ReplyReply Direct Link To This Post Topic: TabControl on Vista
    Posted: 13 August 2007 at 9:29pm
I am trying to get a TabControl to work with the SkinFramework on a Vista machine.  Because I like the Aero titlebar and borders of Vista this is what I've tried:
 
TabControl.Appearance = xtpTabAppearancePropertyPage
TabControl.Color = xtpTabColorWinXP
SkinFramework.LoadSkin App.Path & "\Vista.cjstyles", ""
SkinFramework.ApplyOptions = xtpSkinApplyColors Or xtpSkinApplyMetrics 
SkinFramework.ApplyWindow hWnd
 
This does not seem to work, the TabControl remains the default Color style. 
 
 
If I include xtpSkinApplyFrame during ApplyOptions all works fine but I lose the Aero titlebar and borders.
 
 
Is this a bug or am I doing wrong?
We are using v10.4.2.
 
 
There are only 10 kinds of people in the world, those that understand binary and those that don't.
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: 14 August 2007 at 1:25am
Hello,
 
I think you can disable SkinFramework vista theme if user run application in Vista.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
reggie View Drop Down
Newbie
Newbie
Avatar

Joined: 19 February 2007
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote reggie Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2007 at 1:44pm
But I want the Vista theme to work on Vista.  We are using VB6 which does not deliver themed applications correctly unless:
1)  A .manifest file is included OR
2)  Use some kind of skinning tool like CodeJock
 
There are some caveats with item 1, so we had decided on item 2.
If I turn off the SkinFramework on a Vista machine then other controls on the form are not themed but the TabControl is.  If I turn on the SkinFramework, the other controls are themed but the TabControl is not.
 
Not sure what's up here.
There are only 10 kinds of people in the world, those that understand binary and those that don't.
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: 15 August 2007 at 2:05am
Hi,
Its designed behavior. Without xtpSkinApplyFrame  TabControl will not be skinned.
I think you need enable manifest.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.203 seconds.