Dmitry Timoshkov
5261df0306
Post correct notification code on WM_CLOSE for dialogs.
2003-01-14 19:29:15 +00:00
Francois Gouget
6fed1e3738
Update the registry keys of SPI_ICONHORIZONTALSPACING,
...
SPI_ICONVERTICALSPACING and SPI_SETICONTITLEWRAP to match XP.
The SPI_SETBORDER test leaves an incorect border setting and is just
too erratic: comment it out for now.
Modified the SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING and
SPI_SETWORKAREA to not cause the icons to be reorganized.
Don't test out-of-bound values for SPI_SETKEYBOARDSPEED as behavior
differs accross Windows platforms.
On Win9x the maximum value for SPI_SETSCREENSAVETIMEOUT is 32767.
The registry keys and values stored in them for
SPI_ICONHORIZONTALSPACING and SPI_ICONVERTICALSPACING depend on the
Windows platform: ignore them.
No Windows platform seems to SPI_SETFASTTASKSWITCH: no longer test it.
The lParam of WM_SETTINGCHANGE is quite useless (even the MSDN says
so!) and varies accross Windows platforms. Ignore it.
Always check the SystemParametersInfoA return code as it fails in very
strange ways on some platforms. Skip unsupported settings.
Skip Unicode tests on platforms that don't support it.
2003-01-13 20:40:22 +00:00
Robert Shearman
72e64900c2
SPI_GETMINIMIZEDMETRICS implemented.
2003-01-13 18:29:03 +00:00
Alexandre Julliard
04d5963871
Print the message name for registered messages.
2003-01-11 21:07:50 +00:00
Dan Kegel
0fd521fee3
Change RECT to use LONG to match win32 standard headers and fix format
...
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alexandre Julliard
8ba666f3a7
Store the keyboard state in the thread input structure on the server
...
side.
2003-01-08 19:56:31 +00:00
Duane Clark
632d0c2df0
WS_CAPTION is a two bit field, so test appropriately.
2003-01-08 19:53:47 +00:00
Alexandre Julliard
242e395bbc
Store the hardware messages in the thread input structure, not in the
...
thread queue. Get rid of the cooked messages queue.
2003-01-08 00:27:58 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Duane Clark
3800e91eb5
A window with a WS_EX_APPWINDOW extended style can also get a menu.
2003-01-07 19:46:31 +00:00
Dimitrie O. Paun
221ffc5e9c
UpdateWindow returns a BOOLean.
2002-12-19 04:14:19 +00:00
Rein Klazes
6f9b686b5a
Fix an A/W structure size bug in DrawCaptionTempW().
2002-12-16 22:12:11 +00:00
Dimitrie O. Paun
737d4be892
Move excpt.h out of include/msvcrt/ as it does not conflict with any
...
standard Unix header.
2002-12-12 23:34:01 +00:00
Mike Hearn
9ea673a4d8
Make WM_MOUSEHOVER coordinates client relative.
2002-12-10 19:05:12 +00:00
Alexandre Julliard
18d029722f
Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
...
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Francois Gouget
d2667a4ce3
Removed unnecessary HANDLE typecasts.
2002-12-02 18:10:57 +00:00
Alexandre Julliard
1b20db4f19
Added CS_DBLCLKS style to dialog window class.
2002-11-25 21:10:23 +00:00
Matthew Davison
3f17416ad2
Fix some unicode->ascii calls.
2002-11-24 22:13:26 +00:00
Mike Hearn
43a0a51540
Altered WM_MOUSEHOVER so the lParam and wParam fields are set
...
correctly to virtual key states and cursor position.
2002-11-23 01:12:17 +00:00
Alexandre Julliard
aff7ddaeeb
Made user compile with -DSTRICT.
2002-11-22 21:22:14 +00:00
Alexandre Julliard
a8a422f70d
Fixed more -DSTRICT issues.
2002-11-22 20:43:01 +00:00
Alexandre Julliard
7ef66af34a
Moved some more 16-bit functions to user16.c.
...
A few fixes for -DSTRICT.
2002-11-22 04:47:10 +00:00
Stefan Leichter
2c7567251e
Moved implementation of Get/SetClassLong from ascii to unicode.
2002-11-21 21:48:27 +00:00
Stefan Leichter
ab73d6e903
Replaced CreateDCA by CreateDCW in LoadImageW.
2002-11-21 21:48:06 +00:00
Jukka Heinonen
1a665058e8
Removed last users of msdos/interrupts.c.
2002-11-21 00:02:09 +00:00
Stefan Leichter
5d0b987151
Moved implementation of LoadKeyboardLayout from ASCII to Unicode.
2002-11-18 19:47:20 +00:00
Stefan Leichter
27faf02e0b
Moved implementation of EnumDisplaySettings from ASCII to Unicode.
2002-11-18 19:44:46 +00:00
Ryan Cumming
dc71624d59
Make LookupIconIdFromDirectoryEx16 call LookupIconIdFromDirectoryEx,
...
instead of the other way around.
2002-11-18 19:41:53 +00:00
Tony Lambregts
c702ae8ab9
Fix SM_CYVTHUMB, SM_CXSMSIZE, SM_CXMENUCHECK and SM_CYMENUCHECK.
2002-11-15 01:35:16 +00:00
Alexandre Julliard
3f61afbbc8
Added ReleaseDC function to the USER driver interface.
2002-11-14 22:30:20 +00:00
Alexandre Julliard
a817568231
Fixed sign problem in GetWindowWord/Long check for offset larger than
...
the window extra bytes.
2002-11-13 19:49:29 +00:00
Mike McCormack
2d106a5706
Fix a few GDI memory leaks.
2002-11-13 19:43:53 +00:00
Eric Pouech
b6aad50245
Implemented a Wine-only scheme for interprocess WinHelp message
...
passing.
2002-11-11 22:20:47 +00:00
Dmitry Timoshkov
46c80c8876
Fix copy/paste bug. Make MessageBox without an icon look better.
2002-11-11 19:52:33 +00:00
Francois Gouget
9234cba140
Compute SM_CYMAXIMIZED purely based on the screen height until we know
...
how to take into account 'start menus' correctly.
2002-11-06 21:56:32 +00:00
Greg Turner
ea4913f8f9
- noop redefinition of SPI_[GET/SET]MENUUNDERLINES
...
- define and fixme for
SPI_[GET/SET][SELECTIONFADE/DROPSHADOW/KEYBOARDCUES]
2002-11-04 22:47:59 +00:00
Alexandre Julliard
cf2e57d0c7
Split out some more 16-bit code.
2002-10-31 22:06:53 +00:00
Alexandre Julliard
7a1cb65cb9
Moved 16-bit definitions out of mmddk.h into mmsystem16.h.
2002-10-31 02:23:43 +00:00
Uwe Bonnes
47cc1554d1
MSGBOX_DlgProc: break out of WM_COMMAND.
2002-10-31 01:15:18 +00:00
Dmitry Timoshkov
601a3abec1
Fix some types and function prototypes according to Platform SDK
...
definitions.
2002-10-31 01:04:39 +00:00
Michael Stefaniuc
ec5612ee1d
Some more fixes for compiling the user dll with -DSTRICT.
2002-10-30 23:45:38 +00:00
Alexandre Julliard
c07a6cf537
Fixed ShowWindowAsync.
2002-10-29 21:33:00 +00:00
Alexandre Julliard
0b1a367b78
Removed a couple of no longer used queue functions.
2002-10-29 21:32:37 +00:00
Alexandre Julliard
0286135de3
Rewrote hook support to store the hook chain in the server.
...
Split off 16-bit hook functions and re-implemented them on top of the
32-bit ones; system-wide 16-bit hooks are no longer supported at this
point.
2002-10-29 00:41:42 +00:00
Andreas Mohr
90ce2c896f
- Make int09 update the BIOS data segment's keyboard status flags
...
bytes, implement pause key handling.
- Let int16/02 read the keyboard status flags bytes instead of calling
GetAsyncKeyState().
- Make the keyboard state buffer used for Get*Key*() reflect
VK_L/RMENU properly.
- Small fixes.
2002-10-28 23:51:27 +00:00
Andreas Mohr
7370c2f3ac
Make GetFreeSystemResources16 print its values on TRACE.
2002-10-28 20:12:11 +00:00
Michael Stefaniuc
95591a6e90
Some fixes for the compilation of the user dll with -DSTRICT.
2002-10-28 20:11:40 +00:00
Alexandre Julliard
48f860cbd9
Moved a few remaining 16-bit window functions to wnd16.c and moved it
...
to the C_SRCS16 sources.
2002-10-28 19:04:39 +00:00
Patrik Stridvall
cf07e10017
Don't use wine/unicode.h in the header files, include it directly
...
where needed instead.
2002-10-23 20:20:59 +00:00
Alexandre Julliard
f871f2d528
Store thread id instead of queue handle in timer structure.
2002-10-23 18:56:34 +00:00
Alexandre Julliard
d8bbcb2f23
Implemented GetWindowTask16 on top of GetWindowThreadProcessId.
...
Removed no longer used hmemTaskQ field in WND structure.
2002-10-23 18:56:02 +00:00
Rein Klazes
402f2618ce
MessageBoxIndirectW: call FindResourceEx with arguments in the right
...
order.
2002-10-23 18:45:46 +00:00
Dmitry Timoshkov
9abcad524c
Restore setting of caption "Error".
2002-10-22 00:42:53 +00:00
Dmitry Timoshkov
2468f06fa5
Actually use language identifier.
2002-10-21 18:19:29 +00:00
Dmitry Timoshkov
01e82a4fdc
Convert MessageBox family functions to unicode.
2002-10-19 19:18:19 +00:00
Alexandre Julliard
7521a42ed3
Changed the USER_HEAP_* macros to use HANDLEs instead of HANDLE16s.
2002-10-19 00:55:34 +00:00
Michael Stefaniuc
61d92562b9
Silence some warnings due to casts between pointer and integers of
...
different size.
2002-10-19 00:52:55 +00:00
Alexandre Julliard
0ccb9feadc
Store the original GDI palette functions in pfnSelectPalette and
...
pfnRealizePalette so that USER doesn't have to import them.
2002-10-18 04:05:49 +00:00
Alexandre Julliard
011605edf3
Use the WOWHandle functions to convert between task handle and thread
...
id. Stop exporting TASK_GetPtr and THREAD_IdToTEB from kernel.
2002-10-17 18:26:53 +00:00
Alexandre Julliard
4f716155fc
Fixed typo in EnumThreadWindows.
2002-10-17 18:21:29 +00:00
Alexandre Julliard
0ca051e555
Fixed wownt32.h to make it usable from inside Wine, and use it to
...
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Alexandre Julliard
11e3523949
Rewrote caret implementation to store the information in the server.
2002-10-17 01:24:33 +00:00
Michael Stefaniuc
9444dd2541
Compile fix when all handles are converted to a void*.
2002-10-15 21:00:05 +00:00
Alexandre Julliard
618c18417b
Remove no longer used PERQUEUEDATA structure and functions.
2002-10-12 01:25:15 +00:00
Alexandre Julliard
a9e8f59c95
Moved mouse capture handling into the server.
2002-10-12 01:24:37 +00:00
Alexandre Julliard
0b850f9f74
Reimplemented GetLastActivePopup to get the information from the
...
server.
2002-10-12 01:23:05 +00:00
Alexandre Julliard
5030bda77c
Reimplemented Get/SetActiveWindow, Get/SetFocus and
...
Get/SetForegroundWindow by storing the information in the
server. Implemented correct inter-process window activation.
2002-10-11 23:41:06 +00:00
Alexandre Julliard
ab5063b217
Added server-side infrastructure for the thread input structure.
...
Reimplemented AttachThreadInput() and added GetGUIThreadInfo().
2002-10-11 18:50:15 +00:00
Michael Stefaniuc
bc54d78532
- change the internal functions in windows/cursoricon.c to use 32bit
...
handles
- move the implementation of ExtractAssociatedIcon16 to
ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
doing the above
2002-10-10 21:22:09 +00:00
Andrew M. Johnston
3e7b710446
Removed reference to SCROLL_SetNCSbState.
2002-10-09 20:40:33 +00:00
Alexandre Julliard
54f228733a
Added process_id_t and thread_it_t types to the server interface
...
instead of using void*, and removed a number of type casts.
2002-10-03 19:54:57 +00:00
Alexandre Julliard
c401270d60
Fixed GDI heap selector handling broken by previous change.
2002-10-02 23:47:14 +00:00
Dimitrie O. Paun
75b31e3e32
Fix Validate{Rect,Rgn} prototypes.
2002-10-02 19:45:48 +00:00
Alexandre Julliard
9842b19931
Make sure things still work if 16-bit dlls cannot be loaded.
2002-10-02 02:36:20 +00:00
Guy L. Albertelli
05638fd833
- The TTM_ message needed to be in correct order.
...
- Added TTM_GETBUBBLESIZE.
2002-09-30 18:52:52 +00:00
Michael Stefaniuc
2d0acacb45
Moved some 16-bit functions from windows/cursoricon.c to
...
dlls/user/user16.c.
2002-09-27 22:04:54 +00:00
Alexandre Julliard
02b8cb7adf
Added missing WIN_ReleasePtr (spotted by Dmitry Timoshkov).
2002-09-25 03:25:43 +00:00
Alexandre Julliard
7dafa61700
Fixed a number of bugs in the handling of window parent and owner and
...
added a regression test (based on the work of Bill Medland).
2002-09-25 00:21:56 +00:00
Patrik Stridvall
b5bb32c09a
Fixed some issues found by winapi_check.
2002-09-24 18:29:39 +00:00
Dimitrie O. Paun
9dd1279a82
- Remove export of DRAG_QueryUpdate from USER.
...
- Get rid of associated 16 bit code from x11drv.
- Simplifications, cleanups, etc.
2002-09-23 20:56:37 +00:00
Dimitrie O. Paun
9ffa91ef12
Have USER deal with the caret when scrolling a window.
2002-09-20 19:35:54 +00:00
Francois Gouget
bba4bb1bc4
Remove references to PCVOID and LPUINT.
...
Remove types that don't exist on Windows.
2002-09-17 01:35:09 +00:00
Michael Stefaniuc
9d2b862883
Convert HRSRC to a void*.
2002-09-16 22:47:05 +00:00
Patrik Stridvall
a62a26ced0
Fixed some issues found by winapi_check.
2002-09-09 19:26:55 +00:00
Michael Stefaniuc
2247af320d
- Rename WIN_Handle16 to HWDN_16 and make it a macro.
...
- Prepare user.dll for the change of HWND to a void*.
2002-09-04 19:37:01 +00:00
Patrik Stridvall
51e6c0ccb1
MSVC compatibility fixes.
2002-08-31 19:04:14 +00:00
Alexandre Julliard
3fa613cf61
Moved internal context macros out of winnt.h.
...
Added SET_AX etc. macros to avoid non-portable pointer manipulations.
2002-08-31 18:47:00 +00:00
Per Nystrom
4f03101d8b
Set the flag in GetCursorInfo.
2002-08-29 23:59:17 +00:00
Alexandre Julliard
5f5bdd4a94
Create the scratch region before copying if necessary.
2002-08-29 02:48:09 +00:00
Juergen Schmied
eb2db1a4be
Support for HWND_MESSAGE.
2002-08-29 01:49:46 +00:00
Per Nystrom
e765bc1a41
Implemented GetCursorInfo.
2002-08-28 23:38:10 +00:00
Alexandre Julliard
aface53759
Fixed a number of dll separation issues.
2002-08-28 22:35:23 +00:00
Alexandre Julliard
d4304f8b54
Tweak position of system menu small icon.
2002-08-28 22:25:12 +00:00
Dmitry Timoshkov
b1f2325930
Correct some of the system metrics to more closely match Windows
...
values.
2002-08-28 00:54:53 +00:00
Ulrich Czekalla
651c5988aa
- Add a max wait time for selection notifies.
...
- Add new function to the x11drv to get clipboard format names of
externally registered formats.
- When a clipboard format is registered we should pass the global atom
value as the format identifier.
- Clipboard format name should be treated as case insensitive.
- Serialize metafile bits when requested via a clipboard selection.
- Return format ids for native formats when mapping from properties.
2002-08-27 19:19:49 +00:00
Dmitry Timoshkov
85350c8c95
Dump SetWindowPos flags.
2002-08-27 01:14:44 +00:00
Patrik Stridvall
fc34344d14
Fixed some issues found by winapi_check.
2002-08-20 00:20:43 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Aric Stewart
5501f127df
Very partial implementation of BroadcastSystemMessageA.
2002-08-16 23:29:48 +00:00
Michael Stefaniuc
c018ef6b6b
Convert HKL to a void*.
2002-08-16 01:34:19 +00:00