Commit Graph

138 Commits

Author SHA1 Message Date
Dmitry Timoshkov a98beddcce Add a test case for scroll APIs, fix a few bugs spotted by it. 2004-07-09 19:25:26 +00:00
Troy Rollo eed4411f8d - Setting the scroll range with the "bRedraw" flag set to true on a
non-control scrollbar resulted in the scrollbar being drawn over the
  whole window area.
- If you don't set WS_HSCROLL/WS_VSCROLL on window creation, setting a scroll
  range does nothing. Setting the scroll range to a non-zero range should cause
  scroll bars to be displayed. Setting the range to a zero range
  should cause the relevant scroll bar to be hidden.
2004-07-08 20:15:46 +00:00
Dmitry Timoshkov 8f9d07f16b Added 32->16 mapping for SBM_GETRANGE/SBM_SETRANGE messages.
Added support for SBM_GETRANGE16 message in the scrollbar window
proc.
2004-06-14 17:55:27 +00:00
Dmitry Timoshkov 674c302c85 Make SetScrollRange behave like GetScrollRange does, i.e. send
messages to the control for SB_CTL case.
2004-06-14 16:55:53 +00:00
Alexandre Julliard eed647d0ad Remove bitmaps that were only used for the 3.1 look. 2004-05-05 23:50:37 +00:00
Dimitrie O. Paun 126227a55a Remove the support for the Win 3.1 Look. 2004-04-01 04:57:12 +00:00
Dmitry Timoshkov bd5c18c3f1 Scrollbar should also react on WM_LBUTTONDBLCLK. 2004-03-29 22:56:01 +00:00
Ulrich Czekalla 00d0d7f21f Add cast to correctly interpret signed coordinate values. 2004-03-16 19:12:40 +00:00
Alexandre Julliard b0622101b6 System classes must not have the CS_GLOBALCLASS style. 2003-12-10 04:14:35 +00:00
Huw Davies d105fe2169 Only honour SBS_SIZEBOX*ALIGN styles if SBS_SIZE{GRIP,BOX} is set. 2003-12-03 03:55:12 +00:00
Alexandre Julliard 3f1372466b Authors: Aric Stewart <aric@codeweavers.com>, Huw Davies <huw@codeweavers.com>
Some support for SBS_SIZEGRIP.
2003-12-02 05:27:54 +00:00
Dmitry Timoshkov f962a792ec Always repaint scroll bar if requested. 2003-11-04 04:21:15 +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
Dmitry Timoshkov 03ca764005 WM_PAINT(wParam) might be a valid HDC. 2003-08-11 18:43:07 +00:00
Alexandre Julliard 98bcdf9e5d Revert broken change to the scrollbar position adjustment code. 2003-03-24 19:36:17 +00:00
Tony Lambregts 2e24a148bf Replace DPRINTF with TRACE. 2003-03-15 00:12:42 +00:00
Andrew Johnston 7b56b79f74 Move keyboard event processing from WndProc code into the existing
helper.
Create a helper function for the create event and clean up code.
Remove macro for detecting invalid SCROLLINFO structures and make it
an inline function.
2003-03-07 23:08:38 +00:00
Andrew Johnston 7277d20c69 - GetScrollRange zeros the return parameters for no infoPtr
- GetScrollRange, GetScrollPos and GetScrollInfo send a message to the
  window for the SB_CTL case
- Moved code for GetScroll* to into worker functions
2003-03-07 20:38:20 +00:00
Alberto Massari bf9390e7d2 Handle the WS_EX_LEFTSCROLLBAR style (that is, draw the vertical
scrollbar on the left side of the control).
2003-01-14 23:41:01 +00:00
Duane Clark a3b5780491 Need to initialize tracking value on mousedown. 2002-12-17 21:00:11 +00:00
Alexandre Julliard 18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Robert Shearman bcca0cb395 Add support for painting SBS_SIZEBOX style properly. 2002-11-25 01:09:24 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard 7ef66af34a Moved some more 16-bit functions to user16.c.
A few fixes for -DSTRICT.
2002-11-22 04:47:10 +00:00
Andrew M. Johnston 3fcf37a002 Make info structure members lower case as elsewhere. 2002-10-10 17:53:04 +00:00
Duane Clark ff42c0174d On mouse down in thumb, issue SB_THUMBTRACK with current position.
On mouse up in thumb, issue SB_THUMBPOSITION followed by
SB_ENDSCROLL.
2002-08-03 00:13:48 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 4344c368cb Got rid of GetSysColorPen. 2002-05-20 18:15:28 +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
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