Solved

True color Win32 API toolbar?

Posted on 2004-03-24
4
987 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

691 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