Print Page | Close Window

Toolbar duplication on vista

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=8802
Printed Date: 18 June 2025 at 12:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Toolbar duplication on vista
Posted By: afekhar
Subject: Toolbar duplication on vista
Date Posted: 16 November 2007 at 5:00am
Hi,
 
I notice a duplicaton of the main window bar on Vista (see image below), I'm using ActiveX Codejock components with WTL.
 
Any tips,
 
 
Thanks.



Replies:
Posted By: Oleg
Date Posted: 16 November 2007 at 7:02am
Do you use SkinFramework ? try temporary disable it ?

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


Posted By: afekhar
Date Posted: 16 November 2007 at 9:02am
I've disabled skinframeword and it's the same thing. Any other tip ?
 
Thanks


Posted By: afekhar
Date Posted: 16 November 2007 at 9:49am
Any help will be appreciated,
 
Thank you


Posted By: afekhar
Date Posted: 16 November 2007 at 9:59am
Forget about the first problem, I've found a solution, but now I have a new one. It's about the icon representing the software logo (see image below). How can I solve this new problem.
 
 
Thank you.


Posted By: Oleg
Date Posted: 17 November 2007 at 1:03am

You can add this icon to CommandBars.Icons collection

from vb sample:
 
    CommandBars.Icons.LoadBitmap App.Path & "\res\shiny-gear.png", ID_SYSTEM_ICON, xtpImageNormal
    Set ControlFile = RibbonBar.AddSystemButton()
    ControlFile.IconId = ID_SYSTEM_ICON


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


Posted By: gaudetm
Date Posted: 18 November 2007 at 8:42am

I had the same problem with the icon in systembutton, my solution redo the icon using 256 colors not 16  millions colors since vb6 don't seam to like this more than 256 colors in many cases.

Than for the exe icon create a ressource file to your application and create a icon in it with letters in the name like "AAAA" because it will put this icon as the first because vb put numbers by default and letters ares first to numbers when the application compile vb take the first icon to be the application icon.
 


Posted By: afekhar
Date Posted: 19 November 2007 at 3:34am
Thanks



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