Example program final effect diagram:
has been looking for the production of a 24bit and above true Color tool bar simple and effective method, in various VC sites have found a lot about this article and introduction, but there is a shortage of places, the introduction of the detailed, for beginners is a bit difficult. Recently found, so here will be their own in the production of the Real Color tool section of the small experience introduced to everyone, with a view to a new.
Here are two things to focus on, one is the graphical tool for making the True Color Toolbar Visual toolbar, and the other is the class Ctruecolortoolbar that displays the toolbar in the program. With these two sharp weapons, almost can be very simple and quick to make any true Color tool bar. Oh.
1. Visual Toolbar Tools
Visual Toolbar is a tool-making tool and the only gadget of the moment, and is almost always a super handy gadget. Oh, when I first got this thing, only one feeling "too practical!" ”。
I don't know what you used to do when you used to be a tool bar, anyway, I think it is very cumbersome, programmers are not art, but for the interface of PP, had to bite the bullet, it is impossible to draw those icons, it is ready to use, so you can only go online to find some beautiful XP icon, and then use Photoshop to Spell , it is never too easy to be careless, time-consuming and laborious. Do not know how other people do, anyway, search all the production of True Color toolbar articles, did not find the author to provide such information or methods. It's always a wonder, of course, that some authors provide a way to use the ICO icon as a tool bar, which is a little bit more complicated than that. The interface is very simple, a look can understand and hands-on operation. Only need to add icons to be able to generate. As shown in the figure:
Simple, you find some of the PP icon added to it, you can automatically merge into a true Color toolbar bitmap, but also can be split, regroup, before and after the position can also be rearranged. Oh, less than a minute, a pp bmp bitmap is completed. It also generates the normal, hot, and disable graphs at the same time.
With these bitmaps, the true Color tool bar is half done.