Commit Graph

2165 Commits

Author SHA1 Message Date
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
Mikołaj Zalewski 7ce1bb89b9 comctl32: Use wsprintf instead of strcat building the properties
dialog title to allow different word orders.
2006-07-12 19:28:17 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Michael Stefaniuc 00e779370f janitorial: Put "inline static" at the beginning of a declaration. 2006-07-07 14:30:35 +02:00
Mikołaj Zalewski 2248217157 comctl32: listview: Recompute header size after an insertion of a column. 2006-07-05 12:56:24 +02:00
Andrew Talbot b93f547a1e comctl32/tests: Write-strings warnings fix. 2006-07-03 11:58:41 +02:00
Francois Gouget 11ae0f6386 Assorted spelling fixes. 2006-06-16 11:32:29 +02:00
Mike McCormack 13115d8cf6 comctl32: Add a short test for the listview. 2006-06-15 11:39:29 +02:00
Mike McCormack f86270a022 comctl32: Arrange the listview after deleting all items so we will place icons at the top again. 2006-06-15 11:39:29 +02:00
Mike McCormack 52c204be88 comctl32: Use the listview's background colour when drawing with imagelist. 2006-06-15 11:39:29 +02:00
Alexandre Julliard 03e2b335c4 comctl32: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:09:16 +02:00
Dmitry Timoshkov 217dae68c5 comctl32: Return FALSE in the WM_CLOSE PROPSHEET_DialogProc handler.
Return FALSE in the WM_CLOSE PROPSHEET_DialogProc handler in order to
allow DefDlgProc to post us WM_COMMAND/IDCANCEL and unblock modal
message loop.
2006-06-09 13:26:31 +02:00
Dmitry Timoshkov b4d5dd5efa comctl32: Remove WM_SYSCOMMAND handler from PROPSHEET_DialogProc. 2006-06-07 11:48:21 +02:00
Paul Vriens ddf0049e9c comctl32/header: Check Null before accessing struct member. 2006-06-02 11:22:26 +02:00
Mikołaj Zalewski baea6498dd comctl32: header: Update the rects in HEADER_Refresh if needed. 2006-06-01 11:08:09 +02:00
Alexandre Julliard 1d40bf0141 comctl32: propsheet: Fixed buffer sizes for LoadStringW. 2006-05-30 20:01:19 +02:00
Mikołaj Zalewski 414128eb94 comctl32: header: Ignore out-of-range iOrder in SetItemT. 2006-05-30 19:30:51 +02:00
Andrew Talbot 5ca5c8489e comctl32/tests: Write-strings warnings fix. 2006-05-30 12:24:01 +02:00
Andrew Talbot b836d1f7c3 comctl32/tests: Write-strings warning fix. 2006-05-28 18:27:27 +02:00
Alexandre Julliard ac30d46b69 comctl32: Dialog procedures should be called with CallWindowProc. 2006-05-26 16:34:09 +02:00
Mikołaj Zalewski ee430bf7b8 comctl32: header: Put the new item in place of the hot divider instead of swapping. 2006-05-26 12:00:57 +02:00
Mikołaj Zalewski 7ab41112ae comctl32: header: Draw the drag image and hot dividers while dragging an item. 2006-05-26 12:00:29 +02:00
Mikołaj Zalewski 89b62b48c6 comctl32: header: Fix an order-related bug in HEADER_InternalHitTest. 2006-05-26 11:59:11 +02:00
Mikołaj Zalewski 7e461db203 comctl32: header: Implement HDM_SETHOTDIVIDER. 2006-05-26 11:58:28 +02:00
Mikołaj Zalewski 4301543533 comctl32: header: Implement HDM_CREATEDRAGIMAGE. 2006-05-26 11:58:08 +02:00
Mikołaj Zalewski bfe030dfed comctl32: listview: Apply the HDS_DRAGDROP header style if needed.
Apply the HDS_DRAGDROP header style if the listview has the
LVS_EX_HEADERDRAGDROP. Block the columns reordering as the listview
doesn't support them.
2006-05-26 11:57:05 +02:00
Jonathan Ernst ce7e2e16ab Uniformization of French main menu accelerators. 2006-05-24 10:35:26 +02:00
Robert Shearman f5660c23ae comctl32: Fix the loading of strings for the property sheet page by
caching the ID of the string to load before overwriting it with an
Alloc call.
2006-05-23 20:52:56 +02:00
Mikołaj Zalewski b8da6f2751 comctl32: header: Don't try to draw items outside the clipping rect. 2006-05-23 17:53:08 +02:00
Mikołaj Zalewski 64e5779c16 comctl32: header: Make the column resizing smooth in full drag mode.
Make the column resizing smooth in full drag mode even for listview
with lots of elements by redrawing only the resized column and calling
UpdateWindow.
2006-05-23 17:52:57 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman a247e6975f comctl32: Make sure to always have the default pushbutton for wizards as an enabled button. 2006-05-22 11:28:52 +02:00
Robert Shearman 2682ff43d0 comctl32: A PSM_SETWIZBUTTONS message specifying PSWIZB_FINISH or
PSWIZB_DISABLEDFINISH, followed by another one without those flags
should show the next button again and hide the finish button.
2006-05-22 11:28:45 +02:00
Mikołaj Zalewski 4b25b346ee comctl32: header: Make sure no message is sent between PrepareCallbackItems/FreeCallbackItems. 2006-05-20 14:09:03 +02:00
Mikołaj Zalewski c932852bd4 comctl32: header: Don't erase the background in HEADER_Refresh. 2006-05-20 14:08:44 +02:00
Mikołaj Zalewski c054c1fe0e comctl32: header: The border size is 4 not 3. 2006-05-20 14:08:27 +02:00
Mikołaj Zalewski 3897015580 comctl32: header: Don't erase the left header egde. 2006-05-17 21:01:54 +02:00
Mikołaj Zalewski 28e3ba552e comctl32: header: Send the width in HDN_BEGINTRACK. 2006-05-17 21:01:39 +02:00
Mikołaj Zalewski 117b8e7927 comctl32: listview: Recompute sizes after a column deletion. 2006-05-17 21:01:30 +02:00
Mikołaj Zalewski 36a8e5fba3 comctl32: header: Fix INSERTITEM on a zero mask and GETITEM on a mask with unknown fields.
INSERTITEM should fail on a zero mask. If in GETITEM the mask has an
unknown field it should store only the comctl32 4.0 fields (with test
case).
2006-05-16 20:23:39 +02:00
Mikołaj Zalewski bf346b240d comctl32: header: Copy some fields on INSERTITEM even if they are not in the mask. 2006-05-16 20:22:27 +02:00
Mikołaj Zalewski 3eccdfcca7 comctl32: header: Automatically set some format fields. 2006-05-16 20:22:11 +02:00
Mikołaj Zalewski 8266fdd8cb comctl32: header: Check for HDN_GETDISPINFO not being sent during INSERT/SETITEM. 2006-05-15 15:00:40 +02:00
Mikołaj Zalewski 700dd456e9 comctl32: listview: Store the iSubItem in header's lParam in LVM_INSERTCOLUMN. 2006-05-15 14:46:30 +02:00
Mikołaj Zalewski 74c3b366d3 comctl32: header: Correct HDN_GETDISPINFO. Use it during drawing.
Improve HEADER_SendHeaderDispInfoNotify and rename it to
HEADER_PrepareCallbackItems. The new HEADER_FreeCallbackItems frees
the buffers allocated by it. GetItemT and DrawItem calls these
functions.
2006-05-15 14:46:11 +02:00
Mikołaj Zalewski 96190f77b9 comctl32: header: Mark the callback items in a mask.
Mark the callback items in the callbackMask HEADER_ITEM field. The
pszText for callback texts is now NULL what simplifies some
checks. Checks for lpItem->pszText==emptyString are also not needed as
emptyString is not stored in lpItem but used as a parameter to
Str_SetPtr (I haven't noticed it).
2006-05-15 14:45:24 +02:00
Mikołaj Zalewski 25d66de358 comctl32 header: Free the old string also when the new one is LPSTR_TEXTCALLBACK. 2006-05-15 14:44:22 +02:00
Mikołaj Zalewski 16fefcd6d9 comctl32: header: Don't modify the user supplied HDITEM during Set/InsertItem. 2006-05-15 14:43:48 +02:00
Mikołaj Zalewski e3467de964 comctl32: header: Move common code from SetItemT/InsertItemT into a new function. 2006-05-15 14:41:01 +02:00
Mikołaj Zalewski 15e71a0a86 comctl32: header: Don't send HDN_GETDISPINFO during HDM_SET/INSERTITEM. 2006-05-15 14:40:27 +02:00
Mikołaj Zalewski 9865869902 comctl32: header: Don't check lpItem for NULL in GetItemT. 2006-05-15 14:40:08 +02:00
Saulius Krasuckas ab71fada12 comctl32: Increase FILEVERSION up to 5.81.4704.1100. 2006-05-08 14:48:45 +02:00
Dmitry Timoshkov 154e54e8e6 comctl32: Make some internal functions and variables static, remove
some unneeded prototypes.
2006-05-08 13:38:35 +02:00
Dmitry Timoshkov 308813112e comctl32: Add support for PSP_USEHEADERTITLE, PSP_USEHEADERSUBTITLE
and PSP_HIDEHEADER in CreatePropertySheetPageA/W, handle resource ids.
2006-05-08 13:38:19 +02:00
Dmitry Timoshkov 34cf29efbb comctl32: psInfo->proppage[index].pszText is always initialized to a
proper value regardless of PSP_USETITLE, use it unconditionally.
2006-05-08 13:38:00 +02:00
qingdoa daoo 53654c6938 comctl32: Update first visible when appropiate in the TVI_SORT case. 2006-05-07 10:00:40 +02:00
qingdoa daoo d2f59fe455 comctl32: Fix an unsigned comparison to zero. 2006-04-20 15:37:48 +02:00
Mikołaj Zalewski b82156586e comctl32: header: Avoid freeing invalid pointers. 2006-04-20 11:34:13 +02:00
Mikołaj Zalewski d848dda8bc comctl32: Test the HDM_SETITEM notifications. 2006-04-19 19:25:33 +02:00
Mikołaj Zalewski 50d8c80fda comctl32: header: Send correct notify after HDM_SETITEM.
The HDN_ITEMCHANGING notify should have the new data instead of the
old one.  Both HDN_ITEMCHANGING and HDN_ITEMCHANGED now have the text
field if it changed.
2006-04-19 19:25:09 +02:00
Mikołaj Zalewski c5b27fa97b comctl32: Add Str_SetPtrWtoA analogue to Str_SetPtrAtoW. 2006-04-19 19:24:43 +02:00
Mikołaj Zalewski a49da0b719 comctl32: header: Remove the unused bUnicode. 2006-04-18 21:16:54 +02:00
Mikołaj Zalewski 7a7f80e9d1 comctl32: header: Correct WM_[GS]ETUNICODEFORMAT. 2006-04-18 21:16:33 +02:00
Mikołaj Zalewski 84c3189445 comctl32: Send Unicode notifications if required in header control. 2006-04-18 11:16:44 +02:00
Mikołaj Zalewski cb3424f642 comctl32: Scroll listview if changing scroll bounds changes the scroll pos. 2006-04-18 11:16:26 +02:00
Aric Stewart 097aec39ca comctl32: Listview notify fix.
Turn off updating for that the unselect and select and then turns it
on for the focus call, this results in 1 edit notify being sent at the
end of the operation.
2006-04-17 11:18:13 +02:00
qingdoa daoo 5e18834217 comctl32: Change return code comparison in AVI control. 2006-04-14 19:35:57 +02:00
Mikołaj Zalewski e55c44c737 comctl32: Fix listview column resize.
Draw a track line after a HDN_TRACK, resize the columns only after a
HDN_ITEMCHANGED.
Create the header with HDS_FULLDRAG.
2006-04-12 19:52:34 +02:00
Mikołaj Zalewski c63f5f095a comctl32: Fix listview column resize.
Fix the HDS_FULLDRAG headers notifications, invalidate such a control
after a mouse move.
2006-04-12 19:51:44 +02:00
Mike Hearn 1740fe0fe6 comctl32: Add OOM codepath in imagelist control. 2006-04-07 20:04:19 +02:00
Huw Davies 517b85f989 comctl32: Set the sheet caption before invoking the sheet callback and before creating the pages. 2006-04-06 22:22:00 +02:00
Antonio Codazzi 4e91811922 comctl32: Esperanto language support. 2006-04-03 11:47:37 +02:00
Antonio Codazzi c106f2fe64 comctl32: Italian language updates. 2006-04-03 11:47:14 +02:00
Alexandre Julliard 5fd23798ff comctl32: Force a specific day value in the monthcal test.
Avoids test failure when the current day happens to be the 31st...
2006-03-31 12:45:59 +02:00
Thomas Weidenmueller 870d37ff60 comctl32: Rebar size fix.
Rebars without any bands should have a height/width of 0.
2006-03-28 12:34:25 +02:00
Mike McCormack 316e5835a0 comctl32: Having an MRU list without a compare function works in Windows. 2006-03-27 11:30:50 +02:00
James Hawkins aa57ad373d comctl32: A couple fixes for tab icon offsets.
- Shift selected icons up and non-selected icons down.
- Add the top or left draw rect to the vertical offset, because it may
  not be zero.
2006-03-23 20:20:33 +01:00
Rein Klazes 8b55e4a662 comctl32: Do not free LPSTR_TEXTCALLBACK tooltip texts. 2006-03-23 17:07:17 +01:00
Mike McCormack ecaa525a3f comctl32: Get rid of some incorrect casts. 2006-03-20 22:08:44 +01:00
András Kovács b4a81b71f2 comctl32: Added Hungarian translation. 2006-03-15 11:31:17 +01:00
Mike McCormack cba422261b comctl32: Fix some gcc 4.1 warnings. 2006-03-15 11:30:25 +01:00
Peter Åstrand c5552a694b comctl32: LISTVIEW_InsertItemT should accept iItem < 0, when using sorted lists. 2006-03-08 11:32:46 +01:00
Mike McCormack 2dfe50aa3f comctl32: Fix some gcc 4.1 warnings caused by windowsx.h macros. 2006-03-03 13:18:50 +01:00
Vitaliy Margolen 9774745330 comctl32: Remove/swap limits if min > max in MCM_SETRANGE.
We should swap min & max only when both limits are being
set. Otherwise limit that being set should invalidate other limit
(remove it).
2006-02-16 12:19:36 +01:00
Vitaliy Margolen f273bdc0b5 comctl32: Don't change month range in MCM_SETRANGE. Add tests for this. 2006-02-16 12:19:09 +01:00
Vitaliy Margolen bc2b9e3feb comctl32: Fix invalid date/time check in MCM_SETRANGE: ignore time and fail on bad date. 2006-02-14 17:12:45 +01:00
Petr Tesarik 58cc46c9dd comctl32: Czech language resources encoding fix. 2006-02-13 13:27:10 +01:00
Vitaliy Margolen 38290cf977 comctl32: Add month calendar tests. 2006-02-06 20:58:48 +01:00
Francois Gouget 379b62c04e Assorted spelling fixes. 2006-02-06 20:58:36 +01:00
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
Fatih Aşıcı 69835aa8bb comctl32: Turkish translation. 2006-02-06 13:02:57 +01:00
Maarten Lankhorst 15ca9ce672 comctl32: Restore listview font on CDRF_NEWFONT. 2006-01-31 12:21:51 +01:00
Alexandre Julliard 6b76244bf4 Fixed creation of PS_ALTERNATE pens. 2006-01-30 15:02:53 +01:00
Tobias Loew 1911eed08e comctl32: Fix tab-control flickering. 2006-01-30 14:57:26 +01:00
Dmitry Timoshkov 57a579ffcd Make more arrays const. 2006-01-24 14:00:32 +01:00
Dmitry Timoshkov 6d32c42ced comctl32: Make listview use standard wine_dbg_sprintf and wine_dbgstr_xxx. 2006-01-24 11:04:32 +01:00
Rob Shearman 823ba55aca comctl32: Test the painting behaviour of the progress bar control.
Test the painting behaviour of the progress bar control when the
PBM_SETPOS message is sent to it, with respect to whether the
background is erased and what part of the control is redrawn.
2006-01-11 12:12:06 +01:00
Mike McCormack ab4438e24d comctl32: Invalidate the entire progress bar any time it changes. 2006-01-11 12:11:46 +01:00
Phil Krylov 1b9fc2a170 comctl32: Fix emitting of NM_CUSTOMDRAW header notifications.
Emit NM_CUSTOMDRAW header notifications for all headers, not only
ownerdrawn. Allow to change item text and background colors in an
application's NM_CUSTOMDRAW handler.
2006-01-10 19:58:24 +01:00
Phil Krylov b2d289fa23 comctl32: Call UpdateWindow() after changing statusbar text. 2006-01-10 12:06:44 +01:00
Phil Krylov a05bfbfb86 comctl32: Fix rebar autosize behaviour.
Allow autoresizing rebar by PostMessage(hwndRebar, WM_SIZE, 0, 0) like
native does, taking as few rows as possible and using the parent
window client area size for the other dimension (width for horizontal
rebars or height for vertical ones).
2006-01-09 18:41:45 +01:00
Thomas Weidenmueller bb56d907e5 comctl32: Reduce memory usage of the syslink control. 2006-01-06 13:08:09 +01:00
Thomas Weidenmueller adc416b756 comctl32: Some painting fixes for the syslink control. 2006-01-06 13:04:14 +01:00
Vitaliy Margolen a8e59b1c52 comctl32: Listview - allow selection toggle with ctrl+space. 2006-01-03 12:11:18 +01:00
Thomas Weidenmueller e1fd79bb89 comctrl32: ReAlloc should be able to move memory blocks if necessary. 2006-01-03 12:06:40 +01:00
Robert Reif ac9b087026 comctl32: Create ipaddress in enabled state. 2005-12-31 13:13:52 +01:00
Thomas Weidenmueller 3faa66ee2a comctl32: Fix error handling in PSM_ADDPAGE in case of memory
allocation failure.
2005-12-31 13:12:19 +01:00
Dmitry Timoshkov f15abf08ac comctl32: Add a test for the initial tooltip window style settings,
make it pass under Wine.
2005-12-19 17:43:10 +01:00
Eric Pouech 1d2f975ba9 comctl32: Fixed (harmless) typo. 2005-12-12 11:54:35 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 6d442aeb34 Assorted spelling fixes. 2005-11-23 20:14:43 +01:00
YunSong Hwang 5e7f77ea8b Update Korean translations. 2005-11-23 15:21:56 +01:00
Thomas Weidenmueller 36f6bbb85c Improved word wrapping and tab key handling. 2005-11-21 13:34:06 +00:00
Vijay Kiran Kamuju b904e25234 Added header control tests. 2005-11-18 12:33:10 +00:00
YunSong Hwang d442d298a0 Update Korean translations. 2005-11-18 12:07:42 +00:00
Vitaliy Margolen def2bb6798 Return false if index is out of bounds in GetItemT. 2005-11-17 11:06:18 +00:00
Raphael Junqueira e3d53b4722 Implement implement header callback support (HDN_GETDISPINFO notification):
- better factorisation
- unicode fixes
2005-11-15 16:54:41 +00:00
Markus Amsler 996e594240 Reformat "see" section, to match c2man requirements. 2005-11-14 11:20:10 +00:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Francois Gouget f4c0524ec6 Assorted spelling and case fixes. 2005-11-10 11:39:07 +00:00
Francois Gouget 2adb302a99 Add trailing '\n's to ok() and TRACE() calls. 2005-11-10 11:17:38 +00:00
Alex Villacís Lasso 4082e9a69c Do not issue a GetUpdateRect() to query an update region for
WM_PAINT(wParam=HDC) case. Instead, use GetClientRect() for a bounding
rect.
2005-11-08 13:11:48 +00:00
Michael Kaufmann e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00