Print Page | Close Window

Highlight Colour In Combobox And Listbox

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=15530
Printed Date: 16 November 2024 at 4:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Highlight Colour In Combobox And Listbox
Posted By: Mantra
Subject: Highlight Colour In Combobox And Listbox
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: Mantra
Date 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.


Posted By: SuperMario
Date 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.


Posted By: Mantra
Date 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



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