Commit Graph

116 Commits

Author SHA1 Message Date
Thomas Faber e12c8c0ce9 comctl32: Fix build with MSVC. 2013-09-16 11:47:19 +02:00
Nikolay Sivov eaad1cdea8 comctl32: Fix tics rectangle width/height. 2013-05-13 11:09:26 +02:00
Nikolay Sivov 1776cbf459 comctl32: Properly paint thumb using DrawEdge() for diagonal edges too. 2013-05-13 11:09:20 +02:00
Nikolay Sivov a24808326d comctl32: Properly invalidate after setting thumb length. 2013-05-13 11:09:07 +02:00
Nikolay Sivov e95b9d2f06 comctl32: Update thumb size on WM_SIZE if it's not fixed, invalidate after resize. 2013-05-13 11:09:03 +02:00
Nikolay Sivov 2620e3cbe0 comctl32: Handle WM_ENABLE to update disabled style bit and repaint. 2013-05-10 17:53:07 +02:00
Nikolay Sivov 2248cfbb6b comctl32: Fix disabled thumb painting, for TBS_BOTH use edged rectangle. 2013-05-09 19:24:20 +02:00
Nikolay Sivov f296c84feb comctl32: Update thumb position on autopage instead of deferring it. 2012-03-13 10:30:08 +01:00
Nikolay Sivov 3d4a4dae70 comctl32: Update thumb position on WM_MOUSEMOVE instead of deferring it. 2012-03-12 10:11:28 +01:00
Nikolay Sivov e508eae7d7 comctl32: Update ticks on TBM_SETRANGE. 2012-02-13 13:09:45 +01:00
Nikolay Sivov 11de98be34 comctl32: Update ticks on TBM_SETRANGEMIN. 2012-02-13 13:09:45 +01:00
Nikolay Sivov abde0c21e3 comctl32: Update ticks on TBM_SETRANGEMAX. 2012-02-13 13:09:45 +01:00
Bellengé Maxime 8a947065dc comctl32: Don't reset trackbar thumb on a WM_SIZE message. 2011-07-20 19:23:05 +02:00
Piotr Caban f831f77515 comctl32: Use vssym32.h instead of tmschema.h. 2011-06-27 15:06:49 -05: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
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