215 Commits

Author SHA1 Message Date
Rein Klazes
dfa4354134 DefWindowProc's WM_NCCALC handler must not subtract space for
scrollbars if there is not enough space for it anyway. With tests to
confirm the behavior.
2005-02-22 15:46:36 +00:00
Dmitry Timoshkov
39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Dmitry Timoshkov
6dba0a7718 Add support for winevent hooks. 2005-02-03 16:40:20 +00:00
Alexandre Julliard
6382ffae2a Replace a number of calls to WIN_FindWndPtr by WIN_GetPtr. 2005-01-20 20:07:42 +00:00
Alexandre Julliard
6758db9a0c Get rid of nonclient.h and of the corresponding exported functions in
user32.spec.
2005-01-17 20:27:11 +00:00
Alexandre Julliard
94ee1ebd6c Remove a few no longer needed 16-bit exports from gdi32. 2004-12-09 11:51:21 +00:00
Alexandre Julliard
6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
William Poetra Yoga H
d9e25f9c8b Fix the size and position of the system menu icon on the caption bar. 2004-11-08 22:11:48 +00:00
Robert Shearman
9ab8fc6fab Windows with WS_EX_TOOLWINDOW style should not have min/max buttons. 2004-10-19 22:54:24 +00:00
Robert Shearman
a746e3b73e Check in client area before caption area, because the app may have
changed the NC area in WM_NCCALCSIZE.
2004-09-25 00:29:59 +00:00
Dmitry Timoshkov
914231e87b Add support for HCBT_SYSCOMMAND hook, add logging for HCBT_SYSCOMMAND
in the message test.
2004-09-13 19:32:59 +00:00
Alexandre Julliard
f56c6fb9b2 Moved some window painting functions to uitools.c. 2004-09-01 18:26:40 +00:00
Alexandre Julliard
3c39a9912e Get rid of the non-standard CONV_POINT and CONV_RECT functions. 2004-08-31 00:02:02 +00:00
Alexandre Julliard
b72994b6d4 Print the Window caption using Unicode calls.
Don't send WM_GETTEXT to retrieve the caption text.
2004-08-26 00:35:35 +00:00
Marcus Meissner
d176dde0d1 Fixed switch (unsigned int) { case -1 / -2: } problems. 2004-07-12 23:52:33 +00:00
Dimitrie O. Paun
126227a55a Remove the support for the Win 3.1 Look. 2004-04-01 04:57:12 +00:00
Alexandre Julliard
6ec42c0c3b Moved a bunch of definitions from gdi.h into a new gdi_private.h to
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Chris Morgan
4e2c03644c Make the debug mark printing unconditional instead of conditional upon
the  SHELL debug channel.  Make mark text obvious by changing the
output text to 'Debug mark requested by user' and adding 'Debug mark'
to the menu resource text.
2004-01-02 01:50:50 +00:00
Alexandre Julliard
446d8321a7 Store window icons in the window structure so that WM_SETICON can do
the right thing (based on a patch by Aric Stewart).
2003-12-31 23:51:52 +00:00
Kevin Koltzau
cc09196356 Implemented GetTitleBarInfo. 2003-12-08 23:46:29 +00:00
Dmitry Timoshkov
86e4079bc2 Make Alt+[national key] menu shortcuts work. 2003-11-26 05:08:48 +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
Duane Clark
5d35bc7428 Correctly encode wParam for WM_SYSCOMMAND,SC_SIZE messages. 2003-02-18 23:24:57 +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
Dan Kegel
0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Rein Klazes
6f9b686b5a Fix an A/W structure size bug in DrawCaptionTempW(). 2002-12-16 22:12:11 +00:00
Matthew Davison
3f17416ad2 Fix some unicode->ascii calls. 2002-11-24 22:13:26 +00:00
Alexandre Julliard
aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Mike McCormack
2d106a5706 Fix a few GDI memory leaks. 2002-11-13 19:43:53 +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
0286135de3 Rewrote hook support to store the hook chain in the server.
Split off 16-bit hook functions and re-implemented them on top of the
32-bit ones; system-wide 16-bit hooks are no longer supported at this
point.
2002-10-29 00:41:42 +00:00
Alexandre Julliard
5030bda77c Reimplemented Get/SetActiveWindow, Get/SetFocus and
Get/SetForegroundWindow by storing the information in the
server. Implemented correct inter-process window activation.
2002-10-11 23:41:06 +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
Alexandre Julliard
d4304f8b54 Tweak position of system menu small icon. 2002-08-28 22:25:12 +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
daa2886c10 Updated configure to take advantage of new autoconf 2.53 features. 2002-04-11 21:54:01 +00:00
Dmitry Timoshkov
5474aa941b Fixed problem with mouse cursors in Word. 2002-04-09 01:37:06 +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
Alexandre Julliard
70437035e3 version.h is now in include/wine directory. 2002-02-14 19:48:16 +00:00
Dmitry Timoshkov
7180536524 Do not be too smart and add WS_CAPTION in AdjustWindowRectEx. 2002-01-29 02:56:05 +00:00
Alexandre Julliard
cc2d3826f1 Use DrawFrameControl instead of bitmaps in certain cases.
Moved remaining OEM bitmaps to user32 resources.
2002-01-03 02:35:23 +00:00
Alexandre Julliard
193cf50a09 Removed some of the calls to HEAP_strdup* functions. 2002-01-01 00:24:30 +00:00
Gerard Patel
e9b4fd1851 Remove some possible interlocking problems with peb lock. 2001-11-30 23:13:22 +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
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
Alexandre Julliard
021dd9908f Fixed HWND compare in NC_HandleSetCursor. 2001-09-14 21:29:19 +00:00