Commit Graph

108 Commits

Author SHA1 Message Date
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
Phillip Ezolt 76198ce262 Fixed the scrollbar position overflows using MulDiv. 2002-02-19 18:36:55 +00:00
Alexandre Julliard c72a9aa83e CodeWeavers
Minor fixes.
2002-01-31 21:05:05 +00:00
Alexandre Julliard ddc3317b7a Store in the server all the window information accessible with
Get/SetWindowLong.
2001-10-22 19:08:33 +00:00
Alexandre Julliard b662e11a00 Moved scrollbar tracking code to scroll.c.
Avoid unnecessary coordinates conversion in NC_HandleSysCommand.
2001-10-16 21:52:26 +00:00
Alexandre Julliard 8fd26b9134 Renamed WIN_GetWndPtr into WIN_GetPtr and added corresponding
WIN_ReleasePtr. Started using it instead of WIN_FindWndPtr where we
don't need to access windows of other processes.
2001-10-15 17:56:45 +00:00
Guy Albertelli 943e761db7 - Implement message loop on the client side of the scroll control.
- Move the mouse capture to after the SetFocus so that it stays
  captured.
2001-09-21 21:43:38 +00:00
Alexandre Julliard d23a82bc86 Made all 16<->32 HWND conversions use explicit functions instead of
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Bobby Bingham 49c7aff248 When you hold the left mouse button inside the scrollbar, then move
the mouse off so it stops scrolling, and return the mouse, it should
continue scrolling.
2001-09-17 19:01:08 +00:00
Alexandre Julliard f44bbb8d10 Make sure that HWND comparisons are always done with full 32-bit
handles.
2001-09-14 00:24:39 +00:00
Alexandre Julliard de42428f23 Removed a number of direct accesses to the WND structure, replacing
them by API calls.
2001-08-10 22:51:42 +00:00
Jukka Heinonen 186a79cb92 WNDPROC handlers now check whether HWND argument is valid. 2001-07-24 01:16:16 +00:00
Andreas Mohr 99f2f396b5 Spelling fixes. 2001-06-22 23:21:47 +00:00
Bobby Bingham aa5b6ce836 Fixed scrollbars return value to the SBM_SETRANGE and
SBM_SETRANGEREDRAW messages.
2001-05-31 21:30:06 +00:00
Patrik Stridvall 15a3b74356 Documentation name fixes. 2001-04-27 18:03:51 +00:00
Alexandre Julliard da2892c0fb Do not allocate any USER data on the system heap. 2001-02-23 01:13:42 +00:00
Patrik Stridvall 0c61028734 Documentation ordinal fixes. 2001-01-25 22:22:21 +00:00
Dmitry Timoshkov a234db82eb Solve remaining problems with scroll bars in the edit control. 2001-01-19 20:49:54 +00:00
Alexandre Julliard a41b2cfdd0 Moved tweak support to USER dll. Removed tweak.h and cache.h. 2001-01-15 20:12:55 +00:00
Alexandre Julliard 91222da881 Moved most builtin controls structures into their respective C file.
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
2000-12-10 23:01:33 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Chris Morgan cbbc7c3d60 Don't draw scrollbars if their client rectangle is empty. 2000-11-26 22:36:53 +00:00
Francois Gouget e3810e3acc Check for SB_CTL before displaying a caret. 2000-11-01 01:52:37 +00:00
Francois Gouget eecb40ec43 Hide the caret only on the first WM_KEYDOWN. 2000-10-31 01:03:15 +00:00
Francois Methot 9a58351fda Added support of blinking thumb as found in Windows scrollbar. 2000-10-25 21:26:27 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Gerard Patel ed66930518 SetScrollInfo : don't show/hide scrollbar if no parameter (minval,
maxval) change.
2000-09-12 23:59:10 +00:00
Ove Kaaven 690142dc5b Fix a few typos and such. 2000-07-23 13:43:00 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +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
Rein Klazes e8256f589f Don't show the scrollbar if SetScrollinfo() is called with only the
SIF_DISABLENOSCROLL flag.
2000-01-04 00:28:55 +00:00
Alexandre Julliard 15de615276 Got rid of dsprintf and related macros. 1999-08-04 12:22:42 +00:00
Dennis Björklund 736eef4a20 Win9x look & feel on scrollbars. 1999-07-18 15:26:25 +00:00
Ove Kaaven a8aa5e4f63 Fixed check for whether to call SetWindowPos when showing a window
scroll bar.
1999-07-04 12:48:38 +00:00
Gerard Patel ed941a101f Make GetScrollInfo return scroll pos when program requests thumb pos
outside drag operation.
1999-07-03 11:52:38 +00:00
Slava Monich 359a748d9b In case if scrollbar has the same background color as the window
it belongs to, it needs to be filled with 0x55aa bitmap brush.
1999-06-26 11:42:27 +00:00
Ron Cemer e0ec8fd931 Fixes for several bugs in which portions of the scrollbar were not
being redrawn correctly, the focus rectangle was not being correctly
removed from the thumb before redrawing, etc.; added complete Win9x
and WinNT look and feel support.
1999-06-06 17:19:18 +00:00
Marcus Meissner ddca315388 Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00
Alexandre Julliard 9fe7a2545a Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-05-14 08:17:14 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Francois Boisvert 6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Francois Gouget 289211cc3b Fixed a number of warnings concerning the matching of the printf
format string and the associated parameters (actually it's mostly
TRACE and FIXMEs).
1999-02-17 16:15:11 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Marcus Meissner d5e7c7927c Some unnecessary #include and messages removed. 1998-12-09 11:06:00 +00:00
Huw D M Davies 2d617be099 Replace GRAPH_ functions with Win SDK equivalents. 1998-12-08 09:14:09 +00:00
Patrik Stridvall d054b4123c Check if scrollbar and parent are visible before redraw. 1998-10-24 13:06:16 +00:00