All,

Jez White has kindly committed a set of changes that have been accumulating in my workspace. Details below: I will post a further message (to the users list only) about the Coolmenu changes mentioned below.

+ [Robert May] : Fixes for Toolbars:
   - Toolbar.xs:
+ Fixed message processing to switch on lparam->code, rather than HIWORD(wparam) + Various documentation changes where functions take command identifier, rather than button index
     + Fixed GetButtonInfo test for error conditions
     + Fixed GetButtonInfo returned flags to be 0 or 1 only.
     + Added missing GetString method
+ Fixed SetButtonInfo to set required cbsize element of button structure.
   - GUI.h
     + Added define for TB_GETSTRING for MinGW.
+ [Robert May] : Support for Coolmenu
   - GUI.h
+ Added prototyle for ProcessEventError so it can be called from GUI_Helpers.cpp + Added 'message' WM_TRACKPOPUP_MSGHOOK to use as a callback handle in the hooks array (see TrackPopupMenu, GUI.xs)

   - GUI_Helpers.cpp
+ Added WindowsHookMsgProc callback to be used by SetWindowsHookEx in TrackPopupMenu (GUI.xs)

   - GUI.xs
     +  Re-worked TrackPopupMenu to:
(1) allow X,Y to be optional, and use current cursor position if not provided. (2) use TrackPopupMenuEx, rather than TrackPopupMenu, and allow an (optional) excluded rectangle to be provided (3) to allow a (optional) code reference to a callback funtion to be provided that will be called for events
           occuring while the menu is displayed.
     + Added RemoveMenu() to Win32::GUI::Menu

+ [Robert May] : Support for chevrons in rebars
   - GUI.h
     + Added define for RBN_CHEVRONPUSHED for MinGW.
   - GUI_Options.cpp:
     + Added -idealwidth to ParseRebarBandOptions
   - Rebar.xs
     + Added ChevronPushed event: Rebar_onParseEvent, Rebar_onEvent
+ Added -idealwidth to GetBandInfo, InsertBand, and SetBandInfo (via ParseRebarBandOptions), including documentation
     + Documented RBBS_USECHEVRON style

+ [Robert May] :
   - GUI_MessageLoops.cpp
+ Fixed second parameter to DoHook() during WM_NOTIFY messages to be lparam->code, rather than HIWORD(wparam).

+ [Robert May] :
   - GUI.pm (Fix for Richedit crash. Tracker: 1064828, 1153899)
+ Moved LoadLibrary for richedit.dll to constructor to prevent loading library unnecessarily + Removed end block to FreeLibrary*(), as not necessary (and can get executed before Richedit's DESTROY method) + [Robert May] :
   - Trackbar.xs
+ Modifed Pos() to get one argument call have correct default for second argument. + Modifed Min() to get one argument call have correct default for second argument. + Modifed Max() to get one argument call have correct default for second argument. + Modifed SelStart() to get one argument call have correct default for second argument. + Modifed SelEnd() to get one argument call have correct default for second argument.

Regards,
Rob.

Reply via email to