Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

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