Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - ComboBoxEx32
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ComboBoxEx32

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 907
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: ComboBoxEx32
    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.


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.031 seconds.