Win32 GUI Generics Library : New features in v1.5
New features in v1.5
- bitmap buttons
- lite html controls
- hyper links
- tab dialogs
Tooltips are really easy to use. By default, if a control on a dialog has a corresponding string resource (with the same ID), that is its tooltip. It's that simple!
And tooltips work for menus too - in the same way (if a menu has a corresponding string resource with the same ID, it will show as its tooltip). For more advanced usage, you can specify a function that returns the tooltip string (+ some optional additional details, like, its title, for balloon tooltips).
You can have multiple types of tooltips within the same dialog (for example, some controls have regular tooltips, some other controls have the Win2K balloon tooltips, etc.).
And finally, you can easily turn tooltips off - in case some (advanced) users don't want them. When you download win32gui, check out the samples/controls/tooltips* examples.
Regular buttons look pretty dull most of the time. Put a bitmap next to them and make them look professional. When you have a button and want to show a bitmap on it, simply use the Resource Editor, create a resource (bitmap or icon), and give it the same ID as the button. That's all. And guess what, this works for MessageBoxes as well!
To be consistent, the bitmap_button behavior can be
applied to push-like check-boxes and radio-buttons as well. And as a bonus, you
can use the "Hot tracking" feature...
You can now add lite html controls on your dialogs with virtually no work. Using the Resource Editor, simply add a static control, give it an ID from ID_litehtml1 to ID_litehtml15, and specify its text:
The same goes in case you want only hyperlinks. But
instead, use an ID from ID_hyperlink1 to ID_hyperlink15.
(examples/controls/litehtml* and examples/controls/hyperlink*)
Last but not least, tab dialogs. The tab dialog is a smarter tab_ctrl. You add children (usually dialogs), and it manages them, making sure only one is visible at a time. Much like a property page, but only better. On a dialog, you can use as many tab dialogs as you wish (not just one) - as you would for tab controls.
And you'll love the "Full-area" feature: