• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1007
  • Last Modified:

True color Win32 API toolbar?

This seems like a quetsion that would have been answered before... but I cannot find an answer on here or elsewhere.  I simply need to know how to create a true-color toolbar using Win32 API only... no MFC.  (24 bit color + alpha channel).  If the alpha channel complicates things too much, I can get by with using just 24 bit BMP...

I have true color BMP toolbar images, but I understand there are limitations in the CreateToolbarEx function that will not load the true color bmp correctly. (I get black buttons on teh toolbar).

Can someone please provide me with a code sample of how I can build a true color toolbar using only Win32 API?

1 Solution
I know you wrote "no MFC", but maybe you can extract the basics from this sample: http://www.codeproject.com/docking/truecolortoolbar.asp
jeffs1Author Commented:
Thanks for your replry... That looks a little more involved than I need it to be... I was hoping to find a simple API example.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now