Aldo Calpini wrote:
Jez White wrote:
The coolbar basically inherits from the rebar - various changes were
added by Rob so that menus can be added to a band within the rebar:)
cool then :-)
See more information on what I've implemented at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/faq/iemenubar.asp
As you can't put a menubar in a Rebar you have to simulate a menu using
a toolbar, with buttons for each menu selection, and drop-down menus
from each button. You then have to handle all the keyboard/mouse
navigation, and handle moving menus into a drop-down from the rebar
chevron (which is displayed when the rebar becomes too small to display
all the buttons).
Coolbar.pm wraps all this functionality into a simple to use API that
takes a standard Win32::GUI menu definition (as you would pass to
MakeMenu()).
I intend to add capabilities for standard toolbars and chevrons to the
package. See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/faq/ietoolbar.asp
Regards,
Rob.