Commit Graph

102 Commits

Author SHA1 Message Date
Piotr Caban
22a1329382 comctl32: Fix a typo in UPDOWN_OffsetVal that breaks UDS_WRAP flag support. 2013-10-28 10:43:14 +01:00
Piotr Caban
e58af930ff comctl32: Fix UDM_GETPOS behaviour on out of range values. 2013-10-16 20:49:26 +02:00
Piotr Caban
ac31df438a comctl32: Fix UDM_SETPOS behavior on out of range values. 2013-10-16 20:49:26 +02:00
Piotr Caban
e6fce2de4a comctl32: Set updown control value to min or max in out of range case. 2013-10-16 20:49:26 +02:00
Andrew Talbot
23fde785ee comctl32: Avoid signed-unsigned integer comparisons. 2013-01-02 13:35:52 +01:00
Piotr Caban
f831f77515 comctl32: Use vssym32.h instead of tmschema.h. 2011-06-27 15:06:49 -05:00
Nikolay Sivov
8c16c4030b comctl32/updown: Use set acceleration value while processing keyboard keypresses. 2010-02-04 17:27:37 +01:00
Nikolay Sivov
f897a91247 comctl32/updown: Fix formatting for hex mode. 2009-12-28 12:27:14 +01:00
Nikolay Sivov
9ef90f480a comctl32/updown: Don't change control z-order, this breaks auto buddy binding. 2009-12-23 14:27:30 +01:00
Nikolay Sivov
750ce6be35 comctl32/updown: Don't update buddy text if it's the same. 2009-12-23 14:27:30 +01:00
Nikolay Sivov
6cc141ff59 comctl32/updown: Simplify buddy subclassing using SetWindowSubclass chain. 2009-12-22 13:48:26 +01:00
Nikolay Sivov
eaee84f4db comctl32/updown: Set width to default value on creation. 2009-12-03 14:02:54 +01:00
Anders Jonsson
c00b759415 comctl32: Fix typos. 2009-11-16 13:47:55 +01:00
Nikolay Sivov
f37130c83b comctl32: Use user32 control names from public header constants instead of defining over and over again. 2009-10-08 12:11:47 +02:00
Nikolay Sivov
f684bbaef7 comctl32/updown: Update buddy on base change. 2009-09-22 16:25:29 +02:00
Nikolay Sivov
4efa9f5e43 comctl32/updown: Fix control behaviour for UDS_SETBUDDYINT style. 2009-09-22 16:25:13 +02:00
Nikolay Sivov
963b7b5766 comctl32/updown: Skip thousands separation on hex mode. 2009-09-22 16:24:31 +02:00
Nikolay Sivov
b2917cf598 comctl32/updown: Allow ranges with max < min for Up/Down control. 2009-04-10 14:49:23 +02:00
Nikolay Sivov
d7439c0b75 comctl32/updown: Don't pass VK_[UP|DOWN] to original Up/Don control buddy's winproc. 2009-04-03 13:01:07 +02:00
Michael Stefaniuc
da6d7920de comctl32: Remove superfluous pointer casts. 2009-02-13 13:00:25 +01:00
Michael Stefaniuc
b723e6f6b6 comctl32: Remove the superfluous casting of the LPVOID returned by Alloc(). 2008-10-24 14:24:59 +02:00
Gerald Pfeifer
d585d42209 comctl32: Push down function scope variable into the different case statements which allows us using more specific types in case. 2008-07-29 13:53:36 +02:00
Mikołaj Zalewski
60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +02:00
Peter Urbanec
287561cce5 comctl32: Mousewheel support for updown control. 2008-04-11 12:11:33 +02:00
Austin English
c2a7914d1c comctl32: Spelling fixes. 2008-01-24 11:43:02 +01:00
Andrew Talbot
867f254bec comctl32: Remove unneeded casts. 2007-12-31 17:40:45 +01: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
b84348c4ce comctl32: Constify some variables. 2007-04-03 11:22:12 +02:00
Michael Stefaniuc
22ecd7aa67 comctl32: Remove redundant NULL checks before Free() (found by Smatch). 2007-03-08 11:58:04 +01: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
38904c4fae Add theming for the up/down control. 2005-07-25 11:23:42 +00:00
Stefan Huehner
712087700e Fix some -Wstrict-prototypes warnings. 2005-06-16 15:52:44 +00:00
Dimi Paun
4f197f0f3d Make it more explicit how we deal with WS_DISABLED. 2005-05-11 12:01:27 +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
0ac16713fd Proper handling for GWL_STYLE.
Minor cleanups.
2005-03-25 10:27:11 +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
a79c534c0e Avoid using the MAKEPOINTS macro, it's broken on big endian. 2004-11-24 18:28:31 +00:00
Dmitry Timoshkov
47361da574 - do not move updown control and buddy if an alignment was not requested
- in UDM_SETACCEL handler do not forget to update number of accelerators
- update arrows info in WM_LBUTTONDOWN as well as in WM_MOUSEMOVE
- use accelerators in WM_LBUTTONDOWN handler
2004-11-09 20:03:47 +00:00
Dimitrie O. Paun
186b4b6843 Use only Unicode functions, it makes it easier to see we are fully
Unicode compliant.
2004-10-25 21:47:57 +00:00
Francois Gouget
67aa858a31 Assorted spelling fixes. 2004-10-05 18:15:29 +00:00
Robert Shearman
b2499c9757 Set class hbrBackground and style to the same as native. 2004-09-14 00:45:26 +00:00
Robert Shearman
cdb263e588 Replace GetWindowLong by GetWindowLongPtr. 2004-08-25 17:33:01 +00:00
Huw Davies
75a1f6d0e9 When setting the buddy to 0 then we must still resize the updown
control.
2004-03-15 20:20:41 +00:00
Huw Davies
831098be33 Added CS_HREDRAW. 2004-03-15 20:10:32 +00:00
Dimitrie O. Paun
c594043316 Make the controls send notifications to the parent window passed to
them in CREATESTRUCT.  Based on a treeview patch by Igor Grahek.
2003-11-20 22:04:13 +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
9d61596624 SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara). 2003-09-17 04:28:28 +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