• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1012
  • 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?

Thanks,
Jeff
0
jeffs1
Asked:
jeffs1
1 Solution
 
jkrCommented:
I know you wrote "no MFC", but maybe you can extract the basics from this sample: http://www.codeproject.com/docking/truecolortoolbar.asp
0
 
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.
0
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

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

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