Commit Graph

957 Commits

Author SHA1 Message Date
Jacek Caban 7371c3c5ea Better notify macro 2005-06-27 09:42:40 +00:00
Andreas Mohr 0aa05e2ca0 Fix some 16-bit return values. 2005-06-25 18:32:36 +00:00
Michael Kaufmann 41a9757654 - Remove the old margins from the format rectangle before adding the
new margins.
- Adjust the format rectangle and repaint the control after the
  margins have been set.
- New tests.
2005-06-25 18:32:07 +00:00
Michael Kaufmann 07763aade5 Paint the background with the correct color if WS_BORDER. 2005-06-24 11:33:23 +00:00
Alexandre Julliard f84401aa17 Sort entry points in the same order as Windows. 2005-06-23 09:57:11 +00:00
Mike McCormack 5c1ffddb88 Fix declarations, remove unused code. 2005-06-22 18:05:02 +00:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Rein Klazes 9048257dd9 In reg_get_logfont:
- handle the case that the registry value is a LOGFONT16;
- if the lfHeight field is positive, it represents the font's point
  size and must be converted to logical units.
2005-06-21 20:02:54 +00:00
Alexandre Julliard ab88743c25 Moved a few registry keys from HKLM\Software\Wine to
HKCU\Software\Wine for consistency.
2005-06-20 16:04:32 +00:00
Vitaly Lipatov 0624e17e7e Fix returned value for SPI_SETMOUSEBUTTONSWAP. 2005-06-20 15:36:17 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Rein Klazes 75d88907ff Owner drawn menu item size calculation fixes:
- Correct width calculation of owner drawn menu items;
- Set the height value in the MEASUREITEM struct to the same value as
  Windows (NT/2k/XP) does (problem debugged by Felix Nawothnig);
- Add tests for the fixes above;
- Also add tests for menu bars with owner drawn items.
2005-06-20 14:12:39 +00:00
Hans Leidekker 4f27582cc8 Stub implementation for GetMenuBarInfo. 2005-06-20 11:45:21 +00:00
Rein Klazes 843cd506c5 In SCROLL_DrawScrollbar allocate the internal info if needed. 2005-06-20 10:32:44 +00:00
Vitaliy Margolen fb99124f94 Deactivate active window in ShowWindow(,SW_HIDE). 2005-06-17 21:05:16 +00:00
Vitaliy Margolen f32bcd8fc1 ShowOwnedPopups and WM_SHOWWINDOW should handle non-WS_POPUP style
windows as well.
2005-06-17 20:57:26 +00:00
Dmitry Timoshkov ae703ec937 DdeCreateStringHandleA/W takes a pointer to a const string,
accordingly fix the spec entries.
2005-06-17 12:12:49 +00:00
Stefan Huehner 03cc8c4181 Remove some -Wstrict-prototypes warnings. 2005-06-17 10:11:37 +00:00
Dmitry Timoshkov f85535c6f4 Add a test case for WM_[L|R|M|X]BUTTONDBLCLK generation behaviour. 2005-06-15 18:07:33 +00:00
Robert Shearman 57b5615fc2 Implement GetComboBoxInfo and CB_GETCOMBOBOXINFO. 2005-06-15 10:23:54 +00:00
Mike McCormack f674f1f71b Fix declarations. 2005-06-15 10:20:53 +00:00
Alexandre Julliard 302cd456c3 Moved debugging config options to HKCU\Software\Wine\Debug. 2005-06-14 19:23:00 +00:00
Stefan Huehner ed12859a4a Remove include "cursoricon.h" from nonclient.c and win.c. 2005-06-14 19:18:08 +00:00
Alexandre Julliard d4156b5657 Use a better location than HKCU\Wine for saving the temporary
parameters.
2005-06-14 17:26:52 +00:00
Lauri Tulmin f124878918 - EM_CHARFROMPOS should return the closest char (clicking on the first
half of a character should return current char and clicking on the
  second half should return next char)
- EM_POSFROMCHAR should return -1 if character index is greater or
  equal to text length
2005-06-14 12:24:48 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Huw Davies d5fce697f7 When loading a bitmap we should stretch the image to the requested
size.
2005-06-13 18:47:21 +00:00
Lauri Tulmin 24c73fd4a0 Bottom edge of the update region should be relative to the top edge of
the format rect.
2005-06-09 20:40:31 +00:00
Lauri Tulmin c40562307c Add more tests for text placement in single and multiline edit
controls. Some of the tests are marked as todo.
2005-06-09 20:32:32 +00:00
Alexandre Julliard b9b1ea9c9f Added a close_handle method to the object operations, and use it to
implement registry notifications and the strange behavior of
CloseHandle on winstation/desktop handles.
2005-06-09 15:39:52 +00:00
Alexandre Julliard 78a3e63377 The desktop of a new thread should be set from the process initial
desktop, not from the parent thread.
Fixed a couple of bugs in the desktop name handling.
2005-06-09 12:07:12 +00:00
Alexandre Julliard 075f98e2f1 Moved dde files to the main directory and got rid of the dlls/user/dde
subdirectory.
2005-06-09 10:21:31 +00:00
Alexandre Julliard e0996494d0 Moved monitor functions to dlls/user/misc.c and finally got rid of the
windows/ directory.
2005-06-09 10:07:04 +00:00
Alexandre Julliard f5c433fa68 Moved windows/driver.c to dlls/user/driver16.c. 2005-06-09 09:50:03 +00:00
Dmitry Timoshkov 17408ba751 Added a couple of CloseHandle calls. 2005-06-09 09:46:06 +00:00
Alexandre Julliard 1bf96e09a9 Beginnings of support for window stations and desktops. 2005-06-08 18:44:50 +00:00
Huw Davies fe42f46c8a Read the entire logfont from the registry if it exists. 2005-06-08 18:34:20 +00:00
Dmitry Timoshkov ef53e7a2f1 Add a test for window state when a window receives WM_ENABLE message. 2005-06-07 20:29:09 +00:00
Alexandre Julliard 898f416370 Still send a message in SetWindowText for the inter-process case even
though it's not fully correct (reported by Jason Campbell).
2005-06-07 20:11:17 +00:00
Lauri Tulmin a810802235 Don't truncate text on WM_SETTEXT and send EN_MAXTEXT. 2005-06-05 19:19:11 +00:00
Dmitry Timoshkov d3847e01b7 Update internal state only if the message is being removed. 2005-06-02 10:38:12 +00:00
Jason Edmeades ca52392bf1 Added test case for infinite loops on RDW_REDRAWNOW. 2005-05-31 13:39:24 +00:00
Alexandre Julliard db412aaf60 Added a from_child parameter to the get_update_region request to allow
restarting the search from a given child, in order to avoid looping
forever on windows that don't repaint correctly.
2005-05-31 13:37:16 +00:00
Kouji Sasaki 108390a3b4 Corrected the determination of capturing inside EDIT_WM_MouseMove
function.
2005-05-30 11:09:33 +00:00
Richard Cohen 980f1d675e Fix some obsolete comments 2005-05-27 19:26:34 +00:00
Alexandre Julliard 6bbd63e87f Don't fetch the window class name if it's not needed to compute the
message name.
2005-05-26 12:26:23 +00:00
Alexandre Julliard 0260e2b543 Moved functions from windows/user.c to more appropriate places, and
get rid of that file.
2005-05-25 18:42:37 +00:00
Alexandre Julliard 03f6f6f7cc Moved a couple of 16-bit functions to dlls/user/user16.c. 2005-05-25 18:08:02 +00:00
Rein Klazes 67747801cd Use the screen resolution to convert from twips (1440 twips is one
inch) to pixels.
2005-05-25 18:01:15 +00:00
Alexandre Julliard 0844afc310 Moved the syscolor functions to dlls/user/sysparams.c. 2005-05-25 17:56:35 +00:00