Changelog
1.1 version
- fix: under Windows 9x/ME, ImageMenu no longer crash with UNICODE enabled if a menu is opened
- fix: under Windows 9x/ME, other applications no longer crash after you play a bit with ImageMenu menus
- fix: under Windows 9x/ME and Windows XP, the GradientFill function is no longer used. A home-made algorithm is used instead. The GradientFill function was causing crashes and exception under Windows 9x and ME
- fix: under Windows 9x/ME, vertical menu titles were drawn orizontally
- fix: renamed structures and flags to reflect their use
- fix: the ImageMenu_SetStyle function no longer require a window handle
- fix: renamed window prop string to avoid conflict with already existing properties. (With properties i mean the one you can set with SetProp)
- fix: reordered the menus in the demo
- fix: when debugging, if (an hook?) sent WM_CANCELMODE the application would receive a continuable exception in IsBadWritePtr()
- fix: when TrackPopupMenu was called with the submenu of a menu bar item, the top left border was drawn incorrectly
- fix: when ImageMenu_Remove is called, along with the menu ImageMenu deletes the menu title props too
- flaw: under windows 9x/ME, the first submenu of a menubar item isn't superclassed and therefore no custom border is drawn
- flaw: under windows 9x/ME, if a submenu has a title, as soon as this submenu is destroyed the title is drawn over the parent menu
- add: radio menu item support
1.02 version
- fix: corrected some non-void functions that act like void functions (they didn't have a return value)
- add: you can now check menuitems with an image
- add: new menu style, Office 2007 (thanks to Glenn Van Loon)
1.01 version
- fix: wrong loop in the parent window subclass procedure's WM_DESTROY handler, that may cause crash on closing
- fix: aeparator check improved
- fix: the more safe vector member function at() is now used to access std::vector's element (instead of the operator [])
- add: now you can add items singularly, without refreshing the whole menu, with ImageMenu_AddItem
- add: now you can remove a menu whenever you want, if you want to call DestroyMenu, with ImageMenu_Remove
- add: accelerator now supported
1.0 version
This page was last modified
45 months, 3 weeks, 6 days and 11 hours ago