CommandBar Background Color using Office2007 imgs |
Post Reply |
Author | |
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
Posted: 29 April 2010 at 12:37pm |
Is there a way to get the background color of a CommandBar when using an
Office2007 images file for the CommandBars control?
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi Jason,
Did you try:
CommandBars.GetSpecialColor(XPCOLOR_TOOLBAR_FACE)
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
Hi Aaron, thanks a lot for the reply.
I have tried XPCOLOR_TOOLBAR_FACE and other (MENUBAR_FACE, amongst others). As you can see in the following examples, the colors don't match (top portion of image is CommandBars control, bottom half is the result of GetSpecialColor) With XPCOLOR_TOOLBAR_FACE: This is the result of XPCOLOR_MENUBAR_FACE: This is the result of XPCOLOR_FRAME (close, but no cigar): I forgot to mention that the CommandBar was created using the AddMenuBar() method (if that helps). Thanks again. |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi Jason,
Also tried STDCOLOR_BTNFACE ?
Looks like the menu background is painted with this color, at least with XP
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
chesterkill
Newbie Joined: 28 June 2010 Location: Philippines Status: Offline Points: 7 |
Post Options
Thanks(0)
|
sir good day... i like your design... can i ask what theme did you use??? the tab "dashboard","budgets","and "contracts is a commandbar?????? please help me... i'm a newbie in CODEJOC... and i really2x like your design.....
|
|
CODEJOCKS
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |