Commit Graph

3347 Commits

Author SHA1 Message Date
Nikolay Sivov 7fb6031731 comctl32/monthcal: Erase week numbers rectangle before drawing new text. 2010-08-02 14:08:48 +02:00
Nikolay Sivov 49949cbbc2 comctl32/monthcal: No need to calculate month length on every iteration. 2010-08-02 14:08:40 +02:00
Nikolay Sivov db10fb8301 comctl32/monthcal: Get rid of stored current selection date, it's always synced with lower bound. 2010-08-02 14:08:34 +02:00
Nikolay Sivov 516c322ecc comctl32/monthcal: Add support for month delta in button navigation. 2010-08-02 14:08:20 +02:00
Nikolay Sivov b83d11ace4 comctl32/monthcal: Add helper to jump to specified number of months. 2010-08-02 14:08:14 +02:00
Nikolay Sivov 23e9866be8 comctl32/monthcal: Fix navigation from last day in a month. 2010-08-02 14:08:06 +02:00
Nikolay Sivov a35085457e comctl32/monthcal: Rename button navigation helper to better reflect its purpose. 2010-08-02 14:08:00 +02:00
Andrew Talbot 2b9ff98203 comctl32: Constify some variables. 2010-08-02 12:55:21 +02:00
Andrew Talbot 2061bf5f38 comctl32: Constify some variables. 2010-08-02 12:55:21 +02:00
Nikolay Sivov 279677b7d8 comctl32/treeview: Fix possible crash in TVS_SINGELEXPAND helper (Coverity). 2010-07-28 16:28:23 +02:00
Nikolay Sivov 6711780a8f comctl32/tests: Merge one test function to existing tests, use explicit message numbers. 2010-07-26 18:38:32 +02:00
Nikolay Sivov 16dfb1a039 comctl32/treeview: Fix TVS_SINGLEEXPAND notifications order. 2010-07-26 18:38:32 +02:00
Nikolay Sivov b3a61c1329 comctl32/treeview: Properly initialize expanded image index. 2010-07-26 18:38:32 +02:00
Dmitry Timoshkov 1bf5e12e95 comctl32: Make sure that the focus is set to an existing property sheet button. 2010-07-22 16:07:54 +02:00
Michael Stefaniuc 7dfba50bca comctl32: Remove the ignored common resource attributes. 2010-07-22 10:39:05 +02:00
Paul Vriens 36b595e69c comctl32: Use the Cyrillic 'O' in the Serbian translation. 2010-07-22 10:21:59 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Paul Vriens bd16a7225d comctl32: Add the Serbian (Cyrillic) translation.
Translation by Nenad Vujic <nesa24casa@gmail.com>
2010-07-21 09:33:50 +02:00
Nikolay Sivov b486c50523 comctl32/monthcal: Use memcpy to copy day state arrays. 2010-07-20 16:28:17 +02:00
Alexandre Julliard af6fb4712f comctl32: Fix positioning of toolbars that have the WS_BORDER style. 2010-07-20 14:40:32 +02:00
Nikolay Sivov 94666ebf0d comctl32/monthcal: Prepare MCM_GETMONTHRANGE with GMR_VISIBLE for multiple calendars. 2010-07-19 15:15:53 +02:00
Nikolay Sivov 34fba5a2d2 comctl32/monthcal: Get rid of goto jumps in hit test helper. 2010-07-19 15:15:47 +02:00
Nikolay Sivov 8ea515c872 comctl32/monthcal: Modify hittesting helper to work with multiple calendars. 2010-07-19 15:15:41 +02:00
Nikolay Sivov 2042cbc243 comctl32/monthcal: Prepare drawing helpers for multiple calendars. 2010-07-19 15:15:33 +02:00
Nikolay Sivov 274d132b1f comctl32/monthcal: Separate single calendar data. 2010-07-19 15:15:22 +02:00
David Hedberg b30934c529 comctl32: Warn when using unsupported extended styles. 2010-07-19 15:09:05 +02:00
David Hedberg e81d65f8d4 comctl32: Add support for expanded state image in treeview. 2010-07-19 15:09:03 +02:00
Florian Köberle 4be9f0a79b comctl32: Simplify the code. 2010-07-19 14:38:17 +02:00
Florian Köberle 42c5ff799a comctl32: Call TREEVIEW_SendExpanded after expanding. 2010-07-19 14:38:17 +02:00
Paul Vriens 04678d955d comctl32: Add the Serbian (Latin) translation.
Translation by Nenad Vujic <nesa24casa@gmail.com>
2010-07-19 14:38:16 +02:00
Alexandre Julliard c45c9e9fe0 Revert "comctl32: Fix selection of tab via mouse."
This reverts commit 6018b88913. It
breaks several apps. To be revisited after 1.2.
2010-07-05 17:36:19 +02:00
Matthias Kupfer 6018b88913 comctl32: Fix selection of tab via mouse. 2010-07-02 16:50:03 +02:00
Igor Paliychuk 4629f28293 comctl32: Ukrainian translation update. 2010-07-01 13:44:15 +02:00
Dmitry Timoshkov 1066194f94 comctl32: Add a bunch of imagelist storage tests, make them pass under Wine. 2010-06-23 15:27:47 +02:00
Florian Köberle 2f77e2b93d comctl32/tests: Test calculating the rect of a child item while handling TVN_ITEMEXPANDED. 2010-06-21 11:52:26 +02:00
Hwang YunSong 40200a404d comctl32: Update Korean resource. 2010-06-21 11:47:58 +02:00
Nikolay Sivov 138b2435f9 comctl32/tests: Some expand notifications tests. 2010-06-10 14:59:09 +02:00
Nikolay Sivov 16973508e7 comctl32/treeview: Remove some casts. 2010-06-08 13:00:25 +02:00
Nikolay Sivov b354935092 comctl32/treeview: Remove commented out lines. 2010-06-08 13:00:07 +02:00
Nikolay Sivov 767754031d comctl32/treeview: Activate tree verification only when TRACE() is on. 2010-06-08 13:00:03 +02:00
Alexandre Julliard 9eea385a0e comctl32/imagelist: Grow the has_alpha array also in ImageList_SetImageCount. 2010-06-08 12:45:48 +02:00
Alex Balut 32f240bfc1 comctl32/tests: Added a test that checks whether setting a custom default button in a property sheet works. 2010-06-07 16:43:34 +02:00
Nikolay Sivov fb1d5310ad comctl32/rebar: Use defined constants as parameters. 2010-06-07 13:52:17 +02:00
Nikolay Sivov 60e467a6cd comctl32/rebar: Fix index check condition for RB_SHOWBAND. 2010-06-07 13:48:27 +02:00
Alexandre Julliard 48e396ea6c comctl32: Load comctl32 builtin bitmaps as 32-bit DIBs. 2010-06-02 15:51:39 +02:00
Alexandre Julliard 95c529dee6 comctl32: Only support an alpha channel for 32-bpp DIB-based imagelists. 2010-06-02 12:46:58 +02:00
Alexandre Julliard 350f0d3982 comctl32/imagelist: Initialize the mask bits to zero in case the mask bitmap is smaller than the image bitmap. 2010-06-01 16:26:15 +02:00
Alexandre Julliard d81ddde230 comctl32/imagelist: Don't select the mask bitmap into a DC, it may already be selected. 2010-06-01 16:25:47 +02:00
Paul Vriens 1dbcc0086e comctl32: Add Danish translation.
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-01 11:06:03 +02:00
Frédéric Delanoy 1bb4513a06 comctl32: Fix French translation. 2010-05-31 12:14:27 +02:00
Nikolay Sivov 07f9087365 comctl32: Fix accelerator letters for Toolbar customizing dialog. 2010-05-28 16:22:24 +02:00
Nikolay Sivov d926939b12 comctl32: Export subclass calls by names too. 2010-05-27 14:46:43 +02:00
Nikolay Sivov 01fdf21717 comctl32/listview: Perform ranges validation only when tracing enabled. 2010-05-26 17:36:32 +02:00
Alexandre Julliard f90b6d5af6 comctl32/imagelist: Fix a copy/paste typo in ImageList_Merge. 2010-05-26 17:36:23 +02:00
Alexandre Julliard 5572fc57ef comctl32/imagelist: Add support for 25% and 50% blending when using an alpha channel. 2010-05-26 15:39:17 +02:00
Michael Stefaniuc 02b4103868 comctl32: Avoid a potential NULL pointer dereference in a TRACE. 2010-05-25 13:27:33 +02:00
Nikolay Sivov 61c8a30574 comctl32/listview: Fix vertical position offset for subitem rectangle. 2010-05-24 11:30:33 +02:00
Nikolay Sivov 5d708246d7 comctl32/listview: Don't forward WM_COMMAND to parent if we don't have an Edit box. 2010-05-21 14:37:52 +02:00
Alexandre Julliard 8f1853a309 comctl32/imagelist: Clear pixels that fall outside the mask when generating an alpha channel. 2010-05-19 20:11:48 +02:00
Andrew Eikum fe92119f53 comctl32/listview: Derive subitem rect from listview origin. 2010-05-18 18:42:18 +02:00
Nikolay Sivov f894862ebc comctl32: Fix SysLink debug channel name, add a trace. 2010-05-18 18:42:09 +02:00
Alexandre Julliard 15efbc892b comctl32/imagelist: Don't pre-multiply the stored image, do it only at blending time. 2010-05-18 18:42:06 +02:00
Joel Holdsworth 4578a9262d comctl32: Replaced idb_hist_large.bmp with a Tango compliant tool strip. 2010-05-17 12:42:33 +02:00
Joel Holdsworth 6e5b8597ca comctl32: Replaced idb_hist_small.bmp with a Tango compliant tool strip. 2010-05-17 12:42:33 +02:00
Joel Holdsworth 32adeb44d9 comctl32: Replaced idb_std_large.bmp with a Tango compliant tool strip. 2010-05-17 12:42:32 +02:00
Joel Holdsworth 4079e368b5 comctl32: Replaced idb_std_small.bmp with a Tango compliant tool strip. 2010-05-17 12:42:32 +02:00
Joel Holdsworth 6ac142b0b7 comctl32: Replaced idb_view_large.bmp with a Tango compliant tool strip. 2010-05-17 12:42:32 +02:00
Joel Holdsworth bf08efd292 comctl32: Replaced idb_view_small.bmp with a Tango compliant tool strip. 2010-05-17 12:42:32 +02:00
Alexandre Julliard 3915cfbd02 comctl32/imagelist: Fix the allocated size of the has_alpha array. 2010-05-17 12:42:25 +02:00
Alexandre Julliard 45fd49bab6 comctl32/imagelist: Generate the mask from the alpha channel if present. 2010-05-16 18:23:04 +02:00
Alexandre Julliard f2b993d414 comctl32/imagelist: Pre-multiply the colors by the alpha channel when storing an image with alpha. 2010-05-16 18:22:53 +02:00
Alexandre Julliard 91948f9ce8 comctl32: Always alpha blend images for 32-bpp imagelists. 2010-05-14 16:17:56 +02:00
Alexandre Julliard 33e7d0282b comctl32: Store an alpha channel present flag for each image in an imagelist. 2010-05-14 16:17:56 +02:00
Alexandre Julliard 528722e4e1 comctl32: Also generate an alpha channel when replacing an image or icon in an imagelist. 2010-05-14 16:17:56 +02:00
Alexandre Julliard f02adf3e2b comctl32: Generate an alpha channel if necessary when adding images to a 32-bit imagelist. 2010-05-14 16:17:36 +02:00
Alexandre Julliard f75c7b5f71 comctl32: Make ImageList_AddMasked call ImageList_Add instead of duplicating the functionality. 2010-05-14 13:37:04 +02:00
Gerald Pfeifer 29cc4c9193 comctl32/tests: Check for the outcome of the SendMessage calls in test_monthcal_size. 2010-05-14 11:04:24 +02:00
Gerald Pfeifer 00d5f87d30 comctl32: Remove document of (already removed) infoPtr from LISTVIEW_StyleChanged. 2010-05-13 11:51:19 +02:00
Gerald Pfeifer b2ff743ccb comctl32: Remove unused variable infoPtr from TVIEW_StyleChanging. 2010-05-12 18:48:11 +02:00
Huw Davies c7a9e3a1b2 comctl32: Fix an hfont leak. 2010-05-11 17:44:25 +02:00
Gerald Pfeifer 47fff748cc comctl32/tests: Remove variable hwndheader which is not really used from test_redraw. 2010-05-11 11:40:29 +02:00
Gerald Pfeifer 1bca01cbc1 comctl32: Remove unused parameter bEnable from LISTVIEW_Enable. 2010-05-11 11:09:51 +02:00
Gerald Pfeifer 0453154d99 comctl32: Remove unused parameter fwKeys from LISTVIEW_MouseHover. 2010-05-11 11:09:46 +02:00
Michael Stefaniuc a712a29201 comctl32: Update some ImageList comments. 2010-05-11 11:06:16 +02:00
Alexandre Julliard 8ea1f3385a comctl32: Apply the imagelist mask when alpha blending. 2010-05-10 18:20:20 +02:00
Gerald Pfeifer 3ff0890c11 comctl32/tests: Add tests for the return values of TreeView_SelectItem in test_select. 2010-05-10 10:11:52 +02:00
Nikolay Sivov 5eedf51df6 comctl32/rebar: Try to center child rectangle only if cyChild height is not zero. 2010-05-06 14:21:05 +02:00
Huw Davies 1af1784430 comctl32: Silence a few compiler warnings. 2010-05-05 17:59:41 +02:00
Sven Baars fbd8722856 comctl32: Fix Dutch translation. 2010-05-05 17:49:04 +02:00
Alexandre Julliard 599531b7d9 comctl32: Add support for alpha blending in ImageList_DrawIndirect. 2010-05-05 12:47:24 +02:00
Gerald Pfeifer 34f9b1bc63 comctl32: Remove variable scrollRange which is not really used from PAGER_NCCalcSize. 2010-05-05 10:51:54 +02:00
Gerald Pfeifer b021128c4b comctl32/tests: Remove variables cx and cy which are not really used from test_approximate_viewrect. 2010-05-03 16:47:30 +02:00
Gerald Pfeifer a2edb3c55c comctl32/tests: Remove variable hwndheader which is not really used from test_items. 2010-05-03 15:42:41 +02:00
Gerald Pfeifer 44f1fbced4 comctl32: Remove variable old_focused which is not really used from MONTHCAL_Mouse. 2010-05-03 15:40:30 +02:00
Nikolay Sivov d57247ce39 comctl32/listview: Rework item selection with letter keys, fix some glitches. 2010-04-27 15:44:34 -05:00
Gerald Pfeifer 414b506909 comctl32: Remove variable iRet which is not really used from test_EnumMRUList. 2010-04-26 06:59:47 -05:00
Gerald Pfeifer 8101a13eaf comctl32: Remove variable old which is not really used from DATETIME_LButtonDown. 2010-04-26 06:59:37 -05:00
Nikolay Sivov 379cf46873 comctl32/listview: Don't change Z-order of edit window while resizing edit box. 2010-04-25 19:22:18 -05:00
Nikolay Sivov 1ccbadcf23 comctl32/listview: Remove forward declaration and unused parameter from edit box creation helper. 2010-04-25 07:34:49 -05:00
Nikolay Sivov dd3fc17884 comctl32/listview: Add callback subitem on column insertion. 2010-04-22 18:11:42 +02:00
Alexandre Julliard 5d6e052926 comctl32: Fix handling of bitmap header size for V4/V5 bitmaps. 2010-04-21 14:56:37 +02:00
Nikolay Sivov 7d846eb19f comctl32/listview: Properly handle subitem hittesting outside of horizontal columns bounds. 2010-04-21 11:57:32 +02:00
Gerald Pfeifer aa745feddc comctl32: Remove unused scrollInfo from LISTVIEW_MouseWheel. 2010-04-20 16:22:23 +02:00
Nikolay Sivov 7371d0d2fc comctl32/listview: Exit early on LVM_CREATEDRAGIMAGE if null pointer passed for a point. 2010-04-20 16:21:37 +02:00
Dmitry Timoshkov 93437fc963 comctl32: Do not use width of the passed to ImageList_Add bitmap as an icon width. 2010-04-07 13:51:45 +02:00
Mikhail Maroukhine 6443d87543 comctl32: Fix compiler warnings. 2010-03-29 12:10:00 +02:00
Mikhail Maroukhine 3cad4a1d16 comctl32: Fix incorrect const type casting. 2010-03-29 12:09:28 +02:00
Mikhail Maroukhine bd6f218165 comctl32: Fix compiler warnings with flag -Wcast-qual. 2010-03-26 10:32:33 +01:00
Michael Stefaniuc 0c2ec54535 comctl32/tests: Use the SendMessage instead of ListView_Scroll. 2010-03-26 10:29:52 +01:00
Mikhail Maroukhine ad68792a14 comctl32/tests: Remove superfluous casts. 2010-03-25 09:45:06 +01:00
Francois Gouget 2659ac14f8 comctl32/tests: fix an ok() call's trailing '\n'. 2010-03-22 10:48:30 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Jeff Latimer 4f20455e4c comctl32: cchTextMax needs to be set for LVS_OWNERDATA as it uses LVN_GETDISPINFO notifications. 2010-03-15 15:13:54 +01:00
Nikolay Sivov b1b54ae39f comctl32/datetime: Use user locale for format. 2010-03-15 14:18:06 +01:00
Dylan Smith 7617cc4bcc comctl32/tests: Added scrolled listview test for LVM_GETSUBITEMRECT. 2010-03-03 11:52:28 +01:00
Dylan Smith a7053ecc4c comctl32/listview: Scrolling affects subitem rect. 2010-03-03 11:52:21 +01:00
Dylan Smith 3952da836a comctl32/tests: Add NULL terminator to unicode string constant. 2010-03-03 11:52:07 +01:00
Nikolay Sivov 006362567b comctl32/toolbar: Fix possible null pointer dereference. 2010-03-02 11:12:05 +01:00
Reece Dunn 78ce24d632 comctl32/mru: In EnumMRUListA, ensure that the string is NULL terminated and the correct size is returned. 2010-02-26 13:02:33 +01:00
Alexandre Julliard 2432b0f6b9 comctl32/tests: Fix broken check of the ok() macro return value.
Spotted by Yann Droneaud.
2010-02-24 16:04:18 +01:00
Dmitry Timoshkov 27e9b5bdb4 comctl32: Initialize item.mask before sending HDM_GETITEM message. 2010-02-22 12:08:33 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Dmitry Timoshkov c1fd55d6c9 comctl32: Listview should accept both unicode and ansi notifications.
Listview receives notifications not only from built-in header control,
but also from custom or subclassed application controls, there is no
need to assert(0) on application input, printing a FIXME is the maximum
we can do on an unknown input.
2010-02-18 15:01:01 +01:00
Nikolay Sivov 70890031a3 comctl32/rebar: Don't try to access band data before it's needed. 2010-02-12 11:54:17 +01:00
Nikolay Sivov 057267d85e comctl32/listview: Revert item width calculation to fix performance issues. 2010-02-08 17:49:47 +01:00
Nikolay Sivov 8c16c4030b comctl32/updown: Use set acceleration value while processing keyboard keypresses. 2010-02-04 17:27:37 +01:00
Alexandre Julliard 9e47c59427 comctl32: Actually grow the array in DPA_Grow. 2010-01-29 13:30:00 +01:00
Michael Stefaniuc 223603cc1c comctl32: Use IS_INTRESOURCE instead of HIWORD to check a resource. 2010-01-26 12:13:51 +01:00
Peter Dons Tychsen a3528a7642 comctl32: Handle WM_NOTIFY correctly when the parent returns zero. 2010-01-22 13:09:01 +01:00
Jason Edmeades 81d8135424 comctl32/listview: Issue LVM_DELETEALLITEMS from WM_DESTROY. 2010-01-14 10:22:23 -06:00
Paul Vriens 9cf1af7cac comctl32: Fix size parameter for memset (Coccinelle). 2010-01-11 11:34:18 -06:00
Marcin Baczyński 9e951e8d14 comctl32: Remove superfluous void* cast. 2010-01-07 17:59:57 +01:00
Nikolay Sivov 6ca7654ec7 comctl32/listview: Fix memory leak on subrange deletion. 2010-01-07 09:26:00 +01:00
Nikolay Sivov acec38873f comctl32/comboex: Fix a leak for text string stored for edit item. 2010-01-04 11:42:34 +01:00
André Hentschel 9d9c4061f9 comctl32: Improve German translation. 2010-01-04 11:41:28 +01:00
Gerald Pfeifer 8b73b131de comctl32: Remove obsolete comment on RB_SETPALETTE from REBAR_WindowProc(). 2009-12-28 14:22:28 +01:00
Michael Stefaniuc 9c15472a3b comctl32: The return value of notify_with_scroll() is never used.
So don't bother returning something from that function.
2009-12-28 12:27:15 +01:00
Michael Stefaniuc 9dd502a332 comctl32: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:14 +01:00
Michael Stefaniuc 92e4e63353 comctl32/tests: Remove some superfluous casts around SendMessage(). 2009-12-28 12:27:14 +01:00
Nikolay Sivov f897a91247 comctl32/updown: Fix formatting for hex mode. 2009-12-28 12:27:14 +01:00
Nikolay Sivov 46194d39f6 comctl32/rebar: Check for null handles before invalidation.
This prevents all windows invalidation.
2009-12-28 12:27:14 +01:00
Nikolay Sivov 2e1aa43ab1 comctl32/tests: Skip test on <5.8x systems. 2009-12-28 11:55:39 +01:00
Nikolay Sivov 02c06f0d66 comctl32/rebar: Avoid empty band range when changing layout. 2009-12-24 12:15:41 +01:00
Nikolay Sivov 6398448974 comctl32/comboex: Move debugging traces that require additional code into TRACE_ON() condition. 2009-12-24 12:15:41 +01:00
Nikolay Sivov 253edf0fbb comctl32/comboex: Get rid of useless helper. 2009-12-24 12:15:41 +01:00
Nikolay Sivov 7d748b6ba0 comctl32/comboex: Don't invalidate all windows if Edit box isn't set up. 2009-12-24 12:15:41 +01:00
Nikolay Sivov 7deb277900 comctl32/comboex: Fix silly typo in CBEM_SETITEM handler (lParam wasn't set). 2009-12-24 12:15:41 +01:00
Nikolay Sivov 96d965f295 comctl32/comboex: Add test for internally sent Edit messages, remove corresponding comments. 2009-12-24 12:15:41 +01:00
Nikolay Sivov ecc89bf6ef comctl32/comboex: Use subclass chain for internally used controls. 2009-12-24 12:15:41 +01:00
Nikolay Sivov 7fa3778d8c comctl32/rebar: Fix default just inserted band colors. 2009-12-23 14:27:30 +01:00