Advertisement

WIN32 Rebar control

Started by October 25, 2000 01:46 PM
1 comment, last by cjspender 24 years, 2 months ago
I am learning C++ and Win32API programming. I bought a Win programming book, but unfortunately it doesn''t cover all the topics. So, I did dig in to MSDN library, but there are some issues I find very hard to comprehend. 1. I learned how to make a Rebar (Coolbar) based on Nancy Winnick Cluts''s Example. It works fine, OK. But it can only use 16-col buttons. When I try to use, say 256-col buttons, it crashes. Anyone who knows how to add more colors to it? 2. Is there a book from which I can learn more about Win32API programming (NO MFC!), I mean learn how to make nice coolbars, toolbars, comboboxes, dialogs, tabs etc.... I find the MSDN library (which came with my VC++) quite outdated and I can''t hang on in the internet forever because of the phone bills.
"Programming Windows, The Definitive Guide to the Win32 API" by Charles Petzold (ISBN 157231995X) is pretty much, as it says, the definitive guide to the Win32 API. In the fourth edition it had references to the common controls, but I was just told that the fifth edition had those sections removed. Still a good book for general Win32 programming.

Edited by - SiCrane on October 25, 2000 3:47:00 PM
Advertisement
I''ve managed to make a rebar based on Nancy Winnick Cluts example, it uses 246 color buttons.

But, I am wondering how to make "hot" / "cold" buttons? I mean like those in "Netscape" or "Internet Explorer". So the button would be gray but gets colored as the mouse pointer goes over it.

My rebar works fine now, pure WIN32Api, bugfree (I believe). It would be nice to add some "extra touch" to it, though....

This topic is closed to new replies.

Advertisement