Dmitry Timoshkov
3f5990eb9a
Avoid a crash in free_window_handle() on an invalid window handle.
2005-05-13 13:58:17 +00:00
Alexandre Julliard
9e73cdde39
Allow passing a string to the window property server requests instead
...
of an atom to avoid redundant server round-trips.
2005-05-11 19:01:10 +00:00
Alexandre Julliard
63342353bc
Store a bitmap of active hooks on the client side to try to avoid
...
server calls for hooks that are not set.
2005-05-11 13:03:15 +00:00
Rein Klazes
1c5671df07
Multi column popup menus have 4 pixel space between the columns. With
...
conformance test.
2005-05-10 13:17:33 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard
90af05f060
Treat 0xffff the same as 0 for the handle generation field to avoid
...
sign extension problems.
2005-05-07 15:03:00 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Alexandre Julliard
c3116c5e61
Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively
...
to follow the namespace conventions and make it clear that they are
drivers and not dlls.
Moved the graphics driver configuration to HKLM\Software\Wine\Drivers.
2005-05-06 19:38:50 +00:00
Alexandre Julliard
ac0bf21abc
Don't retrieve a window DC in GetUpdateRect if there is nothing to
...
erase, to avoid setting a null update region in an owned DC.
Avoid potential double delete of the update region on return from
send_erase.
2005-05-05 16:52:21 +00:00
Rein Klazes
aecbcac865
Add 16<->32 bit message mappings for WM_COPYDATA messages.
2005-05-05 16:43:17 +00:00
Ulrich Czekalla
4b13086685
Let the default winproc handle WM_MOUSEACTIVATE.
2005-05-04 09:45:33 +00:00
Mike McCormack
abe70f7648
Implemented GetLastInputInfo.
2005-04-28 12:04:14 +00:00
Alexandre Julliard
d3a195a66d
Moved the USER syslevel to dlls/user/user_main.c.
...
Moved a bunch of stubs to dlls/user/misc.c.
2005-04-27 11:09:55 +00:00
Alexandre Julliard
6b4c02e57f
Moved remaining messaging definitions to user_private.h and removed
...
message.h.
2005-04-27 10:23:24 +00:00
Alexandre Julliard
86be9f20da
Removed the MESSAGEQUEUE structure, and store the corresponding
...
information directly in the TEB, in the Win32ClientInfo field.
2005-04-27 08:18:20 +00:00
Alexandre Julliard
b6f4eccdbd
Moved some messaging and input functions to message.c and input.c
...
respectively.
2005-04-26 08:18:47 +00:00
Ulrich Czekalla
a800dfe52e
SetParent should not remove menu from non-child windows.
2005-04-26 08:16:17 +00:00
Huw Davies
1fbea59ff2
The ansi version of CB_ADDSTRING shouldn't overwrite the string if
...
converting case.
2005-04-26 08:15:53 +00:00
Alexandre Julliard
40b7a50f8e
Moved the ScrollWindow and ScrollDC functions to dlls/user/painting.c,
...
and removed windows/scroll.c.
2005-04-25 16:13:17 +00:00
Alexandre Julliard
172e731c0b
Moved most files from the windows directory to dlls/user.
2005-04-25 11:33:34 +00:00
Alexandre Julliard
fc2bd2324e
Handle posted internal messages directly in PeekMessageW to avoid
...
having to return them to the application.
Call NtYieldExecution for nicer behavior when PM_NOYIELD is not
specified.
2005-04-20 18:53:53 +00:00
Francois Gouget
3ef8c51c8a
Tweak the API documentation to silence winapi_check warnings.
2005-04-20 15:18:42 +00:00
Alexandre Julliard
3e2f2a5265
Allow nested hardware message processing by storing a unique id in
...
every message and using it to manage the current queue position.
Better filtering of hardware messages to avoid returning messages that
have no chance to match the filter.
2005-04-20 13:03:59 +00:00
Francois Gouget
3b36eee083
Add trailing '\n's to ok() calls.
2005-04-19 09:48:44 +00:00
Jose Alonso
0e21f376da
Change the order of DispatchMessage and message removal.
2005-04-19 09:47:02 +00:00
Peter Berg Larsen
102121993a
Eliminate strncpy. Correct a \0 assingment to the modstr variable.
2005-04-18 15:37:15 +00:00
Peter Berg Larsen
6e3bcb5a54
Replace strncpy with memcpy or lstrcpyn.
2005-04-18 10:30:55 +00:00
Robert Shearman
95ebdc63c6
Add a test for a menu problem I found.
2005-04-14 13:57:27 +00:00
Robert Shearman
cec9e23cc3
Recalculate the menu on calling ModifyMenu so that the menu items are
...
shown at the correct width.
2005-04-14 13:56:29 +00:00
Alexandre Julliard
eea415300b
Moved handling of the 55AA pattern brush to syscolor.c so that it can
...
be made a system object (found by Rein Klazes).
2005-04-13 16:13:45 +00:00
Rein Klazes
8db7b53359
In ScrollWindowEx, if the window already has an update region then add
...
this to hrgnUpdate. With a conformance test.
2005-04-11 12:47:01 +00:00
Rein Klazes
7308f16b32
Fix some incorrect uses of the ok macro where the result depends on
...
the evaluation order of its arguments.
2005-03-31 19:07:08 +00:00
Rein Klazes
7c342b4ce3
If ScrollWindowEx do not use the DCX_USESTYLE to get a DC. Instead
...
calculate DCX_CLIPSIBLINGS, DCX_PARENTCLIP and DCX_CLIPCHILDREN. The
DCX_CLIPCHILDREN is not used when ScrollWindowEx is called with a
SW_SCROLLCHILDREN flag. With a couple of regression tests.
2005-03-31 15:30:25 +00:00
Paul Vriens
b6ab64e44d
Use textlen instead of len.
...
Use textheight as the return value of DrawTextA.
2005-03-31 10:07:26 +00:00
Dmitry Timoshkov
9640918917
- Make GetSystemMenu respect CS_NOCLOSE.
...
- EnableMenuItem should not generate WM_WINDOWPOSCHANGING message.
- Make nonclient code check for presence of SC_CLOSE, not CS_NOCLOSE
window class style.
- Add a test case.
2005-03-30 18:59:27 +00:00
Alexandre Julliard
eea706948a
The update region passed in WM_NCPAINT and the clipping region passed
...
to GetDCEx have to be in screen coordinates.
2005-03-30 17:11:46 +00:00
Alexandre Julliard
d99df2b757
Only reset the clip region in GetDC() if a new region is specified.
...
Don't release the clip region for window DCs in ReleaseDC(), except
when called from EndPaint().
Added a bunch of tests.
2005-03-30 10:28:58 +00:00
Uwe Bonnes
af305c7462
Zero out return string in GetMenuStringA/W.
2005-03-30 10:24:07 +00:00
Peter Berg Larsen
a667d536b9
Janitorial: Get rid of strncpy/strncpyW.
2005-03-29 19:49:21 +00:00
Alexandre Julliard
026a4b0d0d
Only restore the DC attributes on the next GetDC, and add support for
...
the DCX_NORESETATTRS flag.
Get rid of the DCE flags, simplify the code a bit.
Add some test cases.
2005-03-29 18:59:02 +00:00
Alexandre Julliard
89b0f3ae6e
Moved 16-bit string functions to user16.c and kbd16.c.
2005-03-29 13:15:44 +00:00
Alexandre Julliard
d54db1911e
Moved rectangle functions to uitools.c and removed rect.c.
2005-03-29 13:12:56 +00:00
Rein Klazes
a4ae750a87
ScrollWindow should call ScrollWindowEx with the SW_ERASE flag
...
set. With conformance test.
2005-03-29 13:06:32 +00:00
Alexandre Julliard
6de70abdd4
Moved 16-bit rectangle functions to user16.c.
2005-03-29 11:35:24 +00:00
Rein Klazes
607bb11a86
- GetScrollRange should return an empty range, both upper and lower
...
limit zero, if the window has no scrollbars (msdn).
- GetScrollInfo's return value is TRUE is nBar is SB_CTL or if
anything is filled in the SCROLLINFO structure, otherwise the return
value is FALSE.
2005-03-29 11:29:50 +00:00
Ulrich Czekalla
e64b875311
Child windows with the WS_POPUP style are allowed to have a menu.
2005-03-25 20:47:32 +00:00
Rein Klazes
a807c5efce
ScrollDC and X11DRV_SCROLLDC should scroll only pixels coming from
...
within the visible region, clipped to the clipping region if that
exists. Add the destination of pixels coming from the outside of this
region to the update region. With tests that depend on this.
2005-03-25 17:11:04 +00:00
Alexandre Julliard
2fb7c8754a
Moved DCE support to the X11 driver.
2005-03-25 16:47:04 +00:00
Ulrich Czekalla
852fc5f161
Don't map point to parent's client window because the rest of the code
...
assumes screen coordinates.
2005-03-25 16:38:15 +00:00
Alexandre Julliard
4d32a475a8
Replace the link_window request by a set_parent request since that is
...
all link_window is used for at this point.
Get rid of the WIN_LinkWindow/UnlinkWindow functions.
2005-03-25 10:38:56 +00:00