Commit Graph

2218 Commits

Author SHA1 Message Date
Michael Stefaniuc 02933a11de dlls: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:49 +02:00
Mikołaj Zalewski 5507a073c5 comctl32: toolbar: We should send TBN_GETDISPINFOW even for ANSI controls (with testcase). 2007-07-11 11:59:33 +02:00
Mikołaj Zalewski e66523e19b comctl32: toolbar: The iImage in TBN_GETDISPINFO should be initialized to -1. 2007-07-11 11:53:33 +02:00
Markus Gömmel f281d0e77d comctl32/datetime: Added a missing InvalidateRect to update display after WM_ENABLE. 2007-07-02 13:24:17 +02:00
Michael Stefaniuc ff01912a48 comctl32: Replace malloc() with HeapAlloc(). 2007-06-29 12:32:51 +02:00
Lei Zhang e3b80a0d88 comctl32: Determine if PSH_PROPSHEETPAGE is set once. 2007-06-26 12:12:36 +02:00
Lei Zhang f4dd14abc6 comctl32: Reduce duplicate code between PROPSHEET_CollectSheetInfoA/W. 2007-06-26 12:12:25 +02:00
Lei Zhang 0cbee494b3 comctl32: Reduce duplicate code between PropertySheetA/W. 2007-06-26 12:12:12 +02:00
Alexandre Julliard 52e5d3849f comctl32: Get rid of CharNextW/CharPrevW. Simplify some string functions. 2007-06-25 13:51:00 +02:00
Michael Stefaniuc 585f863c24 comctl32: Do not use wide character constants. 2007-06-22 12:18:59 +02:00
Lei Zhang ebb460c3c0 comctl32: Make modal property sheets modal. 2007-06-15 13:24:13 +02:00
Alexandre Julliard 0f63ad92cc comctl32: Remove useless pointer check. 2007-06-13 11:19:36 +02:00
Francois Gouget 96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
Markus Goemmel 4b8d442477 comctl32/listview.c: Ownerdraw font problem during focus change fixed. 2007-06-06 20:34:19 +02:00
Mikołaj Zalewski a1b55be693 comctl32: listview: Make LVM_GETCOLUMNWIDTH query the header control instead of using cached data. 2007-06-04 13:16:36 +02:00
Misha Koshelev fc5a746104 comctl32: imagelist: Fix simultaneous selection of one bitmap into two device contexts. 2007-06-01 12:43:40 +02:00
Dmitry Timoshkov 18366472c7 comctl32: Fix a compilation warning in 64-bit mode. 2007-06-01 12:42:06 +02:00
Louis Lenders b7a5985bca comctl32: Add stub for DrawShadowText. 2007-05-31 13:07:20 +02:00
Francois Gouget c9533adc52 comctl32/tests: The PSDK does not define ListView_InsertItemA() so don't use it. 2007-05-29 12:13:38 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Dmitry Timoshkov 6055d04f07 comctl32/tests: Fix some problems revealed by compilation in 64-bit mode. 2007-05-24 11:36:23 +02:00
Aric Stewart df0d77b007 comctl32: Trying to blend an image without a mask causes problem, especially if the background is white. 2007-05-18 14:42:30 +02:00
Mikołaj Zalewski 7b8241b1ee comctl32: toolbar: TB_SETIMAGELIST should try to preserve button width. 2007-05-16 11:55:38 +02:00
Francois Gouget 0acb5810bf Assorted spelling fixes. 2007-05-15 18:09:16 +02:00
Mikołaj Zalewski 1f0183e218 comctl32: status: Send a NMMOUSE in mouse notifications, not a NMHDR. 2007-05-14 15:41:29 +02:00
Mikołaj Zalewski 81cf09c6da comctl32: treeview: Treeviews shouldn't be sending NM_TOOLTIPSCREATED (with testcase). 2007-05-07 14:26:22 +02:00
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