Commit Graph

1978 Commits

Author SHA1 Message Date
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
Dimi Paun cd1b13fb7d Validate the column index passed in by the caller. 2005-11-05 10:42:35 +00:00
Vincent Béron 1c310878ac Move functions in comctl32/string.c to remove function declaration. 2005-11-04 11:14:52 +00:00
Dmitry Timoshkov 53be932ba6 Use Win32 APIs for string comparison. 2005-11-03 19:31:59 +00:00
Dmitry Timoshkov 592a81ab22 Avoid printing out a possibly uninitialized variable. 2005-11-02 19:56:24 +00:00
Ulrich Czekalla 795de499d5 Clear bLButtonDown flags if mouse is not down. 2005-11-02 10:56:12 +00:00
Martin Fuchs ac6c7a9a10 Include config.h and port.h for strncasecmp() in MSVC port. 2005-11-01 21:37:19 +00:00
Vitaliy Margolen c258430643 Unify HEADER_GetItem[A/W] into one function. 2005-10-29 11:08:20 +00:00
Vitaliy Margolen 89a4918218 Unify HEADER_InsertItem[A/W] into one function. 2005-10-28 10:40:27 +00:00
Vitaliy Margolen 05905cc526 Unify HEADER_SetItem[A/W] into one function. 2005-10-27 10:19:29 +00:00
Troy Rollo c0b79e0b05 Detect when the notification callback has destroyed the ListView to
avoid attempts to access data that is no longer valid.
2005-10-21 15:49:36 +00:00
Krzysztof Foltman 364c3aa449 Separators with group style set don't separate toolbar radio groups
anymore (which broke tool selection in Front Panel Designer).
2005-10-21 15:45:11 +00:00
Alexandre Julliard 9cf9e5e7dd Don't register classes is no theme is active to avoid trouble (based
on a patch by Vitaliy Margolen).
2005-10-19 19:08:31 +00:00
Francois Gouget a1f9a13997 Use "static const" rather than "const static" as gcc -W complains
about the former.
2005-10-06 11:38:45 +00:00
Vitaliy Margolen 8fb6037626 Correct Page Up/Down handling in report mode. 2005-10-04 17:58:46 +00:00
Vitaliy Margolen 6ab0b0194d Don't start dragging for a single mouse click. 2005-10-04 15:50:24 +00:00
Vitaliy Margolen 059a8c15f2 Don't arrange tabs if there is only one line. 2005-10-03 18:46:07 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexander N. Sørnes 51ff901f97 Added Norwegian translation of comctl32 and shell32. 2005-09-21 11:43:31 +00:00
Jason Edmeades a18b7baa87 Fix some off by one calculations in the comboboxex functions, and
handle an out of range positive index the same as windows + unit test
case.
2005-09-21 09:41:44 +00:00
Mike McCormack c621a5801f Fix if's that are followed by semicolons. 2005-09-20 11:37:58 +00:00
Milko Krachounov 980f817737 Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
setupapi, wininet, regedit, uninstaller, notepad, winecfg and
winhelp.
2005-09-19 17:00:58 +00:00
Ge van Geldorp c00ded589a Do some bounds checking on iOrder. 2005-09-18 12:29:35 +00:00
Dmitry Timoshkov 66f603ce4b Call SetDIBits with a proper DC in order to set bitmap bits. 2005-09-18 11:12:00 +00:00
Ge van Geldorp e3b3c5ad7c Buffer size needs to be specified in bytes on input. 2005-09-17 14:29:01 +00:00
Robert Shearman 2c6ab0dba5 - Add support for navigating a toolbar with the arrow keys.
- Fix WrapToolbar in the case of no parent window.
- Use the newly added NMTBINITCUSTOMIZE for sending the
  TBN_INITCUSTOMIZE so that it is safe on 64-bit platforms.
2005-09-14 19:16:03 +00:00
Michael Jung aa0da30296 Fixed inconsistency in LISTVIEW_DUMP macro. 2005-09-13 14:30:53 +00:00
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Alexandre Julliard ba41fe20bc Fixed a few more pointer to integer typecast issues for 64-bit
platforms.
2005-09-12 21:22:32 +00:00
Frank Richter fc4b08d5fc Unregister theming subclasses at comctl32 shutdown; should fix
reported re-registration errors.
2005-09-12 11:10:58 +00:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Alexandre Julliard 4c34d9386c Specify 64-bit integers as double instead of long long in spec files
so that we get the correct number of arguments.
2005-09-09 15:05:01 +00:00
Aric Stewart 42e592d17a Reading the MRUlist using the W functions we need to divide the size
by sizeof(WCHAR) to get the count of characters.
2005-09-06 11:42:13 +00:00
Frank Richter 9e57091ffa Fix warnings in 64bit. 2005-08-30 10:07:17 +00:00
Phil Krylov 682dd707c8 Improved header control performance by maintaining an internal order
array.
2005-08-29 12:17:42 +00:00
Yuri Kozlov dc21c5e45a Set default size for toolbar bitmap if not specified. 2005-08-29 09:39:04 +00:00
Mike McCormack 280bcf6e4a Fix gcc 4.0 warnings. 2005-08-27 10:00:38 +00:00
Thomas Weidenmueller c9b7442689 It should be allowed to pass NULL handles in the phpage array of the
PROPSHEETHEADER structure to PropertySheet(), just ignore them.
2005-08-27 09:59:09 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Phil Krylov 030dbe2d98 Draw header control items only within the header client area. 2005-08-25 19:18:14 +00:00
Frank Richter 4946623d2b Add WM_CTLCOLORSTATIC handler to dialog theming subclass so static
text can appear transparent (for e.g. tab pages which commonly have a
"fancy" background).
2005-08-25 15:20:48 +00:00
Vitaliy Margolen abd12e4dbf Fix handling of minimum tab width.
Add more tests to test it.
2005-08-23 10:05:54 +00:00
Michael Kaufmann e3a35a8653 - Redraw immediately upon PBM_SETPOS, PBM_DELTAPOS, PBM_STEPIT.
- New tests.
2005-08-23 10:02:25 +00:00
Aric Stewart bf129c41de Fix for dreamweaver site definition dialog. Need to initialize the
rect for a tab control to an empty rect if it is not visible.
2005-08-22 14:07:22 +00:00
Michael Kaufmann 1845444424 Handle WM_GETFONT and WM_SETFONT. 2005-08-22 09:20:36 +00:00
Frank Richter 00353712f2 Forward WM_DESTROY to superclass in edit & listbox theming. 2005-08-19 13:58:03 +00:00
Frank Richter 8bba08ce3d Merge subclass stubs and subclass proc. Having the stub set the window
proc to the subclass proc was not a good idea since that breaks
subclasses of themed standard controls (e.g. what Delphi does a lot).
2005-08-19 13:57:49 +00:00
Frank Richter f02d6df55c Add theming support for dialogs (to support tab page background). 2005-08-19 10:05:34 +00:00
Frank Richter 942dc56126 Add theming for listbox (and combo listbox) controls. 2005-08-18 11:45:43 +00:00
Frank Richter 2f47050c32 Only draw a themed border when edit control has WS_EX_CLIENTEDGE
style.
2005-08-18 10:48:45 +00:00
Frank Richter 8f9fa7abc7 Add theming for combo boxes. 2005-08-16 19:30:06 +00:00
Frank Richter 0783465543 Subclass edit control to draw themed border. 2005-08-15 10:24:22 +00:00
Frank Richter 37bc5d81e2 Improved trackbar theming. 2005-08-15 10:24:00 +00:00
Frank Richter 65f10442a7 Instead of adding the border via WM_NCPAINT and WM_NCCALCSIZE, do what
native does: just clear WS_EX_STATICEDGE when themed and reduce the
area the actual bar is painted in to the progress bar theme part
content rect.
2005-08-15 09:34:02 +00:00
Frank Richter b49c12a91e Determining the superclass for a window subclassed for theming doesn't
work - e.g. Delphi buttons have the classname "TButton" for which no
superclass will be found. Instead, use initial subclass window procs
that have the subclass hardcoded and store it for the "real" subclass
window proc.
2005-08-12 15:52:56 +00:00
Frank Richter 251502b281 Add initial theming support for trackbars. 2005-08-12 11:17:26 +00:00
Frank Richter 464f562a3a Add theming for toolbar control. 2005-08-12 11:17:14 +00:00
Frank Richter b5940f7283 Fix text color for "button" style tabs when theming is enabled. 2005-08-11 18:35:00 +00:00
Frank Richter cec8b6b014 Add theming for status bar control. 2005-08-11 18:34:45 +00:00
Frank Richter a95e3e2923 Add theming for the progress control. 2005-08-11 18:34:35 +00:00
Frank Richter 36258675ad Add theming for the rebar control. 2005-08-11 17:05:18 +00:00
Frank Richter 25464ceef5 Add theming for the monthcal control. 2005-08-11 17:05:00 +00:00
Francois Gouget 38339b0a96 The PSDK does not define a TreeView_InsertItemA() macro so use
TreeView_InsertItem() instead.
2005-08-10 14:42:32 +00:00
Alexandre Julliard d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Frank Richter 07f8690718 Add hottracking support for the header control. 2005-08-03 11:45:19 +00:00
Frank Richter db5b331f3a Remove unneeded theming check. 2005-08-03 10:56:14 +00:00
Vitaly Lipatov 2af4200877 Use STATEIMAGEINDEX / INDEXTOSTATEIMAGEMASK instead of bit
operations.
2005-08-02 09:47:18 +00:00
Alexandre Julliard 90c3c89aea Fixed regression in DPA_Search. 2005-08-01 14:50:36 +00:00
Felix Nawothnig 9fb00ff5c8 Fix DPA_Search for sorted arrays. 2005-08-01 09:18:23 +00:00
Steven Edwards e14569d122 Correct RegCreateKeyEx[A/W] prototype to match the PSDK. 2005-07-28 10:18:23 +00:00
Frank Richter 171fea006d Add theming for treeview control. 2005-07-28 10:15:10 +00:00
Frank Richter c952f08ba8 Add theming support for the tab control. 2005-07-28 10:14:52 +00:00
Frank Richter d219a54e80 Since OpenThemeData() should return 0 in case theming is disabled
globally or for the application we don't need to check that when
calling OpenThemeData().
2005-07-27 15:16:09 +00:00
Frank Richter 54de614906 Split up the drawing code into a set of smaller functions and also
moved some common computations into helper functions. All that to
facilitate the implementation of the forthcoming theming support.
2005-07-27 12:07:03 +00:00
Frank Richter 7d00bb387e Added some generic code to allow subclassing (for the purpose of
theming) of standard controls.
2005-07-27 10:54:49 +00:00
Filip Navara 52cf1851b8 Use ReleaseDC instead of DeleteDC on DC handle. 2005-07-26 18:25:46 +00:00
Frank Richter 38904c4fae Add theming for the up/down control. 2005-07-25 11:23:42 +00:00
Frank Richter d42210dd11 Use theming for the ListView non-client area. 2005-07-25 11:09:38 +00:00
Frank Richter 564872cd81 Add theming support for header controls. 2005-07-25 11:09:09 +00:00
Robert Shearman 3e03bc1d73 - Call SetBkMode with the correct value from the NMTBCUSTOMDRAW
structure.
- Don't fill the NMTBCUSTOMDRAW structure in again for
  CDDS_POSTPAINT.
- Remove redundant bBtnTransprnt value.
2005-07-22 19:57:44 +00:00
Robert Shearman 87dacfffc2 - Height is now calculated based on the number of rows, not on the
bounding rect.
- Only call CalcToolbar in AutoSize if it has TBSTYLE_WRAPABLE or
  TBSTYLE_EX_UNDOC1 set.
- Remove a bad test in SetButtonWidth that fixes a regression from the
  above change in IE.
- Remove unnecessary nHeight data.
- Remove duplicated code in Size by calling AutoSize.
- Remove unnecessary bAutoSize value because SetWindowPos doesn't
  generate WM_SIZE when there is nothing to do on both Windows and
  Wine.
2005-07-22 19:55:54 +00:00
Robert Shearman 05f2506c06 TBSTATE_INDETERMINATE only takes effect if the button is enabled,
otherwise it should just appear like any other disabled button.
2005-07-22 19:54:17 +00:00
Robert Shearman 481d189508 Native autosizes on inserting/adding buttons, so we should too. 2005-07-22 19:52:05 +00:00
Robert Shearman 8b086842c3 The IsValidImageList test is not needed because if it isn't a valid
image list we will have set the bitmap width and height to 1 and it
does the wrong thing when no buttons are present.
2005-07-22 19:48:07 +00:00
Robert Shearman 2e0a42ec2c The calculated button height should include the text height when no
buttons are present.
2005-07-22 18:28:46 +00:00
Frank Richter 5c3f6bcd44 Enabled "tab" dialog texture for property sheet pages. 2005-07-18 10:31:06 +00:00
Dimi Paun ebe8b2292a Silence uninitialized warnings. 2005-07-18 09:10:31 +00:00
Kevin Koltzau 28f15a3bdf Forward some header notifications to parent of listview. 2005-07-15 11:42:47 +00:00
Thomas Weidenmueller 2e7f3ad702 Support PSM_IDTOINDEX. 2005-07-15 11:42:18 +00:00
Thomas Weidenmueller 6ea26b50a9 - Support PSH_WIZARDHASFINISH in wizards.
- Correct tab order of the wizard buttons.
2005-07-15 09:59:04 +00:00
Aric Stewart cd6fd67dcb When adding an image copy the full previous buffer.
Implement replacing an icon with one from a resource.
2005-07-15 09:57:21 +00:00
Robert Shearman ec167634f9 Handle CopyImage and other functions failing by not adding the icon
and notifying the caller.
2005-07-14 10:15:59 +00:00
Francois Gouget 28dc5a8afc Assorted spelling fixes. 2005-07-11 10:59:41 +00:00
Felix Nawothnig 7dde735180 Fix some DPA functions so they pass the new tests. 2005-07-08 11:30:28 +00:00
Felix Nawothnig 6d9150dd38 Add another failing DPA test. 2005-07-07 11:26:26 +00:00
Felix Nawothnig bd8790bee4 Don't invalidate the whole propsheet when the page is switched. 2005-07-06 19:03:33 +00:00
Francois Gouget c7dcf642ea Add trailing '\n's to ok() calls. 2005-07-06 15:46:47 +00:00
Felix Nawothnig 627acaf6f7 Move DPA and DSA functions out of comctl32undoc.c as they are
documented by now.
2005-07-06 10:32:18 +00:00
Felix Nawothnig 7a4b579b11 Fix DPA tests on Win95. 2005-07-05 11:01:29 +00:00
Frank Richter c81d46d77f Let property sheets update the cached system colors upon receiving
WM_SYSCOLORCHANGE.
2005-07-05 10:57:37 +00:00
Felix Nawothnig 126af8653e Rewrote the DPA testsuite. 2005-07-03 12:02:09 +00:00
Vitaliy Margolen 4f403edd03 Send CDDS_ITEMPOSTERASE | CDDS_PREPAINT notify. 2005-06-30 18:11:19 +00:00
Robert Shearman 389f9d55d9 - Document how the native lays out the internal components of
buttons.
- Fix control to follow these rules.
- Don't redraw disabled buttons.
- Padding is never less that GetSystemMetrics(SM_{CX,CY}EDGE).
- Change default iListGap value to 4 to match native.
2005-06-25 17:55:40 +00:00
Robert Shearman eb9960f15b Fix a regression in IE where the Favourites menu didn't appear
correctly because the height and width were swapped in the pager
control.
2005-06-25 17:55:15 +00:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Stefan Huehner 712087700e Fix some -Wstrict-prototypes warnings. 2005-06-16 15:52:44 +00:00
Huw Davies 2e301ceb1c For modal propsheets we should run our own message loop rather than
use a modal dialogbox just like Windows does.  This helps apps that
subclass the propsheet's wndproc.
2005-06-15 19:12:57 +00:00
Krzysztof Foltman 6b1e80cb2c Test when TVN_SELCHANGING and TVN_SELCHANGED are really sent. 2005-06-13 12:23:01 +00:00
Krzysztof Foltman 112df73530 Don't send TVN_SELCHANGING nor TVN_SELCHANGED if the same item is
selected again.
2005-06-13 11:38:55 +00:00
Mike McCormack 882bc4d18d Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-09 09:50:56 +00:00
Alex Zorach d4c08fdbe9 Fixed SetFocus behavior. 2005-06-09 09:41:56 +00:00
James Hawkins 645ec7d6e2 Audit the Tab control. 2005-06-06 10:03:03 +00:00
Felix Nawothnig 7572fd3870 Fix some missed invalidations after column resize. 2005-06-04 10:00:12 +00:00
James Hawkins 4d639be88b - Factor out common text shifting logic.
- Shift selected tab text up instead of down.
2005-06-04 09:37:22 +00:00
Kouji Sasaki 6b5b0b9195 Added the feature to change row height in owner draw controls. 2005-05-30 11:10:01 +00:00
Francois Gouget 62253b752f Assorted spelling fixes. 2005-05-30 09:56:56 +00:00
Felix Nawothnig 92f9c3f1b9 Pass the right hwnd to ReleaseDC(). 2005-05-29 20:02:32 +00:00
Kouji Sasaki d8c100478e Added the callback item processing for LISTVIEW_EndEditLabelT
function.
2005-05-26 12:23:38 +00:00
Kouji Sasaki 2218c6e479 Corrected the priority of operators for LISTVIEW_GetNextItem
function.
2005-05-25 09:53:46 +00:00
Hans Leidekker 97d1b11ebd Fix uninitialized warnings. 2005-05-24 12:34:29 +00:00
Kouji Sasaki 31f718b8bf Added handling of WM_ENABLE message. 2005-05-24 11:46:53 +00:00
James Hawkins 40c8f1bc02 Audit the List-View control. 2005-05-24 09:50:23 +00:00
James Hawkins 5e6b43e2a0 Select the item under the point (x,y) in MouseHover. 2005-05-20 19:16:23 +00:00
Dimi Paun 5631d063f4 Do not compute the hit test if we don't really need it. 2005-05-19 14:21:55 +00:00
James Hawkins b96eb4d3b0 - Store the click point in LISTVIEW_INFO.
- Move mouse tracking to MouseMove.
- Use DragDetect instead of TrackMouse.
- Remove the unused TrackMouse function.
2005-05-18 15:30:48 +00:00
Felix Nawothnig 43201e072b Resize listview column to autofit on a doubleclick on the
header-divider.
2005-05-18 09:47:30 +00:00
James Hawkins 1aa7afeed9 Fixed centering of tab text. 2005-05-17 10:19:37 +00:00
Felix Nawothnig e9e6f13996 Rewrote item layouting - new code fixes bitmap/image position for
non-left-aligned text, prevents jumping when resizing non-left-aligned
text, implements clipping for images and correctly aligns bitmaps when
an image is already there.
2005-05-14 11:03:17 +00:00
Aric Stewart 8a0f989891 Handle WM_NCCALCSIZE in the tab control. 2005-05-12 09:57:10 +00:00
Dimi Paun 4f197f0f3d Make it more explicit how we deal with WS_DISABLED. 2005-05-11 12:01:27 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Felix Nawothnig 4899a50056 Implemented WM_ENABLE. 2005-05-09 09:24:05 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Felix Nawothnig 2fcd42aac2 Set iItem to index before notifying callback items. 2005-05-04 10:37:17 +00:00
Stefan Leichter 5027c1b5c5 Import DPA_Search by ordinal like other DPA functions. 2005-04-22 21:18:12 +00:00
Duane Clark 320814fb67 Misc rectangle fixes.
The date should be initialized from local time.
2005-04-20 12:51:37 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Vitaliy Margolen 71be094420 Don't redraw if no information has changed.
Fixed endless redraw loop if app using callback for images and/or
text.
Keep color changes made by app for the current draw cycle.
2005-04-18 10:20:51 +00:00
Duane Clark ddf9da794e The datetime should be initialized with local time. 2005-04-18 09:52:18 +00:00
Duane Clark 1f7d6ccc2e Add support for direct keyboard input to numeric fields. 2005-04-16 10:48:02 +00:00
Duane Clark b00d5769da Hour '0' corresponds to 12AM. 2005-04-15 16:10:39 +00:00
Robert Shearman a3b4e20503 Fix TB_GETBUTTONSIZE to return the correct width/height for no
buttons.
2005-04-15 14:09:05 +00:00
Robert Shearman 21f9465067 - Use SetWindowPos to move the buddy window into position instead of
destroying it and recreating it at the new position.
- Clear the background in WM_VSCROLL to avoid problems with
  antialiased text drawing on top of itself multiple times.
2005-04-15 14:08:39 +00:00
Dimitrie O. Paun f35db0144c Keep track of WS_DISABLED explicitely, as it doesn't generate a
WM_STYLECHANGED message.
2005-04-14 13:58:45 +00:00
Dimitrie O. Paun 2e0a14820b Add support for LVN_ODSTATECHANGED.
Minor typo fixes.
2005-04-14 13:58:25 +00:00
Vitaliy Margolen 3b3574a468 Send notifies after invalidating changed areas.
Don't use custom draw returned colors for control.
2005-04-14 13:56:12 +00:00
Duane Clark a6659d26d2 Monday is day number '1'.
Set day of week when a day is selected in the calender.
Use fixed width fields in datetime.
DTS_TIMEFORMAT is a two bit field, so test accordingly.
Reposition and resize the updown control when the datetime control is
resized.
Respond to updown inputs.
2005-04-14 11:31:17 +00:00
Vitaliy Margolen b58004d9ae Draw only visible tabs. 2005-04-13 14:40:12 +00:00
Andreas Bjerkeholt 745ee3a67e Swedish translation. 2005-04-13 11:04:49 +00:00
Robert Shearman ea84f49393 Use ES_AUTOHSCROLL for edit box. 2005-04-12 10:16:23 +00:00
Dimitrie O. Paun 9da93dd879 Tab unicodification. 2005-04-11 14:21:15 +00:00
Dimitrie O. Paun 30a66a051c MonthCal unicodification. 2005-04-11 14:21:00 +00:00
Dimitrie O. Paun e50960b3d8 Audit the code against Comctl32.dll version 6.0.
Handle notification and styles as in the other controls.
Maintain the const for strings throughout parsing.
2005-04-11 12:58:30 +00:00
Ulrich Czekalla 8b20d72005 Clear systemtime struct so we don't return garbage in uninitialized
fields.
2005-04-11 12:57:57 +00:00
Francois Gouget 6b10c324c5 Assorted spelling fixes. 2005-03-30 17:08:31 +00:00
Robert Shearman 5a6461071e Fix size passed to SPI_NONCLIENTMETRICS. 2005-03-27 17:52:16 +00:00
Dimitrie O. Paun 8df71a6cfa Use {Alloc,ReAlloc,Free}() instead of Heap{Alloc,ReAlloc,Free}(). 2005-03-25 20:49:00 +00:00
Dimitrie O. Paun 0ac16713fd Proper handling for GWL_STYLE.
Minor cleanups.
2005-03-25 10:27:11 +00:00
Dimitrie O. Paun ecc850c460 Fix a memory leak in toolbar. Avoid casts. 2005-03-25 10:27:00 +00:00
Dimitrie O. Paun b1d65cb15d Handle wParam in WM_PAINT properly: if non-null, it is the hdc we are
supposed to use to draw into.
2005-03-25 10:26:10 +00:00
Dimitrie O. Paun 8e276da00f Add Robert Shearman's explanation about WM_NCPAINT.
Move testing comments in a more appropriate place.
2005-03-25 10:25:45 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Huw Davies b675c1a92e The depth of the colour bitmap needs to match that of the screen. 2005-03-24 15:07:40 +00:00
Dimitrie O. Paun 4cfce24f0e Complete the unicodification of comctl32undoc. 2005-03-24 15:07:23 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Jason Edmeades 06c7c90a69 Make the treeview correctly search when the top index is selected. 2005-03-23 11:58:58 +00:00
Dimitrie O. Paun a46b7fb404 Complete unicodification of the treeview common control. 2005-03-23 10:24:42 +00:00
Dimitrie O. Paun 67607f9e4c Complete unicodification of the tooltips common control. 2005-03-23 10:24:20 +00:00
Dimitrie O. Paun e912c6a931 Complete unicodification of the toolbar common control.
Move a header comment for consistency with the other controls.
Very small alignment fixes.
2005-03-23 10:24:06 +00:00
Dimitrie O. Paun 2c236638a9 Complete unicodification of the rebar common control. 2005-03-23 10:23:41 +00:00
Dimitrie O. Paun 2fbd839e90 Complete unicodification of the propsheet common control. 2005-03-23 10:23:23 +00:00
Dimitrie O. Paun 4904c8b52b Complete unicodification of the header common control. 2005-03-23 10:23:06 +00:00
Dimitrie O. Paun 8d435f04f8 Complete unicodification of the flatsb common control. 2005-03-23 10:22:52 +00:00
Dimitrie O. Paun 2e0431ea44 Complete unicodification. 2005-03-23 10:22:37 +00:00
Jakob Eriksson 461c830745 Eliminate HeapAlloc casts. 2005-03-22 18:26:06 +00:00
Dimitrie O. Paun ad23586ce1 Pull the WM_TIMER handling into its own function.
ANIMATE_DrawFrame shouldn't worry about locking, the lock should be
held by the caller.
2005-03-21 11:27:49 +00:00
Robert Shearman 6a365e0074 iSelectedImage is allowed to be 0. 2005-03-21 10:51:14 +00:00
Dimitrie O. Paun dcd3fde210 Complete unicodification. 2005-03-21 10:30:33 +00:00
Dimitrie O. Paun d09baae23d Proper handling for GWL_STYLE.
Store and use hwndSelf in the PAGER_INFO.
Pass the infoPtr around instead of hwnd.
Use proper types in the function signatures.
Fix a few return statements.
2005-03-21 10:30:18 +00:00
Dimitrie O. Paun 3e7c8e78dc Delete the critical section when freeing up the infoPtr. 2005-03-21 10:27:58 +00:00
C. Scott Ananian f65e415d64 UPDOWN_GetBuddyInt should not fail when the control is empty. 2005-03-18 14:09:12 +00:00
Alexandre Julliard 654eee5291 Revert changes to the painting code, the WM_CTLCOLORSTATIC message
should not be sent from the animation thread.
2005-03-18 10:30:13 +00:00
C. Scott Ananian 793fd5646b Started a unit test case for the updown control. 2005-03-16 19:52:40 +00:00
Dimitrie O. Paun fa241ee719 Audit the control against Comctl32.dll version 6.0.
Proper handling of GWL_STYLE.
Implement WM_CLOSE. Fix WM_SIZE implementation.
Small cleanups.
2005-03-16 19:47:52 +00:00
Dimitrie O. Paun e3335ee7c1 Cleanup and simplify the painting code.
Fix a potential bug along the way.
2005-03-15 15:39:38 +00:00
Evan Deaubl 20c93c2c0d TREEVIEW_DoSelectItem should not do any of the TVGN_FIRSTVISIBLE work
if the newSelect parameter is NULL.
2005-03-14 10:51:06 +00:00