Commit Graph

1422 Commits

Author SHA1 Message Date
Francois Gouget b60c4ce0f0 Don't print NULL strings (crashes on Solaris).
Small code maintainability tweak in ShellExecuteExA.
Two typo fixes in winmm.
2001-10-14 16:15:05 +00:00
Alexandre Julliard 7a2017dd65 Store window properties in the server. Moved property.c to dlls/user. 2001-10-12 19:10:26 +00:00
Marcus Meissner bc799e402d Handle bad pointer arguments to LoadImageA() (and functions
callingLoadImageA) with an exception handler.
2001-10-12 18:42:17 +00:00
Dominik Strasser 9d777f90c6 Workaround X11 BadWindow error if no parent window is found. 2001-10-12 18:41:50 +00:00
Alexandre Julliard 003f02b733 Removed the cleanup_window_queue request. 2001-10-11 20:50:10 +00:00
Alexandre Julliard 80593bf842 Removed next and child fields in the window structure and use
WIN_ListChildren instead.
2001-10-11 20:49:40 +00:00
Alexandre Julliard 556607a147 Store window parent as an HWND instead of a pointer. 2001-10-10 20:28:17 +00:00
Alexandre Julliard e6d90ea98f Fixed locking of class list.
Print ERR when accessing classes of other processes.
2001-10-09 23:27:17 +00:00
Alexandre Julliard 844ceb98ba Store window class atom in the server.
Keep unlinked windows on a separate list.
Implemented inter-process FindWindow().
2001-10-09 23:26:40 +00:00
Alexandre Julliard 3949386d76 Moved MsgWaitForMultipleObjects call on RDW_UPDATENOW out of the
RDW_Paint recursion.
2001-10-08 22:32:05 +00:00
Francois Gouget ba7f6c541f Fix infinite loop problem in wineclipsrv startup.
LaunchServer: Don't give up on the first message.
Added GetSelectionEvent: Limit CPU use and introduce timeout.
2001-10-08 20:28:36 +00:00
Francois Gouget 671a2ee8b7 Better handling of the timeout in WaitForInputIdle.
Use WAIT_FAILED rather than the corresponding literal.
2001-10-08 20:28:12 +00:00
Alexandre Julliard 62fb0825bf Process pending events before sending WM_PAINT on RDW_UPDATENOW. 2001-10-05 19:47:42 +00:00
Johan Gill 3dc764038d The LR_ defines do not reside in windows.h anymore. 2001-10-05 19:38:14 +00:00
Dmitry Timoshkov 2c7cc63179 Add XK_Mode_switch to the list of ignored keysyms. 2001-10-05 19:37:19 +00:00
Gerard Patel 94ce2a3303 Map a window if it is shown by a direct style change. 2001-10-03 18:44:02 +00:00
Alexandre Julliard e566195eaf Free cache DCEs if the DC gets deleted. 2001-10-02 21:40:11 +00:00
Alexandre Julliard 185ba234ec Fixed typo in previous change. 2001-10-02 21:39:48 +00:00
Alexandre Julliard a21672ebbc Merged mouse buttons states into the key state array.
Fixed confusion between queue state and async state.
2001-10-02 18:53:59 +00:00
Andriy Palamarchuk 676eb230e1 Added SYSMETRICS_Set.
Implemented SPI_SETSHOWSOUNDS action.
2001-10-02 18:35:32 +00:00
Dmitry Timoshkov ef54643490 Remove a hack for keyboard group switching.
Always save/restore correct keyboard group index.
Explicitly ignore the keyboard group switching events.
2001-10-02 17:17:31 +00:00
Alexandre Julliard 7695d69046 A couple of optimizations to avoid some server calls in WIN_FindWndPtr
and related functions.
2001-09-24 01:19:59 +00:00
Alexandre Julliard a09da0cbbd Added proper support for storing window parents in the server.
Added a few requests to query the window hierarchy.
2001-09-21 21:08:40 +00:00
Andriy Palamarchuk 914a1dca85 Implemented SPI_GETSHOWSOUNDS. 2001-09-21 21:02:02 +00:00
Brad Campbell 6b8cedfd62 Fixed mouse position processing for use with a touchscreen. 2001-09-19 22:41:22 +00:00
Joshua Thielen 26c4d6b3a4 Changed MDICreateChild to support CW_USEDEFAULT for 16-bit MDI
windows.
2001-09-19 22:33:01 +00:00
Alexandre Julliard 536957eb31 Fixed a couple of bugs in WIN_SetWindowLong caused by previous
change.
2001-09-19 22:31:15 +00:00
Andriy Palamarchuk 2bdbf30bb9 Added russian layout with phantom key. 2001-09-19 22:26:15 +00:00
Francois Gouget 7beb574b20 Remove macros that should not be there (cause conflicts in WineLib).
Add corresponding comments in spy.c.
2001-09-19 22:25:52 +00:00
Alexandre Julliard d23a82bc86 Made all 16<->32 HWND conversions use explicit functions instead of
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Alexandre Julliard 629aab1768 Fixed a couple of HWND type mismatches. 2001-09-19 20:34:17 +00:00
Andriy Palamarchuk 4ee65164dc Fixed references to old documentation location. 2001-09-17 19:07:56 +00:00
Alexandre Julliard 021dd9908f Fixed HWND compare in NC_HandleSetCursor. 2001-09-14 21:29:19 +00:00
Alexandre Julliard f44bbb8d10 Make sure that HWND comparisons are always done with full 32-bit
handles.
2001-09-14 00:24:39 +00:00
Alexandre Julliard 37a4639ee1 Make sure that functions returning an HWND always return a full 32-bit
handle.
2001-09-12 17:19:13 +00:00
Alexandre Julliard 0d92fe20cd Make sure that returned window belongs to correct thread when checking
siblings of transparent windows in WIN_FindWinToRepaint.
2001-09-10 23:26:42 +00:00
Andy Rysin 872784fc2f Added Ukrainian keyboard layout. 2001-09-10 23:15:26 +00:00
Patrik Stridvall 3c9ab8f62d The message handler of WM_STYLECHANGING is supposed to be able to
modify the proposed style if it wishes.
2001-09-10 23:09:46 +00:00
Guy L. Albertelli db9b54925d Enhance SPY_GetMsgName to translate common control messages. 2001-09-07 18:38:57 +00:00
Alexandre Julliard 6bf2abfab1 Make window handles 32-bit before calling window procedure.
Don't clear window parent field when unlinking it.
2001-08-29 00:16:00 +00:00
Alexandre Julliard 1a66d226eb Added global management of user handles in the server.
Very preliminary support for shared window handles.
2001-08-28 18:44:52 +00:00
Guy L. Albertelli f96d4e69c0 Added WM_MOUSEHOVER and WM_MOUSELEAVE to formatting. 2001-08-28 18:38:25 +00:00
Alexandre Julliard 9d9dac0947 Added WIN_ListParents function and renamed WIN_BuildWinArray into
WIN_ListChildren. Made owner field in WND structure an HWND.
2001-08-24 19:28:21 +00:00
Alexandre Julliard 0801ffc5a3 Implemented GetAncestor and removed WIN_GetTopParent.
Removed a few more accesses to the WND structure.
2001-08-24 00:26:59 +00:00
Alexandre Julliard fa42aa81e4 Removed WIN_GetDesktop(). 2001-08-21 17:13:55 +00:00
Francois Gouget 588ff3743a Documentation updates (mainly thru vs. through). 2001-08-21 17:07:17 +00:00
Alexandre Julliard d44e495aa4 Fixed GetClassLong to return full 32 bits for all items.
Removed GCW_* definitions that don't exist in Win32.
2001-08-20 18:09:39 +00:00
Alexandre Julliard b3ec03092f Added proper support for 32-bit WM_NEXTMENU. 2001-08-18 18:10:04 +00:00
Alexandre Julliard 4ff32c8aef Removed a number of direct accesses to the window structure. 2001-08-18 18:08:26 +00:00
Alexandre Julliard 4d7041a6ce Explicitly check for CS_PARENTDC in WM_ERASEBKGND handling. 2001-08-18 16:10:52 +00:00
Alexandre Julliard 78f9fae706 Create GDI stock objects as normal objects instead of using magic
handle values.
2001-08-17 00:07:13 +00:00
Alexandre Julliard 6837b9c119 Moved user lock to user.c. Added USER_CheckNotLock function. 2001-08-16 18:14:22 +00:00
Alexandre Julliard 301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard 20bc491dc7 Added mappings for a few messages.
Added unicode messages bit set to shortcut message mapping when
possible.
2001-08-13 20:33:21 +00:00
Alexandre Julliard 1293531ad9 Fixed some message names. 2001-08-13 20:30:31 +00:00
Alexandre Julliard de42428f23 Removed a number of direct accesses to the WND structure, replacing
them by API calls.
2001-08-10 22:51:42 +00:00
Alexandre Julliard cb25e2506f Replace SendMessage16 by SendMessageW where possible. 2001-08-08 23:28:42 +00:00
Alexandre Julliard e6533a6b71 Fixed DrawState16 callback support. 2001-08-08 23:26:32 +00:00
Alexandre Julliard d253c58b1b Rewrote most of SendMessage/PeekMessage.
Implemented inter-process messaging.
Moved most message routines to dlls/user, and split off 16-bit
routines to a separate file.
2001-08-07 19:19:08 +00:00
Alexandre Julliard bfb4a23aa9 Replaced MSG_InternalGetMessage calls by equivalent exported APIs. 2001-08-06 18:05:47 +00:00
Alexandre Julliard 4de0df77cf Fixed return value for WM_NOTIFY and WM_ACTIVATEAPP mappings. 2001-08-06 17:57:55 +00:00
Marco Bizzarri 5095779999 GetControlBrush16: avoid potentially releasing the same pointer
twice.
2001-08-03 18:17:14 +00:00
Guy L. Albertelli b70c22d4a9 - Add support to dump memory at lParam location on common control
messages.
- Fixed remaining Toolbar and Pager notify dump amounts.
- Separate memory dump code for easy use.
2001-08-03 18:08:38 +00:00
Alexandre Julliard 502d83b1d2 Fixed a few problems with DCX_* flags handling. 2001-07-31 00:14:06 +00:00
Alexandre Julliard 11dd274cb0 Erase only client area on WM_ERASEBKGND. 2001-07-31 00:05:50 +00:00
Alexandre Julliard 5905ba954a Implement EnumProps on top of EnumPropsEx to avoid function pointer
type mismatches.
2001-07-30 19:05:38 +00:00
Alexandre Julliard 8afe6628f8 Avoid using GetFastQueue16 from USER. 2001-07-26 20:12:22 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Alexandre Julliard 5f728cae70 Removed HEAP_strdupA. 2001-07-24 21:45:22 +00:00
Alexandre Julliard f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +00:00
Guy L. Albertelli 231162ef9c - If the class of the window is a known standard, then format the name
of the WM_USER+nnn messages if possible.
- Fix case where the classname returned was truncated and not printed
  at all.
- Issue errors if either the Notify or common control messasge lists
  are out of order.
- Prepare to dump out control block structures pointed to by lparam
  for messages.
2001-07-22 23:33:33 +00:00
Alexandre Julliard ef06b4a694 Got rid of HEAP_strdupW. 2001-07-22 23:08:10 +00:00
Bill Medland cbfbf2a582 Corrections to the Win95 and later frame drawing code. 2001-07-20 18:36:49 +00:00
Bill Medland 3f68bc911d Additional modifications to the window styles during window creation. 2001-07-20 18:36:25 +00:00
Guy L. Albertelli 361f980659 Trace rectangles returned by GetClientRect and GetWindowRect. 2001-07-20 17:58:41 +00:00
Guy L. Albertelli 2dea1d0b1e Display rectangle from WM_NCCALCSIZE on entry and exit. 2001-07-20 17:57:51 +00:00
Alexandre Julliard 37e9503ae8 Moved server.h to include/wine. 2001-07-19 00:39:09 +00:00
Alexandre Julliard fcef026169 Reject pointer messages in SendNotifyMessage[AW] and
SendMessageCallback[AW]. Fixed prototypes.
2001-07-18 20:07:01 +00:00
Marcus Meissner ff338b2733 Better LockWindowUpdate debug. 2001-07-14 00:48:14 +00:00
Patrik Stridvall e9782fa1fc Documentation fixes. 2001-07-12 22:33:51 +00:00
Bill Medland fb57c59245 Modify some system metrics to agree with Win95 and reflect the desktop
registry entries.
2001-07-11 20:18:11 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Bill Medland 137420a0f0 Correct the location of the style patching for the edit control. 2001-07-11 17:26:33 +00:00
Guy L. Albertelli 655ff38dce Correct amount of info displayed for NM_NCHITTEST and all the LVN_*. 2001-07-08 20:30:43 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Dmitry Timoshkov 56a19923e8 Replace some 16-bit calls by their 32-bit equivalents. 2001-07-02 01:21:26 +00:00
Alexandre Julliard ed15fc7de1 Moved ForceWindowRaise to the USER driver and removed the WND driver. 2001-06-29 01:26:41 +00:00
Travis Michielsen b9bd3f81c0 Fixed handling of WM_MOUSEWHEEL messages in non-client space. 2001-06-29 01:17:55 +00:00
Patrik Stridvall 17fd4e3816 Documentation name fixes. 2001-06-28 18:04:41 +00:00
Alexandre Julliard 9f55ae6f62 - Remove cooked hardware messages when they are dropped (reported by
Gerard Patel).
- Convert all posted 32-bit messages to Unicode before storing them in
  the queue.
- Faster implementation of MSG_IsPointerMessage.
- Moved a couple of functions from queue.c to message.c.
2001-06-28 04:37:22 +00:00
Dmitry Timoshkov b91d2dfa5b Replace one more PROFILE_ function by RegQueryValueExA. 2001-06-26 19:36:23 +00:00
Dmitry Timoshkov 698ef15b19 Replace some 16-bit calls by their 32-bit equivalents. 2001-06-25 20:08:44 +00:00
Alexandre Julliard f9037de2ae Implemented SendInput(). 2001-06-25 20:01:03 +00:00
Alexandre Julliard f4b14106f7 Don't rely on X to expose windows covered by a sibling, do it
manually.
2001-06-22 03:42:27 +00:00
Ove Kaaven 624f14e776 Make GetCursorPos call XQueryPointer. 2001-06-21 00:44:09 +00:00
Alexandre Julliard ee8ab7af8a Avoid returning an unlocked window pointer from WINPOS_WindowFromPoint.
Removed a few no longer used routines.
2001-06-20 23:16:34 +00:00
Alexandre Julliard 4b0343dc5f Moved queue paint count to the server. Removed a few no longer used
routines.
2001-06-20 22:55:31 +00:00
Alexandre Julliard 838d65aebe Moved hardware message queue handling to the server. 2001-06-19 19:16:41 +00:00
Dmitry Timoshkov de70d2b2c7 Replace PROFILE_ functions by RegQueryValueExA in x11drv. 2001-06-19 03:32:44 +00:00
Dmitry Timoshkov a57befe72d Replace more PROFILE_ functions by RegQueryValueExA. 2001-06-14 19:24:02 +00:00
Alexandre Julliard 247e18fb14 Force invalidating of siblings children on expose event. 2001-06-13 19:43:53 +00:00
Alexandre Julliard 0b16474c2a Removed WIN_NATIVE flag. 2001-06-08 19:00:56 +00:00
Alexandre Julliard 0ca9465f58 Removed unneeded inclusion of queue.h. 2001-06-07 22:29:33 +00:00
Gerard Patel ad363030a1 Use a flag to test if create structure is unicode. 2001-06-06 21:26:50 +00:00
Bobby Bingham db4aae2222 Stub implementation of AnimateWindow(). 2001-06-06 20:20:09 +00:00
Alexandre Julliard dc4fe7735b Create an X window for every window, including children.
Fixed non-client rectangle calculations in managed mode.
Added support for icon window in managed mode.
2001-06-04 21:55:17 +00:00
Dmitry Timoshkov d1e648f0d2 Remove optimization in NC_HandleNCActivate. 2001-06-04 02:49:22 +00:00
Guy L. Albertelli 8a05b831de Display extra data for WM_NOTIFY that use NMCOMBOEX{A|W}. 2001-06-04 02:48:59 +00:00
Andreas Mohr e665eba1b7 Get rid of GetCurrentTime16(). 2001-05-24 18:43:55 +00:00
Alexandre Julliard 5db8d2f48b Make WIN_WindowFromPoint take a POINT instead of a POINT16.
Small bug fix in scope window handling.
Always check for message when QS_SENDMESSAGE is set.
2001-05-22 19:55:20 +00:00
Eric Pouech 7a9ddd4ccb Added basic support for SPI_GETSCREENREADER. 2001-05-21 18:31:49 +00:00
Gerard Patel 22a04e1e5a Fixed SetTimer for hwnd == 0. 2001-05-19 17:35:43 +00:00
Alexandre Julliard 51ab43bd13 Moved the major part of message queue and window timer handling into
the server.
Implemented MsgWaitForMultipleObjectsEx.
2001-05-18 22:51:56 +00:00
Francois Gouget cd8d181a0b Spelling typos. 2001-05-18 21:01:38 +00:00
Jukka Heinonen 7263720dfb Keyboard events did not update AsyncKeyStateTable, now they do. 2001-05-18 20:56:59 +00:00
Bill Medland 31eaee4539 Only measure child rectangles of visible children when deciding about
scroll bars.
2001-05-16 20:06:20 +00:00
Alexandre Julliard 4323004bf1 Create an X connection for each thread, and process X events in the
thread that created the corresponding X window.
Spawn a separate thread to run the desktop message loop in desktop
mode.
2001-05-16 19:52:29 +00:00
Marcus Meissner 3f1ed52d8b Implemented 64bit file size handling.
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Alexandre Julliard 5920737f80 Clear owner of system message queue to avoid freeing it when the first
task exits.
2001-05-14 20:01:38 +00:00
Alexandre Julliard e60ccd11d3 Create a new window for the top popup menu on every new menu tracking,
so that the window belongs to the right thread.
2001-05-11 20:05:42 +00:00
Alexandre Julliard c559735bf8 Renamed display to gdi_display where it is used for GDI operations, to
allow supporting multiple X connections.
2001-05-11 00:17:47 +00:00
Alexandre Julliard b19c57ca71 Fixed reparenting to desktop (found by Gerard Patel). 2001-05-10 21:06:56 +00:00
Alexandre Julliard e3fe9f24ce Moved ScrollWindowEx implementation to the graphics driver. 2001-05-10 03:23:59 +00:00
Alexandre Julliard f2d78536dc Removed XShmCompletion event support (no longer used). 2001-05-09 19:48:32 +00:00
Alexandre Julliard 32ee168200 Use 32-bit hook functions where possible. Cleaned up a couple of
16-bit type uses.
2001-05-09 17:33:00 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Alexandre Julliard 3abeae8f4a Moved window move/resize syscommand handling to the graphics driver. 2001-05-09 17:21:04 +00:00
Francois Gouget e17d1a3649 Print the tid in the first column when +tid is specified. 2001-05-08 00:13:38 +00:00
Alexandre Julliard c6a835a63e Remove Get/SetBeepActive from USER driver and manage it locally inside
SystemParametersInfo.
2001-05-05 00:49:15 +00:00
Alexandre Julliard ee44d885a4 Make sure we recompute the visible region in DC hook. 2001-05-03 18:35:33 +00:00
Marcus Meissner eb0ab7681c Made checks in _get_common_ancestor a bit stricter to avoid XQueryTree
XErrors.
2001-04-30 18:16:51 +00:00
Patrik Stridvall 15a3b74356 Documentation name fixes. 2001-04-27 18:03:51 +00:00
Patrik Stridvall b3086a7593 Fixed some issues found by winapi_check. 2001-04-25 19:54:21 +00:00
Alexandre Julliard 46401a2a1c Avoid crash on deleted windows. 2001-04-25 19:53:28 +00:00
Alexandre Julliard 9ae0fe54b0 Moved most of the implementation of SetWindowPos and SetDrawable into
the user driver, and the corresponding code into the dlls/x11drv
directory. Moved a few functions out of the window driver into the
user driver. Plus a few related cleanups.
2001-04-24 23:28:52 +00:00
Andreas Mohr e8db6cbcb2 - make sure that we really use the correct amount of parameters each
time for the callback function
- always pass strings instead of atoms to Win32 enum proc
- fix trace crash due to string format displaying of atom (LOWORD
  only) handle
2001-04-20 18:35:25 +00:00
Jukka Heinonen ac9a200515 GetAsyncKeyState now clears "has been pressed" information of only the
requested key instead of all keys.
2001-04-18 18:05:57 +00:00
Alexandre Julliard d436125345 No need to preallocate DCEs since they are allocated on demand
anyway.
2001-04-18 17:42:36 +00:00
Gerard Patel 7a06d45fca Do not send WM_MOUSEACTIVATE for children of desktop. 2001-04-17 17:57:20 +00:00
Andreas Mohr 577e2298d3 Preliminary support for MB_*MODAL styles. 2001-04-13 22:24:18 +00:00
Alexandre Julliard 3f03975f48 Added first/last message filters to MSG_InternalGetMessage to avoid
busy waits.
2001-04-12 21:09:03 +00:00
James Hatheway 4ae481e4e0 SetWindowRgn shouldn't activate the window. 2001-04-12 21:06:17 +00:00
Alexandre Julliard c9e11394a0 Added mappings for WM_CHARTOITEM and WM_MENUCHAR messages.
Removed mapping of 16-bit edit messages in the generic routines.
2001-04-10 21:46:27 +00:00
Alexandre Julliard 66ffa17b10 Don't use THREAD_IdToTEB in EnumThreadWindows. 2001-04-04 18:32:14 +00:00
Alexandre Julliard 2ec34e48a3 Added TASK_GetPtr/TASK_GetCurrent functions to get the TDB for a task
handle.
2001-04-04 00:21:05 +00:00
Alexandre Julliard 3e7497f20e Unified 16-bit and 32-bit scheduling a bit more. 2001-04-04 00:19:55 +00:00
Gustavo Noronha Silva (KoV) 12a7923224 Added US international keyboard. 2001-04-02 19:12:58 +00:00
James Juran 36b698fc55 Add value 106 to SystemParametersInfo. 2001-04-02 19:12:22 +00:00
Dmitry Timoshkov dc830b5415 Get and print class name for right window in WIN_WalkWindows. 2001-03-28 18:46:08 +00:00
Alexandre Julliard 04689b26f0 Always load the 32-bit dll containing a given 16-bit builtin.
Check the module name in addition to the file name when loading a
16-bit builtin dll.
2001-03-28 01:47:28 +00:00
Gavriel State 4d73ba6e21 - Always use a double-buffered visual if one is available.
- Ensure that all colormaps created use the double-buffered visual if
  it exists. This prevents problems where DRI GL implementations fail
  to work unless the colormap visual matches the window visual matches the
  glX visual.
- Get around similar visual issue with the default GL context created for
  apps that don't create their own contexts before trying to use GL functions.
2001-03-28 01:45:08 +00:00
Alexandre Julliard 26320d1f75 Cleanup properly on x11drv unloading.
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +00:00
Alexandre Julliard 9515336378 Small dll separation fixes. 2001-03-23 19:13:23 +00:00
Alexandre Julliard f88e5aa7bf Cleaned up assumptions about WS_CHILD flag so that we can allow it to
be changed in SetWindowLong.
2001-03-21 23:55:36 +00:00
Eric Kohl ca6c9a6a20 Added stubs for GetWindowsModuleFileName[A/W]. 2001-03-20 01:53:51 +00:00
Ove Kaaven e17aaa22d4 Win2000: If both WS_EX_LAYERED and WS_EX_TRANSPARENT styles are set,
mouse clicks should go straight through the window.
2001-03-19 19:14:22 +00:00
Guy L. Albertelli bf89e7cdd1 Label the width and height correctly in the WINDOWPOS display. 2001-03-16 16:41:07 +00:00
Rein Klazes fafc6fbffe Fix Unicode/Ansi message translation for some listbox/combobox
messages with a zero valued lparam. Output an error when the
translation fails.
2001-03-13 23:32:45 +00:00
Gerard Patel 53cad8b77a Unblock the dialog message loop with a WM_NULL message. 2001-03-05 19:59:50 +00:00
Dmitry Timoshkov 0c2885e194 Add DCX_CLIPSIBLINGS to flags for DCE_GetVisRgn only if window has
WS_CLIPSIBLINGS bit set.
2001-03-04 01:05:00 +00:00
Andreas Mohr 8c2f4b18fa Some more message cleanups. 2001-03-03 00:22:50 +00:00
Johannes E. Schindelin 0ba5909038 Some minor changes to the German keyboard layout. 2001-02-28 21:41:17 +00:00
Dominik Strasser 0d86ffeda2 Avoid crash at end of list. 2001-02-28 21:40:19 +00:00
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
Alexandre Julliard 67a749999a New set of macros for server calls; makes requests without variable
part somewhat faster.
2001-02-27 02:09:16 +00:00
Eric Pouech a862f68db5 Added a few missing stubs to KERNEL32 and USER32. 2001-02-26 22:33:29 +00:00
Chris Morgan b28e18bcc9 Replace fixme for SPI_GETWHEELSCROLLLINES with the default value of 3. 2001-02-23 01:32:22 +00:00
Aric Stewart 278dd15eb2 - We need to make sure we pay attention to if our call to
SetClipboardData from the X11DRV version of the function works. If not
  we need to delete the global block we allocated. This is a sever memory
  leak with large clipboard items.
- If an X selection it too large then X may give it to us in chunks,
  we were not handling this well.
2001-02-23 01:31:47 +00:00
Alexandre Julliard da2892c0fb Do not allocate any USER data on the system heap. 2001-02-23 01:13:42 +00:00
Aric Stewart 096c1ae4ec We need to give room for the null termination when translating the
clipboard text.
2001-02-20 01:54:08 +00:00
Aric Stewart 6c1b680b6e Correct the codepage for the Turkish keyboard. 2001-02-16 19:06:50 +00:00
Aric Stewart ed6a7b4ab2 Added a turkish keyboard layout. 2001-02-15 21:23:23 +00:00
Alexandre Julliard 1da348910e Fixed WM_GETTEXTLENGTH handling. 2001-02-14 21:50:09 +00:00
François Gouget 0124576cda Be smarter about the ellipsis in SPY_GetWndName. 2001-02-14 21:43:20 +00:00
François Gouget 4188fbcb9b Misc typos in comments. 2001-02-14 21:43:06 +00:00
Susan Farley 5c2cbc6850 Exception for allowing the parent to set the cursor for a child wnd is
when the cursor is on the border of a resizable wnd.
2001-02-14 00:25:53 +00:00
Marcus Meissner 5bcef61fba PostMessageA/W ignores messages containing pointers and returns
FALSE/LastError ERROR_INVALID_PAREMETER.
2001-02-13 01:48:39 +00:00
François Gouget 2c86506164 CreateIcon must perform color depth conversion if the provided bitmap
is not of the same depth as the screen.
Added some documentation.
2001-02-13 01:48:14 +00:00
Aric Stewart 039ae272d3 If an application directly calls SetClipboardData with CF_TEXT and
then later called GetClipboardData with CF_TEXT we gave them a NULL
because we where not handling this case.
2001-02-12 19:16:05 +00:00
Andreas Mohr cd5f28bd69 Make sure that MSG_PeekMessage uses an internal variable to avoid
corruption.
2001-02-12 19:15:06 +00:00
Andreas Mohr 312303acaf - move TSXGrabServer after a possible return FALSE;
- move misplaced comment
- optimize TSXGrabServer use
2001-02-12 18:10:27 +00:00
Dmitry Timoshkov 2b560c75f9 Remove redundant parameters from MDICreateChild and MDIDestroyChild.
Make the parameter names slightly more descriptive.
2001-02-12 18:09:51 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
Patrik Stridvall df75e89df5 Documentation name fixes (always use external name). 2001-02-12 03:49:07 +00:00
James Abbatiello 45edb2fcb3 Fix a few compiler warnings. 2001-02-12 03:42:58 +00:00
Dmitry Timoshkov 91adf0aa4e Added unicode MDI client window proc. 2001-02-12 03:40:41 +00:00
Josh DuBois 2c6e3ff0d5 Fixed a char that should have been signed. 2001-02-12 03:39:34 +00:00
Ulrich Weigand 52e891d5ec Synchronize access to MESSAGEQUEUE members. 2001-01-29 00:33:35 +00:00
Eric Pouech 982e0ce07f Added a few missing exports. 2001-01-28 23:44:56 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Andreas Mohr c9cf70d448 Some more cleanups. 2001-01-26 20:40:50 +00:00
Martin Pilka d1e3245b6b Fixed SW_RESTORE handling. 2001-01-26 20:37:48 +00:00
Dmitry Timoshkov 06e735d2ec Replace 16-bit calls in DefWindowProc by 32-bit, preferring unicode
API calls.
2001-01-26 00:19:33 +00:00
Patrik Stridvall 0c61028734 Documentation ordinal fixes. 2001-01-25 22:22:21 +00:00
Gerard Patel 2f47f3d0c0 Added a few messages and notifications. 2001-01-25 21:47:12 +00:00
Susan Farley 8cc20f8f7e Always restore the bit_gravity to BGForget after using BGNorthwest to
copy bits during SetWindowPos.
2001-01-25 21:46:26 +00:00
Andreas Mohr 4f565d6d6c Only set window text for WM_NCCREATE in DefWindowProc*() in case
lpszName is a string (i.e. check HIWORD).
2001-01-24 19:57:04 +00:00
Alexandre Julliard c1d35ccd9b Use DrawFrameControl() instead of OEM bitmaps to paint caption buttons
and menu check marks.
2001-01-24 19:47:57 +00:00
Guy L. Albertelli 09d42ff231 - Added NMCBEENDEDIT structure for NOTIFY dump.
- Added dump of positioning structure for WM_WINDOWPOSCHANG{ED|ING}.
2001-01-21 21:10:48 +00:00
Alexandre Julliard 990b480a1d Warning fix. 2001-01-20 02:51:49 +00:00
Alexandre Julliard 8bb7fb960c Fixed a number of incompatibilities in OEM icons/cursors handling. 2001-01-20 02:48:30 +00:00
Alexandre Julliard 16cbf4022c Store USER icons and cursors as resources instead of xpm bitmaps. 2001-01-18 20:32:01 +00:00
Josh DuBois 46fb7e0057 Make some noise in a few cases where the X11drv doesn't load, but used
to fail silently.
2001-01-17 21:51:07 +00:00
Alexandre Julliard ee21c443c6 Replaced X11DRV_CritSection references by wine_tsx11_(un)lock. 2001-01-15 22:31:24 +00:00
Alexandre Julliard 8efd454067 Removed CALL_LARGE_STACK support. 2001-01-15 22:30:50 +00:00
Alexandre Julliard d8e9a09d9b Removed unnecessary headers. 2001-01-15 20:22:30 +00:00
Dmitry Timoshkov aab85d72bd Initialize MENUITEMINFO structure before calling GetMenuItemInfo. 2001-01-15 20:21:15 +00:00
Alexandre Julliard a41b2cfdd0 Moved tweak support to USER dll. Removed tweak.h and cache.h. 2001-01-15 20:12:55 +00:00
Alexandre Julliard 7d5bc5c3f9 Removed some direct accesses to the 16-bit task structure. 2001-01-15 20:09:09 +00:00
Ulrich Weigand e27670eac5 Fixed byteorder problems caused by non-portable code. 2001-01-11 00:52:50 +00:00
François Gouget 54300e592c Move HDWP to winuser.h.
Convert HWINSTA to STRICT.
2001-01-09 20:56:06 +00:00
Dmitry Timoshkov 7ba757d728 Add missing mapping for LB_FINDSTRINGEXACT message (thanks to Gerard
Patel for reporting the bug).
2001-01-07 21:44:50 +00:00
Alexandre Julliard 8081e5a1e5 Added handle_t type to server interface so that we can make handles
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
François Gouget d6515df871 Convert HDESK to STRICT. 2001-01-03 21:39:33 +00:00
Ove Kaaven c90fb25c68 Turn on detectable autorepeat if the X Keyboard Extension is
detected.
2001-01-02 22:39:14 +00:00
François Gouget dea3d786e4 Moved HDROP to shellapi.h. 2001-01-02 21:00:46 +00:00
Dmitry Timoshkov 97d5abcd04 "Implement" GetKBCodePage and GetKBCodePage16. 2000-12-29 19:47:53 +00:00
Ulrich Weigand cc195924a6 Added check whether unaligned memory access is allowed.
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +00:00
Ove Kaaven 5079844bc6 Use the X state instead of the VK key state to check for eatable
characters, since the VK key state isn't a fan of AltGr.
2000-12-27 03:45:51 +00:00
Francois Gouget 345acc90fd Updated the look of dots and dashes to match the Win32 look.
Issue a FIXME about PS_USERSTYLE.
2000-12-24 20:16:25 +00:00
Guy L. Albertelli 09ce5e8013 Fixed loop test for negative value. 2000-12-24 19:51:02 +00:00
Gerard Patel 9289a5dff8 Cancel a few changes to get back basic text clipboard functionality. 2000-12-22 23:26:18 +00:00
Eric Pouech 4d24e0f5a6 Replaced calls to KERNEL.Yield16 by calls to KERNEL32.K32WOWYield from
outside libkernel.so.
2000-12-22 23:25:47 +00:00
Joerg Mayer 2563b1b732 Warn when FindWindow needs to check other processes windows. 2000-12-22 20:29:41 +00:00
Patrik Stridvall 2ece70e77b Various documentation fixes. 2000-12-22 01:38:01 +00:00
Alexandre Julliard e1f3803daa Removed the dummy mouse event in SetWindowPos. 2000-12-22 01:31:51 +00:00
Alexandre Julliard 5801723b50 Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. 2000-12-22 01:09:26 +00:00
Eric Pouech 247a94f688 Cleaned up the code a bit. 2000-12-21 20:21:53 +00:00
Guy L. Albertelli 65a4aa4e11 - print out WM_NOTIFY message code if we know it.
- print out memory past end of NMHDR structure for the size of
  the normal NMxxxxx structure associated with the message code.
- setup notify code table for common, REBAR, TOOLBAR, and COMBOEX (at
  least partially).
2000-12-20 18:38:15 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Gerard Patel 6e8519b128 Allow for the dialog font size to be set directly in pixels. 2000-12-18 03:11:10 +00:00
Gerard Patel cc3e0c5d90 WM_GETMINMAXINFO track min size should be used in SetWindowPos also
for 32 bits apps.
2000-12-18 03:10:42 +00:00
Alexandre Julliard ce1398e384 Avoid a couple of dependencies on input.c internal variables. 2000-12-16 20:37:16 +00:00
Gerard Patel ef456af6e5 Don't return last active popup if it is pointing to a deleted window. 2000-12-15 21:29:13 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard f6168db690 Fixed some warnings. 2000-12-13 20:03:53 +00:00
Eric Pouech 66b4468bd4 Split driver functions into USER (16 bit part) and WINMM (32 bit part).
Fixed some bugs in 16 bit part as well.
Now correctly parsing the system.ini extra parameters.
2000-12-13 02:07:40 +00:00
Alexandre Julliard a67369ea00 Changed LoadImage16 to take an LPCSTR instead of a SEGPTR. 2000-12-12 00:48:06 +00:00
Alexandre Julliard becb9a353b Moved all Wine internal definitions out of process.h. 2000-12-11 03:48:15 +00:00
Dmitry Timoshkov 1df0d36592 Add CF_UNICODETEXT as primary text clipboard format.
Use [x11drv].TextCP for interchange with X.
2000-12-11 01:09:56 +00:00
Alexandre Julliard 91222da881 Moved most builtin controls structures into their respective C file.
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
2000-12-10 23:01:33 +00:00
Andreas Mohr 1af53cbb2a - README update
- add offsets to ASPI struct defines
- spelling
2000-12-09 03:15:32 +00:00
Hidenori Takeshima d34426903b Added handlers for some IME messages in DefWindowProc. 2000-12-07 23:55:11 +00:00
Alexandre Julliard 9877906b26 Removed dependencies on the internals of the CLASS structure.
Added support for having both ASCII and Unicode window procedures for
builtin classes.
2000-12-07 23:39:16 +00:00
Alexandre Julliard b83a16c148 Removed calls to WIDGETS_IsControl. 2000-12-07 23:24:41 +00:00
Ove Kaaven af6b76e1a6 Use SendNotifyMessage() for WM_SYNCPAINT. 2000-12-06 19:45:22 +00:00
Dmitry Timoshkov 411e455624 Removed the code duplication. 2000-12-05 04:08:50 +00:00
Rein Klazes 0b0ccb83e1 Don't forget to map the message in WINPROC_MapMsg16To32W(). 2000-12-05 04:01:34 +00:00
Ken Coleman 2743c81e77 Added a first-cut version of MapVirtualKeyExW() that has the same
functionality (and limitations) as the ANSI version.
2000-12-05 03:56:56 +00:00