Thomas Weidenmueller
2c620c8269
comctl32: Fix the TAB_ITEM_SIZE macro.
2007-02-05 12:25:16 +01:00
Felix Nawothnig
306718152c
comctl32: Degrade ERR to WARN.
2007-01-25 11:05:56 +01:00
Lei Zhang
4de56b1b4d
comctl32: Fix the updown control test to use the optional flag.
2007-01-23 11:38:10 +01:00
Paul Vriens
81804538cf
comctl32/tests: Cast-qual warning fixes.
2007-01-23 11:26:44 +01:00
Dmitry Timoshkov
105cf6b282
comctl32: Fix the updown control test to pass under XP.
2007-01-22 12:02:32 +01:00
Thomas Weidenmueller
fda7775c7d
comctl32: Fix InitCommonControlsEx prototype.
2007-01-22 12:01:49 +01:00
Francois Gouget
b0bde6b87c
Assorted spelling fixes.
2007-01-18 12:56:52 +01:00
Francois Gouget
aab5e5856e
Don't put single quotes around '%s' when using the debugstr_*() functions.
2007-01-18 12:55:50 +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
Mikołaj Zalewski
749d975a41
comctl32: listview: When shrinking the last column clear the now unused field.
2007-01-16 11:17:31 +01:00
Mikołaj Zalewski
495455c0f8
comctl32: listview: A CDRF_SKIPDEFAULT for an item should skip the whole row.
2007-01-16 11:17:21 +01:00
Duane Clark
7942f5a0e4
treeview: Fix horizontal scrolling.
2007-01-12 11:53:06 +01:00
James Hawkins
74ada83c60
comctl32: Rewrite the up-down control tests to add message checking.
2007-01-10 12:00:15 +01:00
Felix Nawothnig
2eb171c1f5
treeview: Initialize iImage and iSelectedImage with zero.
2007-01-09 12:04:40 +01:00
Duane Clark
2575c37b22
comctl32: listview: Allow LVIF_STATE flag in subitems.
2007-01-08 21:00:59 +01:00
Mike McCormack
d6ea1bf120
comctl32: Check subitem is valid before calling LISTVIEW_InvalidateSubItem().
2007-01-04 20:53:21 +01:00
Mike McCormack
2d097f7024
comctl32: Remove unnecessary casts.
2007-01-04 20:53:18 +01:00
Lei Zhang
3a463f039b
comctl32: Add initial tests for the status bar control.
2007-01-03 11:25:31 +01:00
Vijay Kiran Kamuju
c292c40d05
comctl32: statusbar: Fix GetRect return value bug.
2007-01-03 11:25:26 +01:00
Alexandre Julliard
656fc93815
Use GetDC instead of CreateDC where possible.
2007-01-02 17:16:36 +01:00
Frank Richter
8002c49ede
comctl32: listview: Fix getting user params and subitems.
...
When querying a listview subitem for the user param, the main item's
user param is returned. Also, when a subitem is custom-drawn, the main
item's user param is passed along.
2006-12-29 20:55:04 +01:00
Vijay Kiran Kamuju
c5b8df481f
comctl32: MonthCalendar - Fix highlighting of current date.
2006-12-26 12:52:49 +01:00
Francois Gouget
15a7bcb364
comctl32/tests: Replace some '#if 0's with 'if (0)'s.
...
Fix the code so it compiles without warnings.
2006-12-14 20:24:36 +01:00
Marcus Meissner
4d52a421d7
Made some functions static.
2006-12-12 12:10:57 +01:00
Peter Oberndorfer
d119fd44fe
comctl32: Fix imagelist regression from "comctl32: Remove Nx1 assumptions in ImageList_Read".
2006-12-11 12:18:39 +01:00
Francois Gouget
c66628b73f
Consistently use SUBLANG_NEUTRAL for Italian resources.
2006-12-05 11:28:38 +01:00
Clinton Stimpson
3f91e7529a
comctl32: Destroy header information on WM_NCDESTROY instead of WM_DESTROY.
2006-12-04 12:39:27 +01:00
Detlef Riekenberg
e089659af1
comctl32: Do not crash when the startpage is invalid.
2006-12-01 13:12:00 +01:00
Dmitry Timoshkov
bd53138fc8
comctl32: Make some data const.
2006-11-29 12:44:23 +01:00
Andrew Talbot
63246a5396
comctl32: Cast-qual warnings fix.
2006-11-29 12:36:47 +01:00
Francois Gouget
7965efd252
comctl32: Add a Portuguese translation (contributed by Americo Jose Melo).
2006-11-27 13:42:42 +01:00
Francois Gouget
b5f104d05b
Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX constant for languages that have multiple sublanguages.
2006-11-24 11:49:32 +01:00
Francois Gouget
fb957ec589
comctl32/tests: Fix the CheckDPA() tests.
...
There is no guarantee that the compiler will compute the function arguments in left-to-right order.
2006-11-24 11:49:07 +01:00
Francois Gouget
9d2f40cf33
comctl32/tests: Don't use the NONAMELESS* macros in the tests.
2006-11-24 11:48:42 +01:00
Alexandre Julliard
10c3a4db67
comctl32: Remove invalid NULL check.
2006-11-21 12:40:39 +01:00
Huw Davies
a6e2fe5ae3
comctl32: Set the result to IDOK on 'Finish'.
2006-11-21 12:13:58 +01:00
Alexandre Julliard
1e6786699d
Revert "comctl32: Fix a potential regression in ImageList_ReplaceIcon()."
...
This reverts commit 9e772d1369
.
2006-11-15 11:33:35 +01:00
Mike McCormack
f3c6114d75
comctl32: Remove a redundant variable.
2006-11-14 11:35:31 +01:00
Mike McCormack
9e772d1369
comctl32: Fix a potential regression in ImageList_ReplaceIcon().
2006-11-14 11:35:24 +01:00
Mike McCormack
2614e0ee91
comctl32: When removing an image, move the remaining images one forward, not one backwards.
2006-11-14 11:35:18 +01:00
Paul Vriens
d4796304ad
comctl32: Remove deadcode (Coverity).
2006-11-13 14:51:20 +01:00
Francois Gouget
1ccf944900
Assorted spelling fixes.
2006-11-13 13:01:53 +01:00
Eric Pouech
6e022a3a28
comctl32: header: fix bug found out by running valgrind on the regression tests.
2006-11-09 12:23:20 +01:00
Mike McCormack
f23ab81738
comctl32: Downgrade an ERR to a WARN.
2006-11-09 11:44:42 +01:00
Paul Vriens
6e9f335656
comctl32: Load function pointers by ordinal.
2006-11-08 20:12:38 +01:00
Mike McCormack
7486f47b19
comctl32: Fix a regression in ImageList_AddMasked().
2006-11-08 15:51:35 +01:00
Francois Gouget
a7f8195be9
include: The PSDK does not have the A/W variants of MAKEINTATOM() so we should not either.
2006-11-08 12:10:26 +01:00
Mike McCormack
e74b0ee910
comctl32: Remove Nx1 assumptions in ImageList_Read.
2006-11-08 11:26:12 +01:00
Paul Vriens
2384756b71
comctl32: Beginning of some string related tests.
2006-11-08 11:20:34 +01:00
Paul Vriens
e80000e6ab
comctl32: Fix return values of string functions.
2006-11-08 11:20:27 +01:00
Francois Gouget
30e44c85c8
Assorted spelling fixes.
2006-11-07 15:25:24 +01:00
Francois Gouget
88f3cb2a7d
comctl32: Add missing '\n' to ok() call.
2006-11-07 15:24:36 +01:00
Mike McCormack
dfb41b35c4
comctl32: Switch to a Nx4 tiling.
2006-11-06 12:23:10 +01:00
Mike McCormack
6772873396
comctl32: Remove a Nx1 assuption in ImageList_AddMasked().
2006-11-06 12:21:24 +01:00
Mike McCormack
49df0467b1
comctl32: Check if GetObject fails on bitmaps passed to us.
2006-11-06 12:21:14 +01:00
Mike McCormack
6a9209da8f
comctl32: Fix Nx1 assumptions when adding multiple bitmaps with ImageList_Add.
2006-11-06 12:20:52 +01:00
Mike McCormack
ba73cac961
comctl32: Fix an Nx1 in ImageList_DrawIndirect().
2006-11-06 12:20:43 +01:00
Mike McCormack
4e5f56a8e0
comctl32: Remove another Nx1 assumption from ImageList_Remove().
2006-11-06 12:20:32 +01:00
Mike McCormack
ca6be70819
comctl32: Remove Nx1 assumptions in ImageList_Merge.
2006-11-06 12:20:22 +01:00
Mike McCormack
9cd86dddf1
comctl32: Remove Nx1 assumptions in ImageList_GetIcon().
2006-11-06 12:20:13 +01:00
Mike McCormack
1328ca572b
comctl32: Use imagelist_copy_images() in ImageList_SetImageCount().
2006-11-06 12:19:59 +01:00
Mike McCormack
7370fc0e70
comctl32: Create a helper function to copy a block of images.
2006-11-06 12:19:26 +01:00
Mike McCormack
83149b1d2c
comctl32: Fix a regression.
2006-11-06 12:13:19 +01:00
Huw Davies
c18af414e5
comctl32: Implement PSM_GETRESULT.
2006-11-02 21:00:55 +01:00
Huw Davies
6d0b86a92b
comctl32: Fix return value of PropertySheet() for modal propsheets.
2006-11-02 21:00:51 +01:00
Mikołaj Zalewski
258008012c
comctl32: toolbar: Add buttons size tests.
2006-11-02 12:31:32 +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
Paul Vriens
d44b0dba6f
comctl32: Move documented functions to string.c.
2006-11-02 12:29:24 +01:00
Mike McCormack
f97bf3e6e0
comctl32: imagelist: Remove more 1xN assumptions.
2006-11-02 12:24:08 +01:00
Mike McCormack
5f89960a56
comctl32: Remove a redundant variable.
2006-11-02 12:24:01 +01:00
Mike McCormack
83a66a981f
imagelist: Move Nx1 assumptions about bitmaps dimensions into a single function.
2006-11-01 13:38:25 +01:00
Mike McCormack
d9598c383c
comctl32: Remove some more Nx1 assumptions.
2006-10-31 11:46:54 +01:00
Mike McCormack
b0499bf71b
comctl32: Move code assuming Nx1 into ImageList_CreateImage.
2006-10-27 12:01:13 +02:00
Oleg Krylov
32caf30f9c
comctl32: Create tooltip windows with WS_POPUP style.
2006-10-25 20:21:34 +02:00
Oleg Krylov
bea5b4b9f7
comctl32: statusbar: Create tooltip window with WS_POPUP and TTS_ALWAYSTIP style.
2006-10-25 20:21:13 +02:00
Alexandre Julliard
7cca856315
comctl32: Properly handle negative coordinates for mouse events.
2006-10-25 17:41:48 +02:00
Mike McCormack
11f4fb2dd5
comctl32: Create a point from index function and use it.
2006-10-25 12:14:36 +02:00
Francois Gouget
9fe4673347
Don't include windows.h & co in the Wine sources.
...
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00
Mikołaj Zalewski
58bd35c8c5
resources: Change Dutch sublanguage code to SUBLANG_NEUTRAL.
2006-10-24 17:45:51 +02:00
Mikołaj Zalewski
e32aa55703
resources: Change German sublanguage code to SUBLANG_NEUTRAL.
2006-10-24 11:45:12 +02:00
Michael Stefaniuc
962e97dbf3
comctl32/tests: Specify type of function argument and remove unused arguments.
2006-10-24 11:33:28 +02:00
Rob Shearman
c932790dcf
comctl32: Fix imagelist leak in tests.
2006-10-23 15:18:03 +02:00
Andrew Talbot
e2d9ce1dbc
comctl32: Cast-qual warnings fix.
2006-10-23 14:39:07 +02:00
Alexandre Julliard
9d6d54f5e6
comctl32: Position the tooltip window correctly on multi-monitor setups.
2006-10-23 14:38:11 +02:00
Byeong-Sik Jeon
e1fd734c97
Korean: Use SUBLANG_NEUTRAL in Korean resources.
2006-10-20 13:49:39 +02:00
Andrew Talbot
30dd37edb0
comctl32: Cast-qual warnings fix.
2006-10-20 10:19:51 +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
4205c64e8b
comctl32: rebar: Use SM_CYEDGE for heights in NCCalcSize.
2006-10-17 11:17:50 +02:00
Mikołaj Zalewski
1b8c98d35d
comctl32: rebar: Don't return rectangles with negative width or height in NCCalcSize.
2006-10-16 20:10:34 +02:00
Mikołaj Zalewski
1e9acccefd
comctl32: listview: Update the scroll bars after resizing the last column.
2006-10-16 17:05:54 +02:00
Mikołaj Zalewski
4c5de64014
comctl32: header: Test and improve the custom draw and owner draw code.
2006-10-16 11:30:34 +02:00
Mikołaj Zalewski
b182950bb9
comctl32: header: Make all repaints pass through HEADER_Refresh.
2006-10-16 11:29:48 +02:00