Commit Graph

1784 Commits

Author SHA1 Message Date
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
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
Alexandre Julliard d646c7ed32 Moved some more 16-bit USER functions to the corresponding 16-bit
files.
2004-12-08 14:15:24 +00:00
Alexandre Julliard 56ef1fec30 Moved palette functions to user_main.c and removed
windows/painting.c.
2004-12-08 14:12:09 +00:00
Alexandre Julliard 5defa49979 Moved update region handling to the server. 2004-12-07 17:31:53 +00:00
Eric Pouech 294835a839 Another round of const correctness fixes. 2004-12-06 20:43:55 +00:00
Filip Navara 5cf8f2cff9 Don't call SetScrollInfo with SB_BOTH bar type. 2004-12-06 16:10:29 +00:00
Ivan Leo Puoti df3cb74142 Implement task modal message boxes. 2004-11-30 21:16:26 +00:00
Jon Griffiths 8660795a80 GetModuleHandleA->GetModuleHandleW. 2004-11-30 17:25:24 +00:00
Alexandre Julliard e0db46c4aa Get rid of the client-side window timer structures. 2004-11-29 18:18:02 +00:00
Alexandre Julliard 7469973023 Take advantage of the new winproc handling to move some more functions
to 16-bit files.
TIMER_IsTimerValid is no longer necessary now that winprocs are never
freed.
2004-11-28 15:10:28 +00:00
Alexandre Julliard 675f701dbd Fixed is_valid_winproc to avoid being optimized out by recent gcc
versions.
2004-11-28 15:08:14 +00:00
Alexandre Julliard 648994c3ef Changed winproc allocation to be based only on the procedure address,
to avoid the need to keep track of winprocs for each window and class.
2004-11-24 18:43:18 +00:00
Eric Frias 5042516c74 Fixed KEYLP structure for big endian. 2004-11-22 18:26:58 +00:00
Stefan Leichter c39deb5d63 Removed W->A from DEFWND_ImmIsUIMessageW. 2004-11-21 15:44:56 +00:00
Eric Frias 2067948c85 Fixed dialogex resource loading on sparc. 2004-11-21 15:36:05 +00:00
Dmitry Timoshkov 47361da574 - do not move updown control and buddy if an alignment was not requested
- in UDM_SETACCEL handler do not forget to update number of accelerators
- update arrows info in WM_LBUTTONDOWN as well as in WM_MOUSEMOVE
- use accelerators in WM_LBUTTONDOWN handler
2004-11-09 20:03:47 +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
Ivan Leo Puoti 757687ee42 Proper implementation of sysmodal message boxes. 2004-11-03 22:18:11 +00:00
Mike McCormack 52f40a9388 Start the reboot process in ExitWindowsEx. 2004-11-01 23:30:46 +00:00
William Poetra Yoga H a773f43f9c Add COLOR_MENUHILIGHT and COLOR_MENUBAR to the system colors. 2004-11-01 21:06:06 +00:00
Alexandre Julliard bcb1f8fe05 Get rid of the WIN_NEEDS_BEGINPAINT flag, Windows will happily loop
forever too if WM_PAINT is not handled properly.
2004-10-30 02:13:48 +00:00
Mike McCormack e1d1d34c9d Kill all wine processes when doing ExitWindowsEx. 2004-10-29 21:26:33 +00:00
Alexandre Julliard 640b2d5d1c Removed wrong FIXME for MB_APPLMODAL (reported by Ivan Leo Puoti). 2004-10-22 22:08:02 +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
Dmitry Timoshkov 5736111c83 Protect USER32 against early graphics driver unloading. 2004-10-18 21:25:26 +00:00
Ivan Leo Puoti a89ac894ab Implement action 83 in SystemParametersInfo(). 2004-10-14 03:06:41 +00:00
Dmitry Timoshkov c3cecc5d57 - WM_MDISETMENU handler should update new frame menu only if an active
and maximized MDI child is visible.
- Add a test case for MDI child activation sequence.
2004-10-11 19:55:28 +00:00
Dimitrie O. Paun e6fb678c4e Unicodify DIALOG_DlgDirSelect. Use SendMessageW whenever possible. 2004-10-11 19:51:31 +00:00
Dmitry Timoshkov 132470a2b1 Properly handle the case when last MDI child is being destroyed. 2004-10-08 23:36:18 +00:00
Alexandre Julliard 998863bf63 Only send WM_PAINTICON and WM_ICONERASEBKGND to 16-bit windows (found
by Jeremy White).
2004-10-07 03:09:37 +00:00
Dmitry Timoshkov ec3e946268 Make message spy thread safe. 2004-10-06 18:53:06 +00:00
Dmitry Timoshkov b0c45123e5 Add a test case for accelerators, make the test pass on Wine. 2004-10-05 23:45:35 +00:00
Alexandre Julliard 8e68b54787 Prevent DispatchMessage from dispatching a message to a different
thread (reported by Dmitry Timoshkov).
2004-10-05 22:33:22 +00:00
Dmitry Timoshkov 01a88ff01e If there no MDI child to activate set hwndActiveChild to 0 in
WM_MDIDESTROY hander, add a test case.
2004-10-05 02:10:04 +00:00
Michael Kaufmann 469b41f24c DIB_FixColorsToLoadflags: Support bitmaps with a BITMAPCOREHEADER
properly.
2004-09-28 02:06:02 +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
Hajime Segawa 0c3f2868fa Added StatusFontSize and MessageFontSize entries in win.ini. 2004-09-24 01:11:02 +00:00
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Dmitry Timoshkov 4dd296180a Fix WM_MDIREFRESHMENU for the case when separator is at the position
0.
2004-09-21 20:04:10 +00:00
Dmitry Timoshkov a1ccb921bd Make message flow for MDI creation/activation/destruction more like in
Windows. Add a bunch of MDI message tests.
2004-09-21 00:24:22 +00:00
Dmitry Timoshkov 2abf2c7aa5 Make menu code cope with WM_SYSKEY*/WM_SYSCHAR messages.
Unblock menu loop if a window being destroyed owns a tracked menu.
2004-09-20 21:45:45 +00:00
Michael Kaufmann 970b2218d6 Fix a regression caused by an earlier patch for CreateDIBitmap. 2004-09-20 21:45:00 +00:00
Alexandre Julliard 807fe07417 Don't bother to return partial region data in get_window_region and
get_visible_region, return STATUS_BUFFER_OVERFLOW instead.
2004-09-17 18:20:11 +00:00
Dimitrie O. Paun 630dc0f5a9 Use the W version of the function were we can. 2004-09-15 18:04:07 +00:00
Steven Edwards 4d563e0195 Added stub for SwitchDesktop. 2004-09-14 19:29:11 +00:00
Jon Griffiths 3772c73a6c CreateDCA -> CreateDCW 2004-09-13 23:22:30 +00:00
Alexandre Julliard cdcdbe5495 Authors: Michael Kaufmann <hallo@michael-kaufmann.ch>, Huw Davies <huw@codeweavers.com>
CreateDIBitmap should return bitmaps at the depth of the supplied dc.
Add a test to exercise this behaviour.
2004-09-13 19:37:03 +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
Zach Gorman 9358f3e9a1 The initial dialog focus should be established by the default handler
for SetFocus(), not in the dialog creation code.
2004-09-10 22:29:02 +00:00
Zach Gorman 5c8ceb497e Modal dialogs should not be shown via ShowWindow until the message
queue first runs empty. This allows all initialization to complete
before a default focus is assigned.
2004-09-10 21:27:02 +00:00
Alexandre Julliard 92acc58af6 Get rid of the WIN_SetRectangles export from user32. 2004-09-09 00:30:29 +00:00
Alexandre Julliard 80bba3bd61 Moved keyboard.c to dlls/user/kbd16.c.
Keyboard, mouse and display drivers are 16-bit only.
2004-09-01 22:47:48 +00:00
Alexandre Julliard f56c6fb9b2 Moved some window painting functions to uitools.c. 2004-09-01 18:26:40 +00:00
Alexandre Julliard b0394dea42 Get rid of the WINE_UNUSED macro. 2004-09-01 17:36:04 +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 97f4e4ef7d Removed struct32.[ch]. 2004-08-30 19:32:08 +00:00
Alexandre Julliard c158550998 Moved a couple of 16-bit functions to user16.c. 2004-08-30 18:42:17 +00:00
Alexandre Julliard 0ba0d7a119 GetUpdateRgn should clip the returned region to the client area.
Changed GetUpdateRect and ExcludeUpdateRgn to call GetUpdateRgn.
Moved these 3 functions to dlls/user/painting.c.
2004-08-26 00:46:11 +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
Rein Klazes e8698e9eb4 When there are no pixels to scroll, ScrollWindowEx must still scroll
children and update the hrgnUpdate and rcUpdate arguments.
2004-08-24 20:15:00 +00:00
Ulrich Czekalla 516caf5a54 Set WS_EX_CONTROLPARENT when dialog has DS_CONTROL. 2004-08-24 02:26:40 +00:00
Zach Gorman 3944cb3b68 When searching for the DEFPUSHBUTTON in a dialog, recurse into child
windows with the WS_EX_CONTROLPARENT style (if they are visible and
enabled).
2004-08-19 01:03:12 +00:00
Mike McCormack 65e4823410 Define new propsheet messages. 2004-08-16 20:00:26 +00:00