Commit Graph

65 Commits

Author SHA1 Message Date
Mark Harmstone 50c2144999 comctl32: Fix graphical error on themed progress bars. 2015-02-16 19:18:52 +09:00
Nikolay Sivov 2a348791ee comctl32/progress: Update position by one step on PBM_SETPOS in PBS_MARQUEE style. 2014-06-11 19:15:17 +02:00
Nikolay Sivov c69a7ecfb6 comctl32/progress: Erase background too on WM_TIMER for marquee animation. 2014-06-11 19:15:16 +02:00
Nikolay Sivov 25279d310e comctl32/progress: Set default marquee animation timer to 30 msec. 2014-06-11 19:15:15 +02:00
Nikolay Sivov 65a47e3df6 comctl32: Return previously set colors for PBM_SETBKCOLOR and PBM_SETBARCOLOR. 2013-05-27 19:18:01 +02:00
Michael Stefaniuc 5bade39f55 comctl32: Remove a superfluous function pointer cast. 2012-11-30 19:12:16 +01:00
Piotr Caban f831f77515 comctl32: Use vssym32.h instead of tmschema.h. 2011-06-27 15:06:49 -05:00
Francois Gouget 320d8d2a52 comctl32: Add a trailing '\n' to a FIXME() call. 2010-12-09 12:17:33 +01:00
André Hentschel d32d1c866d comctl32: Partially implement new messages. 2010-12-05 12:25:16 +01:00
Alexandre Julliard 87b359c48a comctl32/progress: Fix incorrect use of the ScreenToClient function. 2010-10-05 14:03:54 +02:00
André Hentschel b585ca0f64 comctl32: Stop flicker when drawing themed and draw the correct image smoothly. 2009-08-04 13:46:58 +02:00
Nikolay Sivov 753407ef82 comctl32/progress: Implement PBM_GETBKCOLOR. 2009-06-29 14:32:33 +02:00
Nikolay Sivov 84f3c50474 comctl32/progress: Implement PBM_GETBARCOLOR, add some todo entries. 2009-06-29 14:32:21 +02:00
Michael Stefaniuc b723e6f6b6 comctl32: Remove the superfluous casting of the LPVOID returned by Alloc(). 2008-10-24 14:24:59 +02:00
Mikołaj Zalewski 60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +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
Andrew Talbot abf4d3b8cd comctl32: Constify some variables. 2007-04-02 11:37:03 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget 379b62c04e Assorted spelling fixes. 2006-02-06 20:58:36 +01:00
Mike McCormack ab4438e24d comctl32: Invalidate the entire progress bar any time it changes. 2006-01-11 12:11:46 +01:00
Michael Kaufmann e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Michael Kaufmann e3a35a8653 - Redraw immediately upon PBM_SETPOS, PBM_DELTAPOS, PBM_STEPIT.
- New tests.
2005-08-23 10:02:25 +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 a95e3e2923 Add theming for the progress control. 2005-08-11 18:34:35 +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
Dimitrie O. Paun bc88300968 Minor cleanups. 2004-10-27 21:16:03 +00:00
Robert Shearman cdb263e588 Replace GetWindowLong by GetWindowLongPtr. 2004-08-25 17:33:01 +00:00
Thomas Weidenmueller 7155eff8bc Added support for PBS_MARQUEE style. 2004-08-02 22:19:50 +00:00
Robert Shearman 3c6956d3ea Spelling fixes. 2004-03-11 00:39:53 +00:00
Dimitrie O. Paun 7de279a73a Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}. 2003-09-22 21:32:33 +00:00
Alexandre Julliard f5cb3dde17 Moved undocumented functions out of the exported commctrl.h. 2003-09-17 20:15:21 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Huw Davies 5594fcea74 Invalidate the window when the range is changed. 2003-05-11 02:38:05 +00:00
Rolf Kalbermatter 6c79930413 Add config.h/port.h to allow compilation/linking in MSVC.
Fix some unsigned/signed warnings.
2002-12-16 22:43:58 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Michael Stefaniuc 353529b2c8 - fix the "int format, HANDLE arg" type of warnings for comctl32
- compile the comctl32 dll with -DSTRICT
2002-10-23 22:19:10 +00:00
Michael Stefaniuc f3d1893f80 Add needed casts for a "no warnings" compile of comctl32. 2002-10-23 20:19:22 +00:00
Dimitrie O. Paun da9bac4d9e Add comment on what is known about the current state of the controls
relative to comctl32.dll version 6.0.
2002-10-16 18:57:14 +00:00
Dimitrie O. Paun 856a91b734 - Fix bug in mouse position reading.
- Remove useless code.
- Small code cleanups.
2002-09-09 19:21:30 +00:00
Alexandre Julliard 473f3de872 Reduce flicker on updates. 2002-08-13 18:08:45 +00:00
Guy L. Albertelli 23739a339a Don't issue error message if message number in application range. 2002-07-16 01:23:59 +00:00
Dmitry Timoshkov e4a33c0660 Cosmetic fix. 2002-06-14 00:01:44 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Dmitry Timoshkov 94d5cd4203 Remove PROGRESS_Refresh, always do InvalidateRect() to repaint.
Add WM_ERASEBKGND handler as in Windows.
Be slightly smarter whether invalidate background or not.
Always treat wParam as INT to not lose signed values.
2002-02-05 18:08:38 +00:00
Dmitry Timoshkov ec7c2a80b2 Moved style correcting code to the WM_CREATE handler and added
clearing of WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE as in Windows.
Added SetWindowPos(SWP_FRAMECHANGED) to make changes take effect.
2002-02-04 18:31:17 +00:00
Dimitrie O. Paun 187a6795c4 - add new SetRange functions (instead of duplicating the code)
- pass the infoPtr around instead of the hwnd
- use W-functions instead of A-functions
- more checks in case of failures
- make indentation and style consistent throughout the file
2002-01-29 17:15:48 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00