Print Page | Close Window

ComboBoxEx32

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=24561
Printed Date: 01 April 2025 at 5:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ComboBoxEx32
Posted By: rdhd
Subject: ComboBoxEx32
Date Posted: 26 March 2025 at 5:39pm
We have ComboBoxEx32 classes we use in our app dialog boxes. With skinning on the boxes still draw with dark text. We have a dark skin and that is making it very hard to see the text.

Debugging I saw that when ComboBoxEx32 classname is encountered the class map has no entry for it so it just draws using the skin frame object code.

I saw there was no class or synonym for that class so I added one using ComboBox as the synonym. Now the skin combobox is getting the OnPaint and calls Draw. But the box isn't using the dark background and white text we get with our skinned normal combo boxes. It appears to just look like the unskinned combobox. I stepped thru code and saw the image being loaded and it is the combobox image but the box is still not right. 

How do I get a ComboBoxEx32 to display correctly using skins?

Here is an image with the comboboxex32 drawn at the bottom left with the dark text but using our skin background color.


Here it is when I call AddSynonymClass to treat it as a ComboBox. Note the display including the white background as if it no skin is loaded.





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