More Toolbar changes (part 1)

Guy L. Albertelli galberte at neo.lrun.com
Wed Apr 3 22:22:19 CST 2002


These changes are needed to better support large lists in the IE4 or IE5.5
favorites dropdown lists. It also prepares for the changes necessary to make
"hot" items have the blue background (like native) rather than the raised
button. Implementing that requires full support of NM_CUSTOMDRAW for items.
That's my next project.

Guy Albertelli  <<galberte at neo.lrun.com>>

  include/commctrl.h
   - Add defines for the NMTBHOTITEM flag word.
   - Add defines for the NM_CUSTOMDRAW return flags for toolbar.

  dlls/comctl32/toolbar.c
   - Use the new comctl32 color array for the colors. Provides better
     support for the TB_SETCOLORSCHEME.
   - Do some optimizations.
   - Correct computation of nHeight and PGN_CALCSIZE.
   - Implement the undocumented 045E message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commctrlh9.diff
Type: application/octet-stream
Size: 2662 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20020403/3edfa68c/commctrlh9.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toolbar13.diff
Type: application/octet-stream
Size: 13067 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20020403/3edfa68c/toolbar13.obj


More information about the wine-patches mailing list