1779 Commits

Author SHA1 Message Date
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
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
Peter Berg Larsen
e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Ulrich Czekalla
e832c35a3b When computing nonclient area take into consideration that a child
windows with the WS_POPUP style can have a menu bar.
2005-03-27 17:51:30 +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
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
Jakob Eriksson
9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Alexandre Julliard
23d9ac25b2 Avoid calling WIN_ListChildren from the graphics drivers. 2005-03-24 20:41:27 +00:00
Alexandre Julliard
cb7aa8753c Added support for xbuttons. 2005-03-24 19:16:54 +00:00
Alexandre Julliard
039603c77d Don't maintain a client-side WND structure for the desktop window.
Made WIN_GetPtr return WND_DESKTOP in that case.
2005-03-24 15:18:50 +00:00
Alexandre Julliard
04881fae7a Get rid of the window lock suspend mechanism. 2005-03-23 13:18:51 +00:00
Robert Shearman
caec6026e7 - Window styles passed to CreateWindowEx must the same as passed in
CREATESTRUCT for WM_CREATE/WM_NCCREATE.
- Fix cases where WS_EX_WINDOWEDGE style is applied.
- Tests for the above.
2005-03-23 10:26:15 +00:00
Dimitrie O. Paun
1e599e7fd7 Eliminate useless HeapAlloc() casts. 2005-03-22 21:15:18 +00:00
Ulrich Czekalla
7b5f5f1cff Use GetAncestor instead of GetParent. 2005-03-22 18:17:56 +00:00
Dmitry Timoshkov
e842676194 If an MDI child becomes active restore previously maximized MDI
child.
2005-03-22 16:45:31 +00:00
Dmitry Timoshkov
72a4df9459 Do not release capture before sending WM_NCDESTROY message, update the
tests to reflect that.
2005-03-14 17:15:33 +00:00
Marcus Meissner
af54602c7a Use 512 byte buffer for buffer of LB_GETTEXT and CB_GETLBTEXT.
Added testcase with > 256 byte string in listbox.
2005-03-10 17:17:22 +00:00
Alexandre Julliard
85c81bf419 Merge the rest of the messaging code into dlls/user/message.c and get
rid of windows/message.c.
2005-03-10 15:47:53 +00:00
Alexandre Julliard
5f033b88d4 Take message filtering into account when updating the static data for
double click support.
2005-03-10 11:25:58 +00:00
Alexandre Julliard
aef19abc82 Moved SendInput and related functions to the USER driver to avoid a
number of dll separation hacks.
2005-03-09 16:45:23 +00:00
Alexandre Julliard
6bd194d2fd Remove a trace that's causing too much output. 2005-03-09 16:42:28 +00:00
Krzysztof Foltman
4affd0185f WM_CANCELMODE resets menu flag in the default window procedure. 2005-03-09 12:40:38 +00:00
Alexandre Julliard
b58c170c4d Make the SwapMouseButton function and the SPI_SETMOUSEBUTTONSWAP
parameter work on the same flag.
2005-03-09 11:51:31 +00:00
Robert Shearman
92edcb7417 Add message spy support for RichEdit20W control. 2005-03-09 11:43:42 +00:00
Alexandre Julliard
7b738b7f8c Make sure to always pass valid QS_* flags to
MsgWaitForMultipleObjects.
2005-03-08 17:00:38 +00:00
Alexandre Julliard
97d6e7fd3d Moved TranslateMessage and DispatchMessage to dlls/user/message.c.
Added support for posting internal messages.
Added support for driver-specific internal messages.
2005-03-07 17:19:24 +00:00
Dmitry Timoshkov
16ba0255e7 - Call SetCursorPos for an injected mouse message only if we really
need to move mouse pointer.
- Add a test case for mouse click handling.
2005-03-07 17:13:07 +00:00
Dmitry Timoshkov
08b250e74e Call ReleaseDC() with correct window handle. 2005-03-07 10:58:21 +00:00
Robert Shearman
55fe5e8102 WM_USER messages should be dumped in the format "WM_USER + %d" to make
it easier to see what message it is for unknown classes.
2005-03-05 10:50:44 +00:00
Dmitry Timoshkov
2122277284 Ask for an MDI child id in all cases. 2005-03-02 12:17:17 +00:00
Alexandre Julliard
7caa1f6b4d Beginnings of inter-process GetDC support.
Use a standard list for the DCE list.
Small cleanups.
2005-03-02 10:24:38 +00:00
Dmitry Timoshkov
8f0984c2a3 Protect SetParent from creating circular window dependencies.
Add a test case.
2005-03-02 10:11:06 +00:00
Jason Edmeades
aeb3e1d2d4 Make LR_LOADTRANSPARENT work and give transparent images. 2005-02-26 17:40:55 +00:00
Jon Griffiths
eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Alexandre Julliard
1aad2a50ce Authors: Mike McCormack <mike@codeweavers.com>, Dmitry Timoshkov <dmitry@codeweavers.com>
Release capture before sending WM_NCDESTROY message, do not send
WM_CAPTURECHANGED in that case. Add a test case for that behaviour.
2005-02-24 17:03:51 +00:00
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
Alexandre Julliard
fa5c982698 DispatchMessage needs to repaint the non-client area if the WM_PAINT
handler didn't do it.
2005-02-22 14:58:52 +00:00
Jason Edmeades
e4c2d6ba8c Make RegisterClassExA check that reserved bytes is a valid value.
Tests to confirm this behaviour.
2005-02-22 14:56:28 +00:00
Dmitry Timoshkov
53ccd49c58 - Always unlink children before sending WM_NCDESTROY message.
- Fix order of WM_DESTROY messages for the children's recursion.
- DestroyWindow should hide only visible windows.
- Add a test case for the above fixes.
2005-02-18 20:01:41 +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
Marcus Meissner
a34c23498f Check for overflows with ClrUsed. 2005-02-14 11:08:22 +00:00
Rein Klazes
312f09b88a ScrollWindowEx when called with the SW_ERASE flag does not send a
WM_ERASEBKGND message, it just sets the erase flag. With some tests
that show this behavior.
2005-02-08 14:27:39 +00:00
Dmitry Timoshkov
6dba0a7718 Add support for winevent hooks. 2005-02-03 16:40:20 +00:00
Dmitry Timoshkov
032d6aa234 Use the idFirstChild specified in the MDIClient's CLIENTCREATESTRUCT
when creating MDI children. Add a test case for the desired
behaviour.
2005-02-02 09:33:58 +00:00
Alexandre Julliard
e204874728 Removed the no longer used WIN_SetExStyle function. 2005-02-01 18:54:51 +00:00
Alexandre Julliard
d7726c3a73 Store the "managed" flag as a window property instead of the
Wine-specific WS_EX_MANAGED style bit.
2005-02-01 18:53:59 +00:00