Commit Graph

102 Commits

Author SHA1 Message Date
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
Nikolay Sivov 0f670168e4 comctl32/trackbar: Protect from negative tic count in recalculation helper.
Fix for regression introduced in 42c83b9dc7
2009-09-18 08:56:09 -05:00
Nikolay Sivov 629eb23a11 comctl32/trackbar: TBM_SETTIC processing shouldn't be affected by TBS_AUTOTICKS style. 2009-09-08 12:11:27 +02:00
Nikolay Sivov 5594a5f960 comctl32/trackbar: Default to TBTS_TOP position on creation. 2009-09-08 12:11:19 +02:00
Nikolay Sivov 4845dc36e4 comctl32/trackbar: Reduce parameter count for some helpers. 2009-09-02 15:33:28 +02:00
Nikolay Sivov 6f395805b1 comctl32/trackbar: Cache window style. 2009-09-02 15:33:21 +02:00
Nikolay Sivov 42c83b9dc7 comctl32/trackbar: Fix tic count calculation. 2009-09-02 15:33:10 +02:00
Nikolay Sivov b7d7d58978 comctl32/trackbar: Fix reverting to default value for TBM_SETPAGESIZE with lParam = -1. 2009-03-24 12:42:19 +01:00
Ricardo Filipe 1c55ba0b83 comctl32: Removed dead assignments (llvm/clang). 2008-11-25 13:07:35 +01:00
Vincent Povirk 00e2d897c2 comctl32: Do not repaint on TBM_SETPOS if position is unchanged. 2008-11-17 13:54:52 +01: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
James Hawkins b04ae273de comctl32: Free the trackbar tics. 2008-07-14 11:51:13 +02:00
Gerald Pfeifer c6db778f4c comctl32: Simplify functions by shedding off unused parameters. 2008-07-08 11:32:00 +02:00
Gerald Pfeifer 0f35109915 comctl32: Fix signedness of two variables. 2008-07-08 11:31:38 +02:00
Andrew Talbot 2db311a843 comctl32: Dangling pointers fix. 2008-04-28 14:32:17 +02:00
Andrew Talbot 369d414d59 comctl32: Remove unused variables. 2008-04-14 12:42:36 +02:00
Lei Zhang 3980401231 comctl32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Reece H. Dunn af9c736f6b comctl32: Proper fix redrawing the trackbar background with themes enabled. 2008-02-05 12:19:36 +01:00
Austin English c2a7914d1c comctl32: Spelling fixes. 2008-01-24 11:43:02 +01:00
Andrew Talbot 863ffb719b comctl32: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Andrew Talbot 1bf787d521 comctl32: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Reece H. Dunn 4b4cfff4ba comctl32: Fixed drawing the trackbar background when themes are installed. 2007-10-09 17:52:46 +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 58ec988800 comctl32: Constify some variables. 2007-04-03 11:22:00 +02: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
Oleg Krylov 32caf30f9c comctl32: Create tooltip windows with WS_POPUP style. 2006-10-25 20:21:34 +02:00
Michael Ploujnikov 1c16d83379 comctl32: Win64 printf format warning fixes. 2006-10-14 20:17:06 +02:00
Andrew Talbot cc90540c9b comctl32: Cast-qual warnings fix. 2006-09-07 10:16:34 +02:00
Michael Stefaniuc 00e779370f janitorial: Put "inline static" at the beginning of a declaration. 2006-07-07 14:30:35 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Kaufmann e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Frank Richter 37bc5d81e2 Improved trackbar theming. 2005-08-15 10:24:00 +00:00
Frank Richter 251502b281 Add initial theming support for trackbars. 2005-08-12 11:17:26 +00:00
Paul Vriens f93a0780c9 Remove the checking/setting of the defaults in TRACKBAR_Create. 2005-01-17 13:38:44 +00:00
Eric Pouech cf1d00bb08 Removed excessive statement (break after return or goto, not useful
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Alexandre Julliard a79c534c0e Avoid using the MAKEPOINTS macro, it's broken on big endian. 2004-11-24 18:28:31 +00:00
Robert Shearman b2499c9757 Set class hbrBackground and style to the same as native. 2004-09-14 00:45:26 +00:00
Hans Leidekker 411fc5f164 Fix signed/unsigned comparison warnings. 2004-09-02 23:00:53 +00:00
Robert Shearman cdb263e588 Replace GetWindowLong by GetWindowLongPtr. 2004-08-25 17:33:01 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Duane Clark 88c25c86e5 Reinitialize thumb when trackbar size is changed. 2003-12-30 19:10:15 +00:00
Huw Davies a63270f183 Unswap Page Up & Down and fix TBS_DOWNISLEFT.
NM_* notifications go via WM_NOTIFY not WN_?SCROLL.
Pull the notification window from the CreateStruct.
Send a TB_THUMBPOSITION at the end of a drag.
2003-11-18 19:39:40 +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 1084a8ba93 Moved out of windef.h a few definitions that don't belong there
(reported by Filip Navara).
2003-09-17 04:31:27 +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
Duane Clark 0d5aae1a0d Oops, back to hard coding initial thumb size until we figure out how
it really should work.
Fix the channel size/selection range for the TBS_ENABLESELRANGE
style.
One pixel tweaks in several spots.
2003-08-06 22:05:11 +00:00