Commit Graph

96 Commits

Author SHA1 Message Date
Robert Shearman 2e9436c038 User controls: GWL_ -> GWLP_. 2004-08-17 22:29:29 +00:00
Oleg Prokhorov 616cffb8b7 Removed DT_NOCLIP format flag. 2004-05-25 04:49:22 +00:00
Rein Klazes b64c89c59a When repainting a static control, with SS_BITMAP style, do not erase
the background. Keep sending the WM_CTLCOLORSTATIC notification as
Windows does.
2004-05-25 04:03:21 +00:00
Dimitrie O. Paun 126227a55a Remove the support for the Win 3.1 Look. 2004-04-01 04:57:12 +00:00
Ge van Geldorp 545ecf2ef3 Set upper-left corner of destination to (0, 0), using
GetBitmapDimensionEx doesn't make sense.
2004-02-10 20:09:04 +00:00
Alexandre Julliard b0622101b6 System classes must not have the CS_GLOBALCLASS style. 2003-12-10 04:14:35 +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
Igor Grahek ed31f0ce5b Send STN_CLICKED ad STN_DBLCLK messages to parent window if SS_NOTIFY
is enabled.
2003-08-23 00:46:34 +00:00
Dmitry Timoshkov 03ca764005 WM_PAINT(wParam) might be a valid HDC. 2003-08-11 18:43:07 +00:00
Dmitry Timoshkov 49fef46967 Added definition of SS_USERITEM. 2003-05-12 03:23:15 +00:00
Michael Stefaniuc ec5612ee1d Some more fixes for compiling the user dll with -DSTRICT. 2002-10-30 23:45:38 +00:00
Alexandre Julliard 0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Michael Stefaniuc bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Michael Stefaniuc 2247af320d - Rename WIN_Handle16 to HWDN_16 and make it a macro.
- Prepare user.dll for the change of HWND to a void*.
2002-09-04 19:37:01 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Dmitry Timoshkov aba60df415 Always erase background. 2002-04-09 01:34:48 +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
Eric Pouech ed792972d9 Fixed WM_SETFONT handling (no redraw made in some cases). 2002-02-26 00:37:28 +00:00
Guy Albertelli bde5cf0bc2 Paint control immediately on WM_SETTEXT. 2002-01-31 21:02:17 +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
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Jukka Heinonen 186a79cb92 WNDPROC handlers now check whether HWND argument is valid. 2001-07-24 01:16:16 +00:00
Gerard Patel d36a3ef385 Call DefWindowProc for WM_CTLCOLORSTATIC message when the apps does
not.
2001-03-10 19:16:26 +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
Dmitry Timoshkov 009c1f8005 Added unicode window proc for the static control.
Replaced ansi calls by their unicode equivalents.
2001-01-05 22:20:57 +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
Andreas Mohr 94a6832b04 WM_SETTEXT should return TRUE on success. 2000-11-29 00:02:46 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Alexandre Julliard 2682bc24ca Fixed a few dependencies on 16-bit or internal functions. Fixed a few
warnings.
2000-11-27 22:03:23 +00:00
Gerard Patel 0e805aa358 Background of SS_SIMPLE static control is not filled (unless it has
SS_NOPREFIX too).
2000-07-16 14:39:21 +00:00
Dmitry Timoshkov 04da8b8f28 Convert WND.text field to Unicode.
Add new key to wine.ini in the section [x11drv] - TextCP, which means
code page used for texts passed to X.
Accordingly fix handlers of WM_SETTEXT/WM_GETTEXT.
2000-07-10 12:09:31 +00:00
Huw D M Davies d552d98b51 Add support for icons set by STM_SETIMAGE. 2000-06-11 20:00:33 +00:00
Serge Ivanov bfe15b12ad MSDN: "WM_NCHITTEST - Returns HTCLIENT if the control style is
SS_NOTIFY; otherwise, returns HTTRANSPARENT. "
2000-06-01 22:46:51 +00:00
Ulrich Czekalla 60b1c38e86 The static control only needs to invalidate its rect when we SetText. 2000-03-08 18:22:51 +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
Luc Tourangeau e84b678408 Implementation of Static OwnerDraw. 2000-02-07 16:01:04 +00:00
Marcus Meissner 2e48a2cc22 Do not clear the drawing area for etched static controls.
Replaced our own drawing stuff in etched static controls by DrawEdge.
1999-10-31 17:36:26 +00:00
Francis Beaudet 2862362259 Fixed display bug in the static control. 1999-09-20 18:28:08 +00:00
Huw D M Davies df78d68589 Use GDI APIs to access bitmap info. 1999-07-25 11:15:54 +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
Niclas Karlsson a0dc4e493f Removed DT_SINGLELINE and DT_NOCLIP styles for SS_LEFTNOWORDWRAP. 1999-01-23 12:22:20 +00:00
Michael Veksler ca1bc866cf Moves more stuff from windows.h.
- include/winuser.h - interface relevant to user32.spec
- include/wine/winuser16.h - the old 16 bit interface (internal use)
- include/winbase.h - some minor updates to keep things coherent.
- Lot of other files made to include wine/winuser16.h, which is no
  longer included from windows.h
1999-01-01 18:57:33 +00:00
Marcus Meissner 66da3dc3f6 Small hack to get rid of annoying err:resource: message for
MessageBoxes.
1998-12-14 14:42:22 +00:00
Huw D M Davies 1fea6b9623 We don't yet want the static control to call DestroyIcon. 1998-12-07 12:50:14 +00:00
Marcus Meissner 4ef4d6d5ea lpszName of NULL is handled (removes some warnings). 1998-10-31 12:07:51 +00:00
Marcus Meissner 0108d6423e Hack to support integer ids in all static controls. 1998-10-24 11:04:56 +00:00