Mikołaj Zalewski
61a86024cc
comctl32: treeview: Make the focus test pass under Windows XP.
2007-05-07 14:26:03 +02:00
Alexandre Julliard
69a88a9d40
Fix minor differences in the formatting of the license notices.
2007-05-04 12:08:15 +02:00
Dmitry Timoshkov
19377e4ed6
comctl32: Remove a stray back slash.
2007-05-02 14:58:54 +02:00
Dmitry Timoshkov
83f51d08df
comctl32: Add more image list tests, fix one problem found.
2007-04-24 11:53:59 +02:00
Mikołaj Zalewski
ca7b0c86f8
comctl32: toolbar: In CreateToolbarEx the default bitmap size is also 16x16.
2007-04-24 10:19:23 +02:00
Mikołaj Zalewski
3d7a65355e
comctl32: toolbar: Don't execute TB_GETBUTTONINFO if cbSize is invalid.
2007-04-24 10:19:04 +02:00
Mikołaj Zalewski
10b1d00113
comctl32: toolbar: Merge TOOLBAR_GetButtonInfoA and TB_GetButtonInfoW.
2007-04-24 10:18:33 +02:00
Dmitry Timoshkov
8c5cf0cbae
comctl32: Add an image list storage test, make it pass under Wine.
2007-04-23 13:58:15 +02:00
Dmitry Timoshkov
43bca23840
comctl32: Use packing only for public ILHEAD structure, 2 bytes packing is enough.
2007-04-23 13:58:05 +02:00
Dmitry Timoshkov
e0195ca4ef
comctl32: Fix an off by one error in ImageList_Remove.
2007-04-23 13:57:02 +02:00
Lei Zhang
bf7b0b89fe
comctl32: monthcal: GetMonthRange Tests.
2007-04-13 11:42:52 +02:00
Lei Zhang
b47a756ac7
comctl32: More monthcal hit tests.
2007-04-12 16:18:18 +02:00
Lei Zhang
6fb16fca6b
comctl32: Fix first day of the week in monthcal.
2007-04-10 11:50:24 +02:00
Felix Nawothnig
fe5881c788
comctl32: Allow enabling TVS_CHECKBOXES on the fly.
2007-04-07 11:01:22 +02:00
Felix Nawothnig
7657913873
comctl32: Allow destruction of toolbar in BN_CLICKED handler.
2007-04-06 12:31:08 +02:00
Felix Nawothnig
b7f0901956
comctl32: Use appropriate font for header drag image.
2007-04-06 12:31:05 +02:00
Felix Nawothnig
a4d3e46e65
comctl32: Fix item rect calculation.
2007-04-06 12:31:05 +02:00
Aric Stewart
5688ffb7ab
comctl32: Propsheet exception fix.
...
Do not attempt to draw a page during WM_PAINT if there is no active page.
2007-04-04 16:16:53 +02:00
Francois Gouget
0081b430e1
Assorted spelling and English fixes.
2007-04-03 11:23:12 +02:00
Andrew Talbot
b84348c4ce
comctl32: Constify some variables.
2007-04-03 11:22:12 +02:00
Andrew Talbot
3c9f867f77
comctl32: Constify some variables.
2007-04-03 11:22:06 +02:00
Andrew Talbot
58ec988800
comctl32: Constify some variables.
2007-04-03 11:22:00 +02:00
Andrew Talbot
51ee497174
comctl32: Constify some variables.
2007-04-03 11:21:51 +02:00
Andrew Talbot
13cd63af43
comctl32: Constify some variables.
2007-04-03 11:21:45 +02:00
Andrew Talbot
8366dd1703
comctl32: Constify some variables.
2007-04-03 11:21:17 +02:00
Andrew Talbot
af16b105a7
comctl32: Constify some variables.
2007-04-03 11:21:11 +02:00
Aric Stewart
2a8463b558
comctl32: Unset active page while setting a new active page for a propsheet.
...
Before calling the PSN_SETACTIVE in PROPSHEET_SetCurSel set the
active_page to -1. This prevents crashes and corruption of the
property sheet if the application makes any modifications during the
PSN_SETACTIVE.
2007-04-02 12:09:19 +02:00
Andrew Talbot
f44cb11a73
comctl32: Constify some variables.
2007-04-02 11:37:44 +02:00
Andrew Talbot
bd51f1c98f
comctl32: Constify some variables.
2007-04-02 11:37:18 +02:00
Andrew Talbot
abf4d3b8cd
comctl32: Constify some variables.
2007-04-02 11:37:03 +02:00
Andrew Talbot
9a76763c90
comctl32: Constify some variables.
2007-04-02 11:36:23 +02:00
Andrew Talbot
3017a48e48
comctl32: Cast-qual warnings fix.
2007-03-30 10:55:19 +02:00
Andrew Talbot
a8a469c7c0
comctl32: Constify some variables.
2007-03-30 10:55:19 +02:00
Andrew Talbot
b07d7ce729
comctl32: Constify some variables.
2007-03-29 21:07:58 +02:00
Francois Gouget
d9e8a0f63e
Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll.
2007-03-28 12:36:13 +02:00
Andrew Talbot
3253bf5570
comctl32: Constify some variables.
2007-03-28 12:06:09 +02:00
Mikołaj Zalewski
7bf7cdd1a9
comctl32: toolbar: TB_HIDEBUTTON and TB_MOVEBUTTON shouldn't force a recalc.
2007-03-28 12:05:15 +02:00
Andrew Talbot
79205875f7
comctl32: Constify some variables.
2007-03-27 12:37:02 +02:00
Piotr Caban
2b1f1093f0
comctl32: Set label width after editting.
2007-03-27 12:34:23 +02:00
Piotr Caban
47aaf09dc3
comctl32: Fixed TreeView_EndEditLabelNow crash.
2007-03-26 12:34:27 +02:00
Andrew Talbot
94ebade2c3
comctl32: Constify some variables.
2007-03-23 13:04:50 +01:00
Andrew Talbot
f63233d6a3
comctl32: Constify some variables.
2007-03-23 13:04:43 +01:00
Andrew Talbot
f76d076f8e
comctl32: Constify some variables.
2007-03-22 11:28:03 +01:00
Andrew Talbot
62545611b2
comctl32: Constify some variables.
2007-03-21 11:59:37 +01:00
Mikołaj Zalewski
307f39c0d5
comctl32: toolbar: We shouldn't try to resize standard bitmaps.
2007-03-21 11:59:31 +01:00
Mikołaj Zalewski
e3b7c3045a
comctl32: toolbar: Test standard buttons size.
2007-03-21 11:59:21 +01:00
Mikołaj Zalewski
d4a67c4382
comctl32: toolbar: The default button size is 16x16.
2007-03-21 11:59:11 +01:00
Kanit Therdsteerasukdi
2a79d96278
comctl32: datetime: Reject invalid flags in DTM_SETSYSTEMTIME.
...
Reject invalid flags in DTM_SETSYSTEMTIME i.e. when the flag is neither
GDT_VALID nor GDT_NONE when the style is set to DTS_SHOWNONE. Corresponding
setters and message sequence tests were also added.
2007-03-19 13:08:36 +01:00
Mikołaj Zalewski
c9ca25aa1d
comctl32: CreateToolbarEx should send TB_SETBITMAPSIZE twice.
2007-03-19 13:08:23 +01:00
Hagop Hagopian
637a6116e2
comctl32: tab: Minor bug fixes in the curSel and curFocus getters and setters.
2007-03-19 12:16:41 +01:00
Hagop Hagopian
62d3be772d
comctl32: tab: Added message sequence tests for the tab control.
2007-03-19 12:16:23 +01:00
Andrew Talbot
74ab88ca97
comctl32: Replace inline static with static inline.
2007-03-17 20:03:19 +01:00
Keith Stevens
3a58b51aa3
comctl32: trackbar: Return the correct number of tics for TBM_GETNUMTICS.
2007-03-16 11:54:27 +01:00
Keith Stevens
de608991ea
comctl32: trackbar: Correctly set lSetMin and lSelMax.
...
Modify the behavior when the messages TBM_SETSEL, TBM_SETSELSTART, and
TBM_SETSELEND are sent and TBS_ENABLESELRANGE is not set. When the
style TBS_ENABLESELRANGE is not set, Windows observed behavior is to
set the Selection Start and End values to 0, rather than leave them
unchanged.
2007-03-16 11:53:56 +01:00
Farshad Agah
86ea6b5820
comctl32: monthcal: Correct the return value in MCM_SETFIRSTDAYOFWEEK.
2007-03-16 11:53:22 +01:00
Kanit Therdsteerasukdi
7cc0b970b6
comctl32: datetime: Test for out of range dates in DTM_SETSYSTEMTIME only when flag=GDT_VALID.
2007-03-16 11:36:04 +01:00
Farshad Agah
4c73411047
comctl32: monthcal message sequence test cases.
2007-03-16 11:21:23 +01:00
Keith Stevens
06c91e925f
comctl32/tests: trackbar: Test message sequences.
2007-03-16 11:19:44 +01:00
Keith Stevens
ab2eb1f42b
comctl32/tests: trackbar: Reorganize the getter and setter tests into functions.
2007-03-16 11:19:11 +01:00
Kanit Therdsteerasukdi
fed00cb82e
comctl32: datetime: Return 1 in DTM_SETFORMAT when successful.
2007-03-16 11:18:30 +01:00
Mikołaj Zalewski
a66784c7d1
comctl32: Register all the controls in DllMain.
2007-03-14 22:45:17 +01:00
Leslie Choong
851197f80c
comctl32: updown: Added message sequencing tests.
2007-03-14 18:59:31 +01:00
Leslie Choong
4e337ad8d5
comctl32: updown: Expect macro and spelling errors.
2007-03-14 18:59:20 +01:00
Kanit Therdsteerasukdi
fe5471e717
comctl32: datetime: Reject out of range dates in DTM_SETSYSTEMTIME.
2007-03-14 13:14:02 +01:00
Francois Gouget
b8f517b063
comctl32/tests: Add missing '\n's in ok() calls.
2007-03-14 12:10:44 +01:00
Felix Nawothnig
6a514819db
comctl32: Fix visual glitches with TVS_HASLINES.
2007-03-13 21:55:01 +01:00
Felix Nawothnig
0f2f718dea
comctl32: Layout and redraw on TCM_SETIMAGELIST.
2007-03-13 21:54:47 +01:00
George Gov
aa685beb07
comctl32: Add some listview message tests.
2007-03-13 21:32:36 +01:00
Mikołaj Zalewski
88bdc3af95
comctl32: listview: Compute the state icon rect in GetItemMetrics.
2007-03-13 21:27:44 +01:00
Stefan Huehner
4d1d01f266
Mark several functions as static.
2007-03-13 13:35:12 +01:00
Stefan Huehner
20223d3d2e
comctl32: rebar: Test the rebar style for RBBS_VARIABLEHEIGHT, not the passed in structure.
2007-03-13 13:22:47 +01:00
Shanren Zhou
df578b8469
comctl32: Added header message sequence test cases.
2007-03-13 13:22:03 +01:00
Shanren Zhou
92f230c2fb
comctl32: Header message sequence test cases.
...
Added separate parent and child header controls for each test case and
fixed a typo ('Data Modified' should be 'Date Modified').
2007-03-13 13:21:38 +01:00
Hagop Hagopian
89c7907025
comctl32: Adding getter-setter tests for tab control.
2007-03-12 13:19:00 +01:00
Stefan Huehner
51a7ca3440
Change some functions arguments from () -> (void).
2007-03-12 12:25:31 +01:00
Felix Nawothnig
79d4dfb601
comctl32: Implement LVS_EX_DOUBLEBUFFER.
2007-03-12 12:08:19 +01:00
Felix Nawothnig
5cdcfbfaa0
comctl32: Fix a typo.
2007-03-12 12:03:32 +01:00
Felix Nawothnig
7b99592975
comctl32: Fix my last patch.
...
My last patch was wrong and caused some nasty regressions. Mapping
CLR_DEFAULT to the global defaults seem to be what native does.
2007-03-12 12:03:25 +01:00
Chris Peterson
ee2804fda5
comctl32: treeview: Message sequencing tests.
2007-03-12 12:00:51 +01:00
Felix Nawothnig
08670ee725
comctl32: Remove clrTextBkDefault member from LISTVIEW_INFO and fix (clrTextBk == CLR_DEFAULT) handling for custom drawing.
2007-03-09 21:18:10 +01:00
Felix Nawothnig
8677069c26
comctl32: Add a failing custom draw related test.
2007-03-09 21:17:55 +01:00
Farshad Agah
d0f75b5993
comctl32: monthcal: Reject out of range dates in MCM_SETCURSEL.
2007-03-09 11:36:53 +01:00
Michael Stefaniuc
22ecd7aa67
comctl32: Remove redundant NULL checks before Free() (found by Smatch).
2007-03-08 11:58:04 +01:00
Andrew Talbot
80103832c8
comctl32: Replace const pointer parameter with correct pointer to const.
2007-03-06 12:10:35 +01:00
Kanit Therdsteerasukdi
3cdf24394f
comctl32: datetime: Tests for events for date and time picker added.
2007-03-05 12:07:25 +01:00
Mikołaj Zalewski
beff84c1d3
comctl32: header tests: Support different window border width.
2007-03-01 20:42:49 +01:00
Mikołaj Zalewski
6156154409
comctl32: rebar tests: Support different window border width.
2007-03-01 20:42:49 +01:00
Mikołaj Zalewski
9b4191eaf8
comctl32: rebar: Remove the not needed BANDS_NEED_LAYOUT flag.
2007-03-01 11:38:37 +01:00
Mikołaj Zalewski
95d0e58659
comctl32: rebar: WM_SETFONT should send a RBN_HEIGHTCHANGE if necessary.
2007-03-01 11:38:24 +01:00
Felix Nawothnig
9badfb50cf
comctl32: Update header window in listview WM_PAINT handler.
2007-02-28 21:04:15 +01:00
Felix Nawothnig
f671aed503
comctl32: Add listview WM_PAINT message sequence tests.
2007-02-28 21:04:05 +01:00
James Hawkins
2b5f79c9a8
comctl32: Add message ids to allow multi-window test sequences.
2007-02-28 21:03:46 +01:00
Alex Arazi
489db09da8
comctl32: More status bar tests.
2007-02-26 17:59:40 +01:00
Samuel Lidén Borell
0ee7264c37
comctl32: Use mask value in COMBOEX_GetItemA too.
2007-02-26 14:39:10 +01:00
Mikołaj Zalewski
a02a680b72
comctl32: rebar: Test the RBN_HEIGHTCHANGE notify and do some fixes.
2007-02-26 14:07:40 +01:00
Mikołaj Zalewski
f3ebf1c7f4
comctl32: listview: Set the style in WM_CREATE.
2007-02-26 13:58:31 +01:00
Jan Zerebecki
fa86532354
comctl32: Add DebugInfo to critical section.
2007-02-23 11:58:07 +01:00
Aric Stewart
aecbb11e40
comctl32: Implement LVM_SETUNICODEFORMAT.
2007-02-22 11:27:01 +01:00
Lei Zhang
b29c99c59a
comctl32: Move up-down msg seq test functions into msg.c.
2007-02-21 17:45:38 +01:00
Francois Gouget
93494f2ac0
Assorted spelling fixes.
2007-02-20 20:30:51 +01:00
Thomas Weidenmueller
254b97732b
comctl32: Implement LM_GETIDEALSIZE for the syslink control.
2007-02-20 20:10:53 +01:00
Mikołaj Zalewski
3f5458dc95
comctl32: rebar: Store the oldSize as a local variable.
2007-02-20 11:43:47 +01:00
Mikołaj Zalewski
a268538e0e
comctl32: rebar: Store the coordinates of infoPtr->calcSize swapped for CCS_VERT.
2007-02-20 11:43:36 +01:00
Mikołaj Zalewski
ffbf61ae55
comctl32: rebar: Test and fix the WM_SIZE handler and REBAR_ForceResize.
2007-02-20 11:43:13 +01:00
Mikołaj Zalewski
f0a7a74666
comctl32: rebar: Rewrite the layout code.
2007-02-20 11:40:19 +01:00
Marcus Meissner
abe1ede385
comctl32: Fixed new header test.
2007-02-19 12:37:19 +01:00
Rob Shearman
4ef2442608
comctl32: Don't free user32 objects with a gdi32 function in imagelist test.
...
Use DestroyIcon for releasing the resources associated with created icons.
2007-02-19 12:33:19 +01:00
Kanit Therdsteerasukdi
9928c494f9
comctl32: datetime: Initial tests for date and time picker.
2007-02-19 12:32:58 +01:00
Chris Peterson
e0983d4c20
comctl32: treeview: New conformance tests for TreeView controls.
2007-02-16 13:19:24 +01:00
Farshad Agah
5d7fe33ef9
comctl32: Added monthcal test cases.
2007-02-16 12:35:32 +01:00
Francois Gouget
f9975b004d
comctl32/tests: Add missing '\n's to ok() calls.
2007-02-16 12:35:15 +01:00
Dmitry Timoshkov
79909e7e5a
comctl32: Change internal imagelist bitmap storage in the way applications with pre-compiled imagelists expect it.
2007-02-15 14:19:32 +01:00
Keith Stevens
ec57871f4f
comctl32: Add trackbar tests.
2007-02-14 21:38:32 +01:00
Francois Gouget
536e738552
Assorted spelling fixes.
2007-02-14 21:03:57 +01:00
Shanren Zhou
613998d4f6
comctl32: Add header tests.
2007-02-14 14:42:40 +01:00
Felix Nawothnig
8784d47cba
comctl32: Remove redundant NULL checks before Free() calls.
2007-02-14 12:22:39 +01:00
Felix Nawothnig
43c0ce1638
comctl32: Add tests for Alloc() and friends.
2007-02-14 12:22:09 +01:00
Felix Nawothnig
feb4abf118
comctl32: Rename 'string' test to 'misc'.
2007-02-14 12:21:57 +01:00
Leslie Choong
b3c0a29061
comctl32: updown: Getter and setter tests for updown control.
2007-02-13 17:16:31 +01:00
Dmitry Timoshkov
74950a9e1f
comctl32: Implement ImageList_GetFlags.
2007-02-13 12:08:41 +01:00
Dmitry Timoshkov
369749dcb2
comctl32: Make ImageList_Read and ImageList_Write compatible with each other, simplify the code.
2007-02-12 14:12:48 +01:00
Duane Clark
5bc1a8de87
treeview: Scrolling does not cause label being edited to lose focus.
2007-02-12 12:39:34 +01:00
Vitaly Lipatov
c8bcbdb90d
Some fixes in russian resources.
2007-02-09 11:48:28 +01:00
Mikołaj Zalewski
3ea059c9d7
comctl32: listview: Create the LISTVIEW_INFO in WM_NCCREATE.
2007-02-08 13:01:18 +01:00
Paul Vriens
aaa1c802a4
comctl32/tests: Fix typo (Coverity).
2007-02-07 22:06:00 +01:00
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
Felix Nawothnig
79e265accd
comctl32: Remove unnecessary and misused mask member from TAB_ITEM.
2007-02-07 11:03:01 +01:00
Rob Shearman
65f1d6a38e
comctl32: Fix the computation of the select bounds item rect
...
and fixup the places that depended on the old behaviour.
2007-02-06 21:32:46 +01:00
Mikołaj Zalewski
1ee6c9e3c5
comctl32: rebar: Fix lpBand->lpText memory leak in DeleteBand and simplify the code.
2007-02-05 12:28:49 +01:00
Mikołaj Zalewski
95c74f19a7
comctl32: rebar: Merge SetBandInfoA and SetBandInfoW.
2007-02-05 12:28:41 +01:00
Mikołaj Zalewski
0f77096706
comctl32: rebar: Merge GetBandInfoA and GetBandInfoW.
2007-02-05 12:28:33 +01:00
Mikołaj Zalewski
d8d5196ddb
comctl32: rebar: Merge InsertBandA and InsertBandW.
2007-02-05 12:28:24 +01:00
Mikołaj Zalewski
8909419b55
comctl32: rebar: Add some tests for rebar and change the way the header size is fixed.
2007-02-05 12:27:45 +01:00
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
Mikołaj Zalewski
b793472232
comctl32: rebar: bUnicode and NtfUnicode should be the same.
2006-10-16 11:29:40 +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
Michael Ploujnikov
a348e0936a
comctl32/tests: Win64 printf format warning fixes.
2006-10-13 15:46: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
8304d0675f
comctl32: header: Call DefWindowProcW not DefWindowProcA.
2006-10-12 12:55:10 +02:00
Mikołaj Zalewski
3f89a71323
comctl32: header: Invalidate the control after a WM_SETREDRAW with wParam == TRUE.
2006-10-12 12:55:03 +02:00
Mikołaj Zalewski
056d004b3b
comctl32: listview: Don't call ScrollColumn with an out of bounds index when resizing the last column.
2006-10-12 12:53:26 +02:00
James Hawkins
cd073a66a5
comctl32: Make internal functions static.
2006-10-12 11:35:05 +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
Mike McCormack
1207e84af5
comctl32: Return the correct value for CB_GETLBTEXTLEN.
2006-10-06 12:54:38 +02:00
Hans Leidekker
385a8da4e4
Don't use utf-8 in rc files.
2006-10-06 12:32:23 +02:00
Francois Gouget
82babbee0b
Add missing '\n's to Wine traces.
2006-10-05 17:46:48 +02:00
James Hawkins
3d2b37cc83
comctl32: Set the TVIF_TEXT mask when notifying the parent window of a selection change.
2006-10-04 09:59:27 +02:00
Francois Gouget
20eb2f9998
comctl32: Fix LVM_GETITEM/LVIF_STATE so it only returns the bits it
...
has been asked for, and sets all the others to zero (with conformance
test).
2006-10-03 20:18:57 +02:00
Francois Gouget
68e84a7a53
Add missing '\n's to ok() calls.
2006-09-29 17:53:39 +02:00
Francois Gouget
222c167969
Assorted spelling fixes.
2006-09-29 16:28:30 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +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
100e394b51
comctl32: Update Polish translation.
2006-09-27 09:40:05 +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
89f537dd57
comctl32: imagelist: SetImageCount can be used to decrease image count (with testcase).
2006-09-21 17:41:05 +02:00
Mikołaj Zalewski
80664defa8
comctl32: toolbar: Add some tests for TB_ADDBITMAP.
2006-09-21 17:40:45 +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
Mikołaj Zalewski
5564266a8a
comctl32: header: Update the header comment.
2006-09-20 11:21:41 +02:00
Mikołaj Zalewski
e4f3689513
comctl32: header: Remove the nOldWidth.
2006-09-20 11:21:32 +02:00
Mikołaj Zalewski
bd7f9321a0
comctl32: header: Send new values in notifies during resize and drag-drop instead of the old ones.
...
This also fixes the notify format of HDN_ITEMCLICKED(A/W).
2006-09-20 11:21:22 +02:00
Mikołaj Zalewski
f85ceb1be3
comctl32: header: Merge the simple delete and complex delete.
2006-09-20 11:21:05 +02:00
Mikołaj Zalewski
d98b9a4655
comctl32: header: Simplify the insert/delete code by using ReAlloc.
2006-09-20 11:20:30 +02:00
Mikołaj Zalewski
8ab78e18c6
comctl32: header: Test the header order-management code and fix some bugs.
2006-09-20 11:19:30 +02:00
Mikołaj Zalewski
9de2c506dd
comctl32: listview: Don't edit labels after the first click of a double click.
2006-09-14 11:11:40 +02:00
Mikołaj Zalewski
88b0e04de7
comctl32: listview: Don't edit labels on click if the view was not focused.
2006-09-14 11:10:59 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Andrew Talbot
cc90540c9b
comctl32: Cast-qual warnings fix.
2006-09-07 10:16:34 +02:00
Alexandre Julliard
5cf75e615a
makefiles: Only run test and documentation targets in directories that need them.
2006-08-28 13:37:44 +02:00
Marcus Meissner
a7ca25aa20
comctl32: Remove unneccessary default debug channels.
2006-08-26 18:54:05 +02:00
Stefan Huehner
998e256c82
Fix some -Wstrict-prototype warnings () -> (void).
2006-08-21 12:06:26 +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
496d634735
comctl32: Fix ImageList_Replace function to correctly apply image mask.
2006-08-18 11:34:21 +02:00
Oleg Krylov
3e68a1f1ff
comctl32: toolbar: Use HOT imagelist for buttons in CHECKED state.
2006-08-17 11:19:47 +02:00
Huw Davies
650c9c42de
comctl32: Limit the width of the watermark to 164 pixels.
2006-08-01 18:41:59 +02:00
Huw Davies
608ddd4742
comctl32: Limit the size of the header bitmap to 49x49.
2006-08-01 18:41:48 +02:00
Huw Davies
d1be762464
comctl32: Invalidate the header area so that updated titles will be drawn.
2006-08-01 18:41:40 +02:00
Huw Davies
12c0da6815
comctl32: Wordwrap the sub title.
2006-08-01 18:41:35 +02:00
Huw Davies
64ddc97b09
comctl32: The titles are already converted to unicode so always use DrawTextW to write them.
2006-08-01 18:41:01 +02:00
Andrew Talbot
1a40c4c552
comctl32/tests: Write-strings warnings fix.
2006-07-31 10:51:15 +02:00
Andrew Talbot
8d1e492ad3
comctl32/tests: Write-strings warnings fix.
2006-07-20 12:11:18 +02:00
Hwang YunSong(황윤성)
c872bd5fed
comctl32: Updated Korean resource.
2006-07-20 12:10:21 +02:00
Huw Davies
f01ae8ace9
comctl32: All items should be marked as unchecked when LVS_EX_CHECKBOXES is initially set.
...
When a new item is added with LBS_EX_CHECKBOXES already set then that item is marked as unchecked.
2006-07-18 11:09:27 +02:00
Paul Vriens
412aa2a10d
comctl32: Use struct member after check for NULL (Coverity).
2006-07-17 13:53:49 +02:00