Fix Toolbar so IE4 favorites menu works

Guy L. Albertelli galberte at neo.lrun.com
Wed Jul 25 00:57:20 CDT 2001


These changes allow the IE4 Favorites menu to be used to select a site. The
dropdowns are still not drawn correctly (no arrows or icons). Also not sure
that some of the WM_NOTIFYs should not be issued in all cases.

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

   include/commctrl.h
    - Add values to describe return values from WM_NOTIFY of TBN_DROPDOWN

   dlls/comctl32/toolbar.c
    - On TB_SETIMAGELIST retrieve new values of the bitmap width and height.
        (fixes overlap of image and text in IE4.)
    - Handle return codes from TBN_DROPDOWN.
        (allows a "dropdown" to be treated like a regular button.)
    - Implement TBN_BEGINDRAG and TBN_ENDDRAG in WM_LBUTTON{DOWN|UP}
        (not necessary but done by native.)
    - Implement NM_RELEASEDCAPTURE and NM_CLICK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commctrlh5.diff
Type: application/octet-stream
Size: 557 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20010725/2d78c1e1/commctrlh5.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toolbar3.diff
Type: application/octet-stream
Size: 5838 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20010725/2d78c1e1/toolbar3.obj


More information about the wine-patches mailing list