Solved

True color Win32 API toolbar?

Posted on 2004-03-24
4
955 Views
Last Modified: 2013-12-03
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
Comment
Question by:jeffs1
4 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 250 total points
ID: 10669760
I know you wrote "no MFC", but maybe you can extract the basics from this sample: http://www.codeproject.com/docking/truecolortoolbar.asp
0
 

Author Comment

by:jeffs1
ID: 10669937
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now