Commit Graph

1748 Commits

Author SHA1 Message Date
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
Alexandre Julliard 932a65dddc WIN_ListParents no longer needs to be exported, make it static. 2005-01-31 16:46:47 +00:00
Dimitrie O. Paun 026b786ee9 Replace a DPRINTF with TRACE. 2005-01-31 11:30:39 +00:00
Alexandre Julliard e4e5566edb Avoid a few more uses of WIN_FindWndPtr. 2005-01-27 10:47:28 +00:00
Alexandre Julliard d7ba12c77a Max tracking size in WM_GETMINMAXINFO should take into account the
window frame.
2005-01-21 17:03:41 +00:00
Alexandre Julliard f936428601 Make WIN_SetStyle more thread-safe by specifying the bits to change
instead of the new value.
2005-01-21 10:32:13 +00:00
Alexandre Julliard 6382ffae2a Replace a number of calls to WIN_FindWndPtr by WIN_GetPtr. 2005-01-20 20:07:42 +00:00
Ulrich Czekalla 03ffadc499 Handle case when only height is set to CW_USEDEFAULT. 2005-01-19 20:54:25 +00:00
Vitaly Lipatov 9773414d62 Add FIXME for file with broken counters. 2005-01-19 19:09:38 +00:00
Alexandre Julliard 932338890f Removed no longer used WIN_InternalShowOwnedPopups function. 2005-01-19 17:03:57 +00:00
Alexandre Julliard b4a64382ee Moved DefWindowProc16 to msg16.c and cleaned up a few related things. 2005-01-18 11:45:17 +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 fc5ce14592 Avoid most references to the internals of the WND structure by passing
around an x11drv_win_data pointer instead.
2005-01-17 19:17:47 +00:00
Alexandre Julliard 149b6e38c9 Small optimization in WINPOS_GetWinOffset. 2005-01-17 13:50:00 +00:00
Dmitry Timoshkov 8af3e67e29 Add WM_GETOBJECT definition, remove WM_OTHERWINDOWCREATED define. 2005-01-14 15:14:41 +00:00
Alexandre Julliard d7b4d60cd7 Use the exported functions SaveDC/RestoreDC instead of SetDCState16. 2005-01-12 19:57:08 +00:00
Jacek Caban 7e2a7c949d Get rid of W->A calls. 2005-01-11 15:10:56 +00:00
Dmitry Timoshkov b44b2cc880 Add more tests for keyboard/menu activation behaviour, make the tests
pass under Wine.
2005-01-11 10:38:31 +00:00
Jacek Caban bf3cf83e02 Get rid of HEAP_strdupWtoA calls. 2005-01-09 17:41:45 +00:00
Huw Davies 2e51a04a8d Don't touch the rect if hwnd is invalid. 2005-01-04 20:33:22 +00:00
Alexandre Julliard 1e48f0970c Remove the no longer needed DCE_ExcludeRgn function and
DCX_KEEPCLIPRGN style.
2005-01-04 12:12:19 +00:00
Ulrich Czekalla 07ee528e52 When loading a bitmap into a dibsection the result cannot be
compressed.
2005-01-04 11:55:13 +00:00
Aric Stewart 0e1252a8ab Handle IME messages in the default unicode window procedure too. 2005-01-04 11:54:27 +00:00
Alexandre Julliard 8b4ff10119 Use ExitProcess to terminate the process in ExitWindowsEx so that it
gets a chance to clean things up.
2005-01-03 20:11:23 +00:00
Francois Gouget 20afe30d76 - If given the EWX_FORCE flag, ExitWindowsEx() should not send the
WM_{QUERY}ENDSESSION messages.
- Add support for EWX_FORCEIFHUNG.
- ExitWindowsEx() should return true if it succeeds, even if the user
  cancels the shutdown.
- Don't crash if there are no windows.
2005-01-03 16:57:02 +00:00
Ulrich Czekalla 8fef09f451 Add comment about CLIPBOARD_SetClipboardOwner. 2005-01-03 14:47:33 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Russ Andersson 760dae9abe The WM_MOUSEWHEEL message is specified to have absolute screen
coordinates.
2004-12-22 17:20:36 +00:00
Ulrich Czekalla 5415686935 If a dialog with the DS_CONTROL style is not visible then ignore
default focus assignment.
2004-12-21 16:01:50 +00:00
Thomas Weidenmueller 130197b8c2 MessageBoxIndirectA() should check whether the MB_USERICON bit is set
to prevent an exception.
2004-12-14 11:47:46 +00:00
Alexandre Julliard ebe3c529b1 Janitorial: C booleans must not be compared against TRUE. 2004-12-09 14:07:59 +00:00
Alexandre Julliard 4a9b22b2c3 Merged system metrics support into sysparams.c, and moved that file to
the dlls/user directory.
2004-12-09 13:48:56 +00:00