Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Highlight Colour In Combobox And Listbox
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Highlight Colour In Combobox And Listbox

 Post Reply Post Reply
Author
Message
Mantra View Drop Down
Newbie
Newbie


Joined: 02 November 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mantra Quote  Post ReplyReply Direct Link To This Post Topic: Highlight Colour In Combobox And Listbox
    Posted: 02 November 2009 at 9:43am
Is there a way of changing the highlight colour of listboxes and comboboxes?
 
By changing the Highlight property in System Metrics I can get the menu highlight and the selected text in textboxes to change from the default blue but I can find no way to change the highlight colour from blue in listboxes and comboboxes.
 
Thank you
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: 03 November 2009 at 8:11am
Hi,
 
Add Manifest to your application and run as exe. It will change color then.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Mantra View Drop Down
Newbie
Newbie


Joined: 02 November 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mantra Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2009 at 7:42am
After searching the forum for info on 'manifest' I have uncovered another reference for skinning a DBList control where you suggest adding a manifest.
However I can find no information on the manifest and how this is created for specific controls.
 
If this is in fact a manifest for invoking themed controls in general (either a manifest file or one embedded as a resource ) then I have already tried this and found that the combobox and listbox highlights are still blue.
 
Does anyone have any suggestions?
 
I am using VB6 by the way.
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2009 at 8:45am
Just copy a manifest file from any of the VB samples and rename it.  Make sure it is in the same directory as the exe.
Back to Top
Mantra View Drop Down
Newbie
Newbie


Joined: 02 November 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mantra Quote  Post ReplyReply Direct Link To This Post Posted: 06 November 2009 at 4:33am
This does work on XP but on Vista the highlight colour of listboxes or comboboxes stay blue.
Just to prove the manifest was OK I even loaded my skin (or any other skin) into your SkinControls example.
The highlight never changes colour on Vista.
 
Thank you
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.156 seconds.