Commit Graph

68 Commits

Author SHA1 Message Date
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
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
Kevin Groeneveld 3219ae74fb Change default range of up-down control to match range used in
window.
2003-09-02 23:05:21 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +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
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
Michael Stefaniuc 025c0b716b Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00
Dimitrie O. Paun cb1f1454ff Small updown cleanup. 2002-09-04 18:45:42 +00:00
Dimitrie O. Paun 7229935023 Allow the application to subclass a buddy edit (spotted by Guy
L. Albertelli).
2002-07-19 00:27:52 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 13b0dc5fde Replaced swprintf by wsprintfW. 2002-05-29 19:25:50 +00:00
Alexandre Julliard 9b6f433ebb Implemented strtolW/strtoulW in libwine_unicode and used it to replace
wcstol and friends.
2002-05-16 18:58:47 +00:00
Dimitrie O. Paun dd585157fe - implement UDS_HOTTRACK
- implement NM_RELEASEDCAPTURE
- implement UDM_[GS]ETUNICODEFORMAT
- get rid of WM_NCCREATE processing
- use InvalidateRect instead of a synch refresh
- implement auto auto arrow press on key presses
- more code cleanups
- better drawing, closer to native
2002-04-01 20:57:44 +00:00
Dimitrie O. Paun a7dbc6c823 - updown unicodification
- better/cleaner buddy handling
- few bugs fixed
- more testing
- consistent indentation
2002-03-28 22:05:18 +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
Andreas Mohr 8bc7f16caa Spelling/alignment fixes. 2002-02-27 01:34:08 +00:00
Dimitrie O. Paun 07869ec403 Various cleanups:
- get rid of the static data member
- pass the infoPtr around instead of the hwnd
- fix indentatin/style a bit to make it consistent with the rest of
  the file.
2002-02-05 18:08:01 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Dimitrie O. Paun 842c21245f Corrected default values with help from Ulrich Czekalla. 2000-11-26 22:35:01 +00:00
Dimitrie O. Paun 3c13ab1ab4 Update comments, cleanup warning messages. 2000-11-25 01:37:22 +00:00
Eric Kohl 887a91f4b7 Implemented new messages. 2000-11-07 20:29:50 +00:00
Uwe Bonnes 64d95e9374 Draw the scrollbar beside the buddy when neither UDS_ALIGN[RIGHT|LEFT]
is given.
2000-10-15 00:28:44 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Alexandre Julliard e5fe735d89 Moved NM_UPDOWN definition to commctrl.h. 2000-08-11 12:53:27 +00:00
Alexandre Julliard 70c9e095ef Removed all non-standard common control headers from the include
directory.
2000-08-09 00:41:17 +00:00
Susan Farley 62c5d9f366 SetBuddy no longer overwrites its superclass' WndProc property when
the buddy has already been subclassed, eliminating the infinite loop
that resulted.
2000-05-23 21:22:27 +00:00
Gerard Patel a1b2fc2a80 Protect against use of comctl32 private control memory after it has
been freed.
2000-05-10 01:34:53 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Serge Ivanov a2c87ded53 Make updown control work. UpDown control always sends WM_*SCROLL
message and uses SB_THUMBPOSITION code (not SB_LINE[UP|DOWN]).
2000-02-29 22:04:40 +00:00
Alexandre Julliard d711ad9e0a Removed superfluous GlobalFindAtom calls. 2000-02-13 15:10:16 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Patrik Stridvall 26ffb3cd76 Fixed/added missing/wrong function prototypes and made internal
functions static.
1999-07-31 14:41:43 +00:00
Francis Beaudet 9b7fa1922a Added more support for buddy windows in the updown control. 1999-07-30 18:00:28 +00:00