Creating coloured comboboxes using Windows API.

xavier.batlle

Active member
Local time
Today, 09:28
Joined
Sep 1, 2023
Messages
270
I was playing around with some APIs and came across the fact that you can change the color of the elements in combo boxes created using certain Windows APIs. While experimenting with this, I ended up creating this example more for fun than out of necessity.
I don’t think it’s a feature worth implementing in real applications, but rather an example of how to work with different Windows APIs.
Combo boxes created with these APIs have quite a few drawbacks:
- They can only display a single column of text.
- They aren’t bound to any MS Access control.
- A lot of APIs needed to implement it.
- etc.
1775725421366.png
 

Attachments

Last edited:

Users who are viewing this thread

Back
Top Bottom