Mikołaj Zalewski
dadc4248cf
comctl32: toolbar: Copy bitmaps with CopyImage so that it works also for DIBs (based on a patch by Oleg Krylov).
2007-02-07 11:03:09 +01:00
Mikołaj Zalewski
292cb4d2ac
comctl32: toolbar: Fix the TB_SETBITMAPSIZE for width or height zero (with testcase).
2007-01-16 16:54:25 +01:00
Mikołaj Zalewski
e6b1bd5f30
comctl32: toolbar: Recalc the toolbar after a TB_SETIMAGELIST.
2007-01-16 11:17:39 +01:00
Mike McCormack
f23ab81738
comctl32: Downgrade an ERR to a WARN.
2006-11-09 11:44:42 +01:00
Mikołaj Zalewski
0559afda80
comctl32: toolbar: Use the width of the current button instead of nButtonWidth to position the icon.
2006-11-02 12:31:18 +01:00
Mikołaj Zalewski
420f7cb076
comctl32: toolbar: The SetButtonSize should not allow too small buttons.
2006-11-02 12:31:06 +01:00
Mikołaj Zalewski
3bfcacc54c
comctl32: toolbar: The top margin should be computed and saved in CalcToolbar.
2006-11-02 12:30:53 +01:00
Mikołaj Zalewski
a8a0a65515
comctl32: toolbar: Add a LayoutToolbar that works like CalcToolbar but doesn't overwrite the button sizes.
2006-11-02 12:30:34 +01:00
Mikołaj Zalewski
f7f1479a08
comctl32: toolbar: Fix buttons heights.
2006-11-02 12:30:17 +01:00
Mikołaj Zalewski
9ec280c258
comctl32: toolbar: The string should be included in the height of a button-less toolbar only if there is a string in the pool.
2006-11-02 12:29:50 +01:00
Mikołaj Zalewski
d57a61f831
comctl32: toolbar: Add support for WM_SETFONT.
2006-11-02 12:29:32 +01:00
Oleg Krylov
32caf30f9c
comctl32: Create tooltip windows with WS_POPUP style.
2006-10-25 20:21:34 +02:00
Alexandre Julliard
7cca856315
comctl32: Properly handle negative coordinates for mouse events.
2006-10-25 17:41:48 +02:00
Mikołaj Zalewski
39c4bbe56a
comctl32: toolbar: Fix the tests and handling of TB_SETHOTITEM on a disabled button.
2006-10-19 14:00:55 +02:00
Oleg Krylov
2d6b9cafc6
comctl32: toolbar: Create tooltip on TB_GETTOOLTIPS message if not yet created.
2006-10-19 13:47:08 +02:00
Mikołaj Zalewski
76b162067f
comctl32: toolbar: Test and improve TB_SETHOTITEM.
2006-10-14 20:43:03 +02:00
Mikołaj Zalewski
010f31f413
comctl32: toolbar: Use nHotItem not nOldHit for the hot item in MouseLeave.
2006-10-14 20:42:36 +02:00
Mikołaj Zalewski
d929cec671
comctl32: toolbar: Don't try to redraw buttons outside of the clipping rect.
2006-10-14 20:42:21 +02:00
Mikołaj Zalewski
992310e4be
comctl32: toolbar: Change the dwData from DWORD to DWORD_PTR.
2006-10-14 20:41:48 +02:00
Michael Ploujnikov
1c16d83379
comctl32: Win64 printf format warning fixes.
2006-10-14 20:17:06 +02:00
Mikołaj Zalewski
e998f9a498
comctl32: toolbar: Store dwBaseCustDraw and dwItemCDFlag in local variables.
2006-10-12 12:56:23 +02:00
Mikołaj Zalewski
79433e1bda
comctl32: toolbar: Merge TOOLBAR_InsertButtonA and TOOLBAR_InsertButtonW.
2006-10-12 12:56:07 +02:00
Mikołaj Zalewski
c95aa8228a
comctl32: toolbar: Passing a string pointer in TB_INSERTBUTTON shouldn't change the strings table (with test case).
2006-10-12 12:55:56 +02:00
Mikołaj Zalewski
4cf682b8c4
comctl32: toolbar: Remove dwItemCustDraw from TOOLBAR_INFO and store it as a local variable.
2006-10-12 12:55:40 +02:00
Mikołaj Zalewski
e0e2d7482c
comctl32: toolbar: Don't send NM_CUSTOMDRAW for separators.
2006-10-12 12:55:28 +02:00
Mikołaj Zalewski
241956101e
comctl32: toolbar: Fix the TB_ADDSTRING from resources for a NUL delimiter.
2006-10-09 20:53:15 +02:00
Mikołaj Zalewski
869c3bb74b
comctl32: toolbar: Merge AddButtonsA and AddButtonsW into AddButtonsT.
2006-10-09 20:52:48 +02:00
Mikołaj Zalewski
81050ccaff
comctl32: toolbar: Create the tooltip control during WM_MOUSEMOVE so that the NM_TOOLTIPSCREATE is not sent too early.
2006-10-09 20:52:28 +02:00
Mikołaj Zalewski
7b899eabe9
comctl32: toolbar: Move add/remove/setrect tooltip code to separate functions.
2006-10-09 20:52:18 +02:00
Mikołaj Zalewski
c7d034219e
comctl32: toolbar: Small fix in TOOLBAR_StyleChanged.
2006-09-29 14:42:20 +02:00
Mikołaj Zalewski
764c5b3b35
comctl32: toolbar: Set correcly hwndTrack in TrackMouseEvent call.
2006-09-29 14:42:08 +02:00
Mikołaj Zalewski
5db5744c5b
comctl32: toolbar: Test and fix TB_ADDSTRING from resource.
2006-09-27 20:21:00 +02:00
Mikołaj Zalewski
8cbca5dcfd
comctl32: toolbar: If wParam in TB_ADDBUTTON is large, enlarge the
...
bitmap before ImageList_AddMasked rather then call
ImageList_SetImagesCount after.
2006-09-26 11:38:35 +02:00
Mikołaj Zalewski
c77890d4f3
comctl32: toolbar: Resize the imagelist icons after a TB_SETBITMAPSIZE.
2006-09-26 11:37:47 +02:00
Mikołaj Zalewski
2fa45673f8
comctl32: toolbar: Fix the return code of TB_ADDBITMAP.
2006-09-21 17:42:44 +02:00
Mikołaj Zalewski
12d3235edc
comctl32: toolbar: Simplify the TOOLBAR_AddButton.
2006-09-21 17:42:34 +02:00
Mikołaj Zalewski
9e390091db
comctl32: toolbar: Fix IDB_STD_VIEW_* icons count (with testcase).
2006-09-21 17:41:36 +02:00
Mikołaj Zalewski
d457b37d82
comctl32: toolbar: Use correctly wParam in TB_ADDBITMAP.
2006-09-21 17:41:20 +02:00
Mikołaj Zalewski
5facde470e
comctl32: toolbar: Don't leak the intoPtr->bitmaps during resizing and destruction.
2006-09-20 11:21:57 +02:00
Andrew Talbot
cc90540c9b
comctl32: Cast-qual warnings fix.
2006-09-07 10:16:34 +02:00
Oleg Krylov
21b94d4cf4
comctl32: Correctly map toolbar bitmap mask color in case of non-default color scheme.
2006-08-18 21:17:34 +02:00
Oleg Krylov
3e68a1f1ff
comctl32: toolbar: Use HOT imagelist for buttons in CHECKED state.
2006-08-17 11:19:47 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
qingdoa daoo
d2f59fe455
comctl32: Fix an unsigned comparison to zero.
2006-04-20 15:37:48 +02:00
Michael Kaufmann
e9310da57b
Handle WM_PRINTCLIENT.
...
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Krzysztof Foltman
364c3aa449
Separators with group style set don't separate toolbar radio groups
...
anymore (which broke tool selection in Front Panel Designer).
2005-10-21 15:45:11 +00:00
Robert Shearman
2c6ab0dba5
- Add support for navigating a toolbar with the arrow keys.
...
- Fix WrapToolbar in the case of no parent window.
- Use the newly added NMTBINITCUSTOMIZE for sending the
TBN_INITCUSTOMIZE so that it is safe on 64-bit platforms.
2005-09-14 19:16:03 +00:00
Marcus Meissner
bd7ec9aca5
The last argument to MultiByteToWideChar is wide character count and
...
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Frank Richter
9e57091ffa
Fix warnings in 64bit.
2005-08-30 10:07:17 +00:00
Yuri Kozlov
dc21c5e45a
Set default size for toolbar bitmap if not specified.
2005-08-29 09:39:04 +00:00