Dmitry Timoshkov
7647cffbdf
Add a test for ShowWindow(SW_SHOWMAXIMIZED) called for a not visible
...
overlapped window, which shows that WM_SHOWWINDOW is not sent in that
case and that it should activate a window and bring it to top.
2005-09-12 10:09:40 +00:00
Alexandre Julliard
e4b2a0bbbc
Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
...
appropriate.
2005-09-09 15:20:04 +00:00
Alexandre Julliard
4c34d9386c
Specify 64-bit integers as double instead of long long in spec files
...
so that we get the correct number of arguments.
2005-09-09 15:05:01 +00:00
Francois Gouget
6415654f5f
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.
2005-09-09 10:35:47 +00:00
Alexandre Julliard
20a1a203c6
Use a more portable scheme for storing the name of a critical
...
section.
2005-09-09 10:19:44 +00:00
Alexandre Julliard
42744ff420
Don't fallback to LoadMenu16 when the window is created with a null
...
instance.
2005-09-07 09:28:08 +00:00
Alexandre Julliard
c3d87e7c69
Only access 16-bit stack if really necessary.
2005-09-07 09:26:39 +00:00
Michael Kaufmann
e1d7ff9588
- Fix text placement.
...
- Paint the border correctly if its size is bigger than 1 pixel.
- Don't paint text over the border.
- Fix the edit control placement tests: Put the edit box in a parent
window.
- Tidied up the edit control tests.
2005-09-06 11:40:01 +00:00
Alexandre Julliard
cc4da88563
Explicitly import kernel32 in tests that use it.
2005-08-27 09:27:09 +00:00
Jason Edmeades
34db84e1da
Listbox delete string handling should validate the range of the
...
index. Added some tests.
2005-08-27 09:24:14 +00:00
Vitaly Lipatov
a4590d2b23
- remove return: now break loop if can't change state during test
...
- add test for value returned by SwapMouseButton
- fix SwapMouseButton return value (it returns previous state)
2005-08-25 19:18:49 +00:00
Mike McCormack
f919b72769
Fix magic item handling and warnings.
2005-08-22 18:56:05 +00:00
Mike McCormack
79b29158e8
Fix gcc 4.0 warnings.
2005-08-22 10:19:34 +00:00
Mike McCormack
eafa666bee
Fix some gcc 4.0 warnings.
2005-08-22 09:26:53 +00:00
Jacek Caban
f4c4092fb5
Fix RegisterWindowMessage declaration and improve debug message.
2005-08-22 09:15:55 +00:00
Frank Richter
ad53767109
Fix wrong structure size check in GetScrollBarInfo().
...
GetScrollBarInfo() failed when SCROLL_GetScrollBarRect() returned
FALSE - however, this is the case if the scrollbar is horizontal, and
not an error indicator.
2005-08-19 13:58:22 +00:00
Mike McCormack
ad3a5ed5e4
Make sure a cursor is always returned if one exists.
2005-08-19 09:56:52 +00:00
Mike McCormack
177b237863
Fix uninitialized variable warnings emitted by gcc 4.0.
2005-08-18 10:51:22 +00:00
Frank Richter
f3491aa935
Change CB_GETCOMBOBOX to return STATE_SYSTEM_PRESSED in
...
COMBOBOXINFO.stateButton when really the button is pressed, not when
the combo is dropped down.
2005-08-16 15:57:02 +00:00
Vincent Béron
e9cac26182
Change some TRACEing formats to make more sense.
2005-08-15 09:44:34 +00:00
Alexandre Julliard
caf18a640e
Set remove to TRUE in accept_hardware_message for messages that should
...
go to a different thread. Simplify the code a bit.
2005-08-11 10:36:03 +00:00
Francois Gouget
56dac9118e
Define DCX_USESTYLE if it is not defined already. Fixes the
...
compilation with the PSDK.
2005-08-10 15:00:44 +00:00
Alexandre Julliard
628939d567
Use the proper WOW functions everywhere instead of the K32WOW variant.
2005-08-10 10:59:19 +00:00
Alexandre Julliard
1f90b5cff0
Make sure we don't call the graphics driver after process detach.
2005-08-10 09:56:23 +00:00
Dmitry Timoshkov
4ffc11ad0e
Make CreateWindow with invalid menu handle test pass on Wine.
2005-08-09 10:22:45 +00:00
Francois Gouget
dbd7ee3c1f
CreateWindow(parent=NULL, ctlid!=0) should fail.
2005-08-08 12:13:08 +00:00
Francois Gouget
ae7a646f8e
The listbox test shows that the control id must be stored in WPARAM
...
for the WM_DRAWITEM message.
Fix the listbox test so CreateWindow() does not fail on Windows.
2005-08-08 11:02:54 +00:00
Alexandre Julliard
a02c5f8334
Call the USER driver directly to check for X events on RDW_UPDATENOW
...
instead of calling MsgWaitForMultipleObjects.
2005-08-03 19:16:01 +00:00
Lauri Tulmin
99889b846a
Add tests for repainting windows with CS_PARENTDC class style.
2005-08-02 09:56:25 +00:00
Alexandre Julliard
7be607f7c0
Added commented out stubs for a bunch of new functions.
2005-08-01 14:59:26 +00:00
Dmitry Timoshkov
c2fe2f0f5b
- Add an ownerdrawn listbox test, which confirms that on WM_DRAWITEM
...
parent receives a clipbox equal to a listbox's client area.
- WM_DRAWITEM message contains 0 in wparam (at least on win2k).
2005-07-29 14:42:19 +00:00
Phil Krylov
a8f4b16bd0
Translate the whole wparam to/from Unicode.
2005-07-26 15:55:42 +00:00
Dmitry Timoshkov
bc07b2aca4
Take into account CS_NOCLOSE window class style and SC_CLOSE system
...
menu item state while adding MDI system menu buttons and generating
WM_SYSCOMMAND messages.
2005-07-25 11:08:59 +00:00
Alexandre Julliard
64329de2a6
Store the SysIP property using a string to avoid trouble with 16-bit
...
apps that don't expect an atom.
2005-07-22 18:40:21 +00:00
Alexandre Julliard
3ff8239dfe
Fixed get_window_properties to correctly specify the output buffer in
...
the server request (spotted by Marcus Meissner).
2005-07-22 18:31:43 +00:00
Alexandre Julliard
dac19768fa
Get rid of cursoricon.h.
2005-07-20 10:31:37 +00:00
Alexandre Julliard
98c315c7c0
Save the scope window for mouse events before overwriting it.
2005-07-19 19:14:32 +00:00
Alexandre Julliard
bf575f1f8f
Initialize the various menu global variables on demand instead of at
...
startup time.
2005-07-19 11:51:31 +00:00
Robert Shearman
7a9bacc45d
Replace calls to DIALOG_GetCharSize with code to do the equivalent
...
using GdiGetCharDimensions.
2005-07-18 18:05:33 +00:00
Alexandre Julliard
15ec968724
Load the USER driver on demand instead of at user32 load time.
...
Provide a fallback implementation for all the functions to avoid
having to check for NULL functions everywhere.
2005-07-18 15:14:56 +00:00
Alexandre Julliard
2997fc51a4
Fixed a few prototypes in the USER driver.
2005-07-18 13:20:18 +00:00
Alexandre Julliard
81008167c2
Load system metrics on demand instead of initializing everything at
...
user32 load time.
2005-07-18 09:20:07 +00:00
Felix Nawothnig
b08e77d9a3
Add stub for SetLayeredWindowAttributes.
2005-07-18 09:13:13 +00:00
Paul Vriens
dcb67841d2
Don't run tests on platforms that don't support WindowStation calls.
2005-07-18 09:08:58 +00:00
Alexandre Julliard
b5cc0a79fb
Added a bunch of utility functions to factor out a lot of the repeated
...
code in SystemParametersInfoW.
2005-07-15 16:35:27 +00:00
Frank Richter
567b6facab
Add support for drawing gradient captions.
2005-07-15 16:31:55 +00:00
Mike McCormack
8c64ebc963
Clean up CURSORICON_Load.
2005-07-12 20:23:18 +00:00
Mike McCormack
8012754ee2
Remove CURSORICON_SimulateLoadingFromResourceW.
2005-07-12 19:18:31 +00:00
Mike McCormack
37a8e0d0c9
Modify CURSORICON_FindBestIcon/Cursor to use enumerator functions.
2005-07-12 18:11:54 +00:00
Robert Shearman
30ff940a68
Call SetLastError on errors.
2005-07-12 18:11:40 +00:00
Robert Shearman
ff93df6e0f
- Support right-aligned text in TabbedTextOut.
...
- Add documentation.
2005-07-12 18:11:26 +00:00
Robert Shearman
7dd1d21132
- Implement LB_SETLOCALE.
...
- Remove incorrect FIXMEs for LB_USETABSTOPS.
2005-07-12 17:55:35 +00:00
Robert Shearman
630c6ea6fd
The units passed into LB_SETTABSTOPS are dialog units, not logical
...
units.
2005-07-11 14:22:36 +00:00
Mike McCormack
3fe864dc81
Replace CURSORICON_CreateFromResource by CreateIconFromResourceEx.
2005-07-11 13:21:29 +00:00
Mike McCormack
61633efa93
Remove unused function args.
2005-07-11 10:56:13 +00:00
Felix Nawothnig
92f11aa780
Fix a typo.
2005-07-10 17:44:57 +00:00
Alexandre Julliard
8c518808b8
Put in place the basic infrastructure to allow supporting multiple
...
desktop windows.
2005-07-08 11:37:40 +00:00
Dmitry Timoshkov
87458a5ccf
Add DDE transaction test, make it pass under Wine.
2005-07-08 11:33:09 +00:00
Frank Richter
cd57c21259
Always zero destination buffer in SYSPARAMS_LoadRaw(). Remove
...
now-superfluous memory zeroing in some other places.
2005-07-08 11:30:50 +00:00
Alexandre Julliard
e419cb8869
Moved initialization of the desktop window in the graphics driver to a
...
separate CreateDesktopWindow entry point instead of overloading
CreateWindow.
2005-07-07 20:33:29 +00:00
Alexandre Julliard
8eb6664603
Removed creation of the no longer used shading brush.
2005-07-07 20:31:16 +00:00
Frank Richter
7f40463d6a
Add support for proper saving of the "FLATMENU" and "GRADIENTCAPION"
...
system parameters to the registry.
2005-07-07 18:24:35 +00:00
Frank Richter
0ee1f711df
Wine has now a Marlett font, hence the window buttons can now be drawn
...
using that and not some polylines.
2005-07-07 18:24:12 +00:00
Alexandre Julliard
204596f957
Delay creation of the internal pos atom until needed.
2005-07-07 17:27:17 +00:00
Dmitry Timoshkov
ede2c34343
Add a MsgWaitForMultipleObjects test.
2005-07-07 17:20:44 +00:00
Dmitry Timoshkov
86af38c8ca
Make IsWindowUnicode work in the case when window belongs to another
...
process.
2005-07-07 12:02:31 +00:00
Felix Nawothnig
6a9801f0d8
Update TODO list.
2005-07-07 11:27:02 +00:00
Mike McCormack
d7b9a23afd
gcc 4.0 -Wpointer-sign fixes (Reg* functions).
2005-07-06 19:08:05 +00:00
Rein Klazes
f5d2ea6ca4
- when sending the WM_DRAWITEM message in case of a menu item with
...
hbmpItem = HBMMENU_CALLBACK, move the drawing origin to the top left
of the item rectangle
- at the same time also make sure that the itemState field of the
DRAWITEMSTRUCT is properly initialized
- do the drawing of the check mark before sending the WM_DRAWITEM
message, some application likes to "overdraw" the checkmark.
2005-07-06 19:03:18 +00:00
Alexandre Julliard
5020529591
Restore the clip region after GetDCEx in send_erase as if it had been
...
a BeginPaint.
2005-07-06 15:51:29 +00:00
Francois Gouget
c7dcf642ea
Add trailing '\n's to ok() calls.
2005-07-06 15:46:47 +00:00
Felix Nawothnig
cbe914c472
Clear buffer before querying the registry in SYSPARAMS_Load.
2005-07-06 11:11:17 +00:00
Mike McCormack
c787b146e1
-Wpointer-sign fixes for gcc 4.0.
2005-07-06 10:36:28 +00:00
Vitaliy Margolen
d30f1fd738
Fix some failing tests.
2005-07-05 14:04:25 +00:00
Detlef Riekenberg
8761a1d5df
LoadImageW: Fix type of TRACE parameter.
2005-07-05 12:40:25 +00:00
Frank Richter
b25fa587a7
Add support for drawing menus in "flat" style.
2005-07-05 11:45:28 +00:00
Dmitry Timoshkov
ea632a581a
Add a test case for IsWindowUnicode.
2005-07-05 10:59:46 +00:00
Frank Richter
66033f6b37
Add support for SPI_[SG]ETFLATMENU in SystemParametersInfo (although
...
without saving of the setting).
2005-07-05 10:55:44 +00:00
Mike McCormack
b8fc783be2
Avoid warnings in generated tests by casting sizeof(x) to an int.
2005-07-03 11:23:30 +00:00
Andreas Mohr
b284869039
HCONV and HCONVLIST are 32bit handles.
2005-07-01 19:17:50 +00:00
Robert Shearman
ccb0a03d1f
GetDlgItemText should always try to NULL terminate the string.
2005-07-01 15:38:39 +00:00
Alexandre Julliard
a2b2456b99
Revert SPI_SETMOUSEBUTTONSWAP changes.
2005-06-30 18:14:14 +00:00
Dmitry Timoshkov
72c88764e5
Fix a typo in ReuseDDElParam: GlobalLock supposed to be GlobalUnlock.
2005-06-30 18:11:37 +00:00
Alexandre Julliard
92fec7b67a
Keep track of the windows and hooks used by a thread to properly
...
refuse to change the thread desktop when it's in use.
2005-06-28 19:37:52 +00:00
Stefan Huehner
ffe53258aa
Fix some -Wstrict-prototypes warnings.
2005-06-27 09:57:28 +00:00
Eric Pouech
809edabfbe
Const correctness fixes.
2005-06-27 09:53:46 +00:00
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
Vitaly Lipatov
bd8026ca9d
Add BUTTON_NOTIFY_PARENT macro (as in edit.c).
...
Notify parent about WM_KILL/SETFOCUS events.
2005-05-24 10:10:42 +00:00
Richard Cohen
fbb3ba488f
Fix off-by-one in menu height calculation (& therefore
...
AdjustWindowRect) + test.
2005-05-24 09:51:20 +00:00
Alexandre Julliard
aebb745488
Comment out stub WEP entry points so that we can call WEP for builtin
...
dlls too.
2005-05-23 10:12:26 +00:00
Dimi Paun
8ad6c25539
Remove LOCAL_*() calls from USER, use Local*16() instead.
2005-05-19 11:12:57 +00:00
Alexandre Julliard
90dd7f0603
Removed implementation of LoadDIBIconHandler16 and
...
LoadDIBCursorHandler16 since they are no longer used, and stop
exporting NE_DefResourceHandler.
2005-05-18 15:37:41 +00:00
Dimi Paun
402aaa8edb
Use standard Local*16() functions instead of LOCAL_*() ones.
2005-05-17 14:32:02 +00:00
Alexandre Julliard
e4412a618c
Removed the special casing of kernel32 and ntdll for the TEB
...
definition in winternl.h.
2005-05-16 17:52:10 +00:00
Alexandre Julliard
827a69f8ca
Avoid referencing stackframe.h from outside kernel32.
2005-05-16 14:20:16 +00:00
Michael Stefaniuc
d5e8a65f96
Add some SystemParametersInfo SPI_* defines.
2005-05-16 08:45:15 +00:00
Paul Vriens
4cc3b97ec1
Check for a NULL pointer in GetWindowTextA/W.
2005-05-14 18:49:19 +00:00
Alexandre Julliard
d876893fc1
Store the 16-bit stack pointer in the WOW32Reserved TEB field.
2005-05-14 12:16:46 +00:00
Alexandre Julliard
7bb88af5a2
Process the pending expose events on RDW_UPDATENOW before doing the
...
redraw_window server call so that the parent windows get properly
validated if necessary.
2005-05-13 14:03:06 +00:00
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
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