Commit Graph

866 Commits

Author SHA1 Message Date
Andreas Mohr beae14de0c Protect EndDialog() from invalid window handles. 2000-02-12 13:21:23 +00:00
Phillip Ezolt a1f092a1d3 Added missing goto in switch statement. 2000-02-10 22:37:24 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Juergen Schmied 1c35daedef Added CF_HDROP. 2000-02-07 16:22:57 +00:00
Alexandre Julliard b2f6f0e7d2 Removed resource.h. 2000-02-03 01:54:36 +00:00
Dmitry Timoshkov 6fb62f52f5 Correct the behaviour of the accelerator keys in dialogs according to
the Windows' one.
2000-01-29 22:09:40 +00:00
Andreas Mohr 8cd93514f0 - add some documentation items
- fix some spelling
- fix some warnings
2000-01-29 21:12:58 +00:00
Alexandre Julliard 0dd3655fd0 Removed debugstr.h. 2000-01-29 19:49:58 +00:00
Alexandre Julliard 96ebf15edd Use a linked list instead of a DPA to manage pixmaps. 2000-01-26 02:21:30 +00:00
Alexandre Julliard eafa391081 Use argv[0] to locate the server executable. 2000-01-25 21:19:58 +00:00
Alexandre Julliard 563561eecb Use GetProcAddress instead of calling ShellAboutA directly. 2000-01-24 05:46:47 +00:00
Ove Kaaven 2527a33351 Added -dxgrab command line option, which confines cursor motion to the
DirectX primary surface.
2000-01-23 22:31:24 +00:00
Gerard Patel 7e70e56b3f Map WM_MENUSELECT 32->16 bits for closing menu. 2000-01-23 03:20:19 +00:00
Gerard Patel e8a3d0713f Fix parameters for MDI_RestoreFrameMenu in WM_DESTROY msg. 2000-01-23 03:19:44 +00:00
Ove Kaaven b030d20fc4 Supercharged XShm implementation for DirectDraw. 2000-01-23 02:28:48 +00:00
Huw D M Davies 8be3bf1c0d Actually print return value of message. 2000-01-23 02:19:20 +00:00
Alexandre Julliard 681c75bf17 Added debugstr_guid function and used it to replace
WINE_StringFromCLSID in all debugging messages.
2000-01-18 05:09:49 +00:00
Eric Pouech 4f81c3ea30 Replaced Wine specific DRIVER_GetType by a correct implementation of
GetDriverFlag.
2000-01-15 22:29:32 +00:00
Rein Klazes d38f600f69 Avoid problems during changing the Z-order if the window and the
window to insert after are the same.
2000-01-08 22:22:28 +00:00
Patrik Stridvall 9dded144f4 - Made FillRect behave like it does on Windows
- Cleaned up WM_{,ICON}ERASEBACKGROUND default handling
- Added some comments on how Windows behaves
2000-01-05 03:05:23 +00:00
Peter Ganten 65b1f9f0f0 Check if winhelp is already running; use winhlp32.exe or winhelp.exe
depending on the emulated version, relase win16lock before calling
WinHelpA.
2000-01-05 02:41:12 +00:00
Lionel Ulmer 939e252bdc Give +0+0 as a default position for the desktop window. 2000-01-04 00:54:39 +00:00
Juergen Schmied a4d7ca0f22 Corrected parameter count for DialogBoxIndirectParamAorW. 2000-01-04 00:29:44 +00:00
Ove Kaaven fc091b27ae Added extra US keymap with the infamous phantom key. 2000-01-04 00:28:31 +00:00
Eric Pouech 95aa1c388d Moved the 16 bit driver functions callout into the dir. 2000-01-04 00:26:50 +00:00
Andreas Mohr 98c5cd6f9e "resultp" can be NULL in SendMessageTimeout*(). 2000-01-04 00:23:32 +00:00
Peter Ganten 6619f5a71a Implemented WaitForInputIdle. 2000-01-01 22:38:20 +00:00
Alexandre Julliard f1f68312e7 Fixed potential buffer overflows (spotted by Francois Gouget). 2000-01-01 22:22:21 +00:00
Alexandre Julliard 81ee21ddff Cosmetics. 1999-12-27 05:26:00 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Marcus Meissner 76eebe6431 Test pointers passed to copyrect for NULL. 1999-12-25 22:53:10 +00:00
Dmitry Timoshkov b7bb42d9d4 Restore erroneously deleted lines. 1999-12-25 22:52:44 +00:00
Huw D M Davies be89816eef Avoid infinite loop in WINPOS_FindIconPos if the width of the parent
client area is less than the icon spacing.
1999-12-25 22:51:19 +00:00
Lionel Ulmer 62e4d5548c Fixed handling of DGA2.0 keyboard events. 1999-12-12 21:28:44 +00:00
Alexandre Julliard e6b82e7662 Murali Pattathe
GetNextDlgGroupItem: needs to check the control parent is the main dialog.
GetNextTabItem: make sure this control is visible and not disabled.
1999-12-12 20:17:59 +00:00
Lionel Ulmer 3ba4be4054 - added support of DGA-2.0 events
- fixed the leaving of DGA-2.0 mode
1999-12-12 19:42:47 +00:00
Rein Klazes 80c924f1f4 In win32 a WM_MENUSELECT message should contain the position when the
item refers to a submenu, not the submenu's handle as in win16.
1999-12-12 19:40:46 +00:00
Marcus Meissner e6c6390c21 Check for passed invalid window handle in DefMDIChildProc*. 1999-12-12 19:39:37 +00:00
Juergen Schmied b9290d866c Message translation WM_CREATE fixed. 1999-12-12 00:38:33 +00:00
Alexandre Julliard 1dc551cf6b Authors: Kai Morich <kai.morich@bigfoot.de>, Marcus Meissner <marcus@jet.franken.de>
Added systray support.
Swallow the windows systray icons into kpanel systray if KDE/KWM is
running.
1999-12-11 23:54:59 +00:00
Patrik Stridvall cf84434213 Improved the TTY driver. 1999-12-11 23:08:48 +00:00
Marcus Meissner 1c5777a59f If we have registry entries, use them. Never mind which version we
autodetected.
1999-12-11 23:02:50 +00:00
Ulrich Weigand 2faf2cf964 Perform 16/32A/32W message mapping for posted messages. 1999-12-10 03:47:13 +00:00
Lionel Ulmer 7938aaba1a - do not loose initial auto-repeat status when acquiring the keyboard more
than one time
- support of DirectX 7's DIMOUSESTATE2 structure
1999-12-10 03:29:32 +00:00
Dimitrie O. Paun dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Andreas Mohr a2da86898a Added .rc file support for Win16 NE modules.
Moved display.c and mouse.c to separate dll directories.
1999-12-06 01:20:00 +00:00
Huw D M Davies f0f8da5870 Fixes several bugs in gdi path handling.
Adds *Path functions to dc funcs table + add EnhMetaFile recording.
Separate out Polylne/PolylineTo and PolyBezier/PolyBezierTo in dc
funcs table to enable proper enhmetafile recording.
The current position update in *To functions is now handled by the
main function and not in the drivers.
Move USER functions from graphics/painting.c -> windows/painting.c
1999-12-05 23:54:02 +00:00
Dmitry Timoshkov f92a777007 Remove hack for keyboard messages in dialogs. 1999-12-05 23:51:15 +00:00
Ulrich Weigand 937f4d3ec3 Added USER.DllEntryPoint(). 1999-12-05 02:49:59 +00:00
Lionel Ulmer c9713e58c0 - removed keyboard auto-repeat when DInput acquires it
- removed some (now) obsolete fixme's
1999-12-05 02:20:46 +00:00
Lionel Ulmer 176f80fa0d Use DInput's internal mouse event handler to handle the GetDeviceState
function.
1999-12-04 04:19:04 +00:00
Niels Kristian Bech Jensen c69a80c31d Compiler warnings fixed. 1999-11-28 20:31:04 +00:00
Patrik Stridvall 4d715fd9dd Improved the stubs. 1999-11-23 23:43:29 +00:00
Niels Kristian Bech Jensen 1d5bc469cc Removed extra #include statements. 1999-11-21 02:14:36 +00:00
Andreas Mohr 399e41fc2e Added some ordinals and GetDriverResourceID(). 1999-11-21 02:01:07 +00:00
Ove Kaaven b5fed2f027 Fixed XShm completion event leak. 1999-11-12 00:59:17 +00:00
Eric Pouech cd168e779d Fixed crash when asked to use strings identified by resource id
instead of pointer.
1999-11-07 23:36:31 +00:00
Jim Aston f0b27edfdc When window class has CS_CLASSDC style we should not remove the DC
when destroying the window.
1999-11-07 23:36:09 +00:00
Ove Kaaven 7da242dbd5 DirectX-XShm now waits for the X server to finish the previous frame
before sending another frame down its pipe, avoiding the X server
overload and resulting slowness that used to be.
1999-11-07 22:44:06 +00:00
Marcus Meissner 5e2f50f8c0 Added ChangeDisplaySettingsExA stub and some flag defines. 1999-11-07 22:26:20 +00:00
Lionel Ulmer acc7467c03 Added the possibility to have mouse movements reported relative to
Wine's mouse driver.
1999-11-07 21:25:57 +00:00
David Grant edb77973f1 Windows sends WM_GETDLGCODE only in response to keyboard messages
(WM_KEYDOWN, WM_CHAR, WM_SYSCHAR).
1999-11-07 21:02:17 +00:00
James Abbatiello 161693e4f9 Addresses issues with multiple processes accessing non-global critical
sections.
1999-11-07 19:22:46 +00:00
Juergen Lock 7cc0e274f4 Exec `wineclipsrv' not `wineclipsvr', and don't inherit wine's X
sockets to it (otherwise windows stay around when wine hangs).
1999-11-07 05:12:43 +00:00
Karl Lessard a69bc02958 Never send a WM_CLOSE message to a popup window. 1999-11-04 02:11:55 +00:00
Karl Lessard 228b0cc023 Check if the window is managed before trying to give it focus. 1999-11-04 02:10:08 +00:00
Jaroslaw Piotr Sobieszek 384a10ddb9 Added Polish keyboard support. 1999-11-04 02:02:05 +00:00
Karl Lessard c9abc69a0e Fixed COLOR_MAX definition for new Win32 values. 1999-11-04 01:48:54 +00:00
Ulrich Czekalla 1720c98515 Implemented support of DS_CONTROL and WS_EX_CONTROLPARENT styles. 1999-10-31 21:35:35 +00:00
Pierre Mageau 18c9ee815e On ConfigureNotify, find the first visible window above the current one. 1999-10-31 21:30:16 +00:00
Francis Beaudet 458719dc20 Fixed a small bug in the behavior of maximized MDI children. 1999-10-31 17:35:06 +00:00
Francois Gouget 01c9ac401f Generalized the use of the new ICOM_VFIELD and ICOM_VTBL macros. 1999-10-31 01:59:23 +00:00
Huw D M Davies 238b6d7040 Fixed a couple of compiler warnings. 1999-10-31 01:56:51 +00:00
Lionel Ulmer 6fed97f3c1 Changed the initialisation of the KeyState array. 1999-10-31 01:54:50 +00:00
Patrik Stridvall 96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Uwe Bonnes 7361916dd3 Warn users to use -the -desktop option together with the native user DLLs. 1999-10-24 20:42:39 +00:00
Francis Beaudet 56ab55d374 Enabled the persistent clipboard server. 1999-10-24 20:22:24 +00:00
Adrian Thurston 73a26fa4da Do not set focus to a disabled window. 1999-10-24 17:23:52 +00:00
Pierre Mageau f2d99ee56a Fixed an entry in the keyboard translation table for Ctrl-Break. 1999-10-24 17:21:32 +00:00
Noomen Hamza d1a1f7d6f7 Popup windows will be hidden when we minimize a main frame or shown
when we maximize or restore a minimized main frame.
1999-10-24 00:02:27 +00:00
Pierre Mageau 891d4d22a7 Fixed loop with WM_SYSCHAR. 1999-10-23 20:05:04 +00:00
Adrian Thurston 00442ba5ae Protect against wrong return value from WM_INITDIALOG. 1999-10-23 16:48:05 +00:00
Francis Beaudet c22ca7af80 Replaced a X call with a TSX call in XDRV_MOUSE_SetCursor(). 1999-10-23 14:37:45 +00:00
Ulrich Czekalla 6623b85893 We are supposed to delete the palette object with the DeleteObject
function.
1999-10-23 14:10:04 +00:00
Rein Klazes d4a2ceede0 Use the module handle, if CreateWindowEx is called with
hInstance==NULL.
1999-10-23 13:57:36 +00:00
Abey George 3336f48565 Changed EndDialog to behave like as in Windows.
Call SetWindowPos instead of ShowWindow in EndDialog.
1999-10-13 15:45:23 +00:00
Abey George 983f90a594 Changed WINPOS_CanActivate to not to consider WS_VISIBLE style.
Code for activating and setting focus to other windows when a window
is hidden, is moved to ShowWindow from SetWindowPos.
Activate the top level window if it's not active in ShowWindow(SW_SHOW).
1999-10-13 15:43:45 +00:00
Zoltan Kovacs 3d4cabf0e1 Added Hungarian keyboard support. 1999-10-13 13:54:39 +00:00
Thuy Nguyen 22614a3390 We have to activate MDI child windows. 1999-10-13 13:53:10 +00:00
Abey George fbecbc2952 Make sure the Focus Out window is still the Foreground window before
doing SetForegroundWindow(0) in Event_FocusOut.
1999-10-13 13:49:01 +00:00
Noomen Hamza 24d4ebfdd0 Set the COLOR_3DLIGHT system color to the right window default value. 1999-10-13 13:47:01 +00:00
Marcus Meissner 24f1219c56 If the joydevice is not present, do not create a DirectInputDevice. 1999-10-13 12:30:52 +00:00
Marcus Meissner e14deffd8b Added german keyboard layout with "nodeadkeys" option enabled (just to
apostrophes are switched).
1999-10-13 12:18:03 +00:00
Noomen Hamza a018d8508f Rewrite the ShowOwnedPopups function with a safety algorithm. 1999-09-28 16:26:09 +00:00
Francis Beaudet d3d2477014 rcPaint has to be returned in logical coordinates but was intersected
with a client rectangle in device coordinates.
1999-09-27 11:42:34 +00:00
Noel Borthwick ea0fd4d5d1 Added clipboard server. 1999-09-23 16:14:44 +00:00
Patrik Stridvall 8276f696fc Fixed some of the issues reported by winapi-check. 1999-09-23 11:48:02 +00:00
Noomen Hamza fcc24ff431 WS_POPUP windows (excluding the WS_POPUPWINDOW windows) should be
closed after loosing the focus.
1999-09-23 11:42:16 +00:00
Noomen Hamza 5a3505c985 Non active window should be activated when it gets any
client/non-client double/single left/medium/right mouse click(s).
1999-09-23 11:36:25 +00:00
Gerard Patel 99b68252a1 Fix infinite loop with glastXFocusWindow. 1999-09-22 15:16:50 +00:00
Ulrich Weigand 24dd5d9e4f Keyboard/mouse event proc thunk creation moved out of if1632/thunk.c. 1999-09-20 18:49:02 +00:00
Ulrich Weigand f86aab84ba DC hook proc thunk management simplified. 1999-09-20 18:47:14 +00:00
Ulrich Weigand f4edf2378e Windows hook proc thunk management simplified. 1999-09-20 18:45:00 +00:00
Noel Borthwick d05b7beb5a - Add clipboard support for copying/pasting bitmaps or Pixmaps between Wine
and native Linux applications.
- Respond to the MULTIPLE selection request target when Wine is the
  selection owner.
- Relax type checking for TARGETS selection.
1999-09-20 15:42:47 +00:00
Richard Cohen 55b92475f2 Protect MDISetMenu from rogue menu handles. 1999-09-19 14:05:05 +00:00
Marcus Meissner 8388f67523 Added stub implementation for EnumDisplayDevices*. 1999-09-19 12:09:23 +00:00
Francis Beaudet c9a50fd64f Made sure that the windows with the WS_EX_TOOLWINDOW style didn't get
handled by the window manager.
1999-09-10 13:59:24 +00:00
Stephane Lussier 540a227452 Pressing the delete key using an extended keyboard with numlock on is
not generating anymore a WM_CHAR message.
1999-09-10 13:57:59 +00:00
Eric Pouech 37c0217d03 Updated to new MM header organization. 1999-09-05 16:44:38 +00:00
Richard Cohen 0ded0fe323 No longer needs to calculate its own character size. 1999-09-05 12:25:33 +00:00
Uwe Bonnes 23cadd3731 Allow timeout of 0. Cap timer rate to SYS_TIMER_RATE. 1999-09-04 14:32:27 +00:00
Alexandre Julliard 04699cca44 Added missing HFONT type. 1999-09-04 11:21:10 +00:00
Pierre Mageau 4ac8db783d Changed CopyImage to accept desiredX, desiredY and LR_COPYFROMRESOURCE.
CURSORICON_FindBestIcon changed to find the correct icon.
ImageList_ReplaceIcon now calls CopyImage internally.
Assign a value for the hIconSm CLASS member (using CopyImage).
1999-09-04 11:16:48 +00:00
Marcus Meissner 6f7797bc77 More restrictive checks, so DIALOG_IsAccelerator don't loop
endlessly.
1999-09-03 16:39:36 +00:00
Richard Cohen d38bcea270 - select the font into the dc before calculating the extent
- make buttonheight correspond to text height + width to caption
- button was "flashing" on EndDialog (must delete font AFTER EndDialog)
- #defines for DlgItemIds
- implement MB_RETRYCANCEL
1999-09-03 16:38:03 +00:00
Noel Borthwick 2970067b14 - Implement interprocess clipboard communication.
- Support for the PRIMARY and CLIPBOARD selection atoms.
- Support for the TARGETS selection format.
- Expose native Windows clipboard formats through X selection targets.
1999-09-03 15:17:57 +00:00
Francis Beaudet eb13dd4291 Removed truncating errors that happen when converting fom dialog units
to pixels.
1999-09-03 15:14:27 +00:00
Abey George c684d8ef6f Check new coordinates received in WM_NCCALCSIZE message. 1999-09-03 15:09:57 +00:00
Francis Beaudet 1cc0a9a2c4 Make sure that all MDI children have the WS_EX_MDICHILD style set. 1999-09-03 15:00:45 +00:00
Guy Albertelli 5bd551756b Completed GetKeyNameText for non-character keys. 1999-09-03 12:39:29 +00:00
Abey George 48c6eb55f7 Fixed resizing bugs for windows with WS_THICKFRAME and WS_DLGFRAME
styles.
1999-09-03 12:33:40 +00:00
Marcus Meissner 4380621702 Use in GetClassInfoW the same hack for systemclasses as in
GetClassInfoA (winword 97 with native comctl32).
1999-09-03 12:28:20 +00:00
Pascal Lessard ecbf1d926d Added the case of a user defined icon for the sysbutton hittest. 1999-08-21 13:09:16 +00:00
Stephane Lussier e5711ebea4 The paint rectangle return in the PAINTSTRUCT in BeginPaint should
never be bigger than the client area of the window.
1999-08-21 13:06:24 +00:00
Francis Beaudet 7ed1af3df3 Ensure that the WM_ENTERIDLE message is not sent if the wake-up event
for the MSG_InternalGetMessage() call is a WM_TIMER.
1999-08-15 16:58:03 +00:00
Thuy Nguyen 03a6889e5c Implemented the WM_SETICON and WM_GETICON messages. 1999-08-15 14:21:57 +00:00
Ulrich Weigand c50a1d05de Adapted to new-style Wine thunks.
Removed some now unnecessary function pointers.
1999-08-15 12:45:01 +00:00
Francis Beaudet 8623fdc251 If the window is already the topmost window in ShowWindow(SW_SHOW), it
must not be activated.
1999-08-07 14:14:06 +00:00
Stephane Lussier 34264f2686 WM_SYSCOMMAND message (for SC_CLOSE) should be posted not sent. 1999-08-07 14:12:42 +00:00
Stephane Lussier 9455211417 X11drv SetDrawable function modifies the DC origin, this translation
should be reflected for the dc clipping region for CS_OWNDC and CS_CLASSDC.
1999-08-07 14:10:55 +00:00
Abey George 15c58c4239 Set focus to the dialog in EndDialog. 1999-08-07 14:10:04 +00:00
Ove Kaaven 6103e4b195 Made hardware_event use win32-conformant parameters. 1999-08-07 12:33:35 +00:00
Thuy Nguyen 46570a9dbd WS_EX_DLGMODALFRAME alone does not mean title bar, you still have to
specify WS_CAPTION.
1999-08-07 12:25:32 +00:00
Marcus Meissner 028e9a1720 Implemented DirectInput Joystick support (tested with WC:Prophecy). 1999-08-04 15:07:56 +00:00
Ivan De Saedeleer 0e65a49b2b Minor fix to the French Canadian keyboard. 1999-08-04 14:28:03 +00:00
Alexandre Julliard 15de615276 Got rid of dsprintf and related macros. 1999-08-04 12:22:42 +00:00
Noomen Hamza d9d547168c Close the right window when clicking on a non active window close
button.
1999-07-31 19:35:58 +00:00
Patrik Stridvall 0e38aa7fda Various ANSI C compability fixes. 1999-07-31 17:34:43 +00:00
Ulrich Weigand 081daf7d21 Implemented KERNEL.447 (WIN32_OldYield16). 1999-07-31 17:27:38 +00:00
Ulrich Weigand 56237566e4 Suspend WND lock before EVENT_Synchronize. 1999-07-31 17:26:11 +00:00
Pascal Lessard d814bb657a Implemented the system button behavior and associated it to the system
menu in win95. Also permit the SC_CLOSE item to be disabled.
1999-07-31 13:02:02 +00:00
Dan Langlois 402dc20e1f Removed an inappropriate if statement from MDI_ChildActivate that
prevented the activation code from executing.
1999-07-31 12:58:04 +00:00
Abey George 40c60b698c Bug fix for updating the clipping region in nested GetDCEx calls. 1999-07-31 11:10:12 +00:00
Yuxi Zhang a961c445ed Tried to fix the code for SetWindowPos to erase the background
properly.
1999-07-31 11:09:33 +00:00
Francis Beaudet 4691d0cb89 Fixed a memory leak that occurs when we maximize/minimize an MDI
child.
1999-07-30 18:02:04 +00:00
Ulrich Weigand 98c3053e6e Added FinalUserInit16/FinalGdiInit16 stubs.
Call out to FinalUserInit in MAIN_EmulatorRun.
1999-07-27 17:10:06 +00:00
Abey George 9849f1642a Send normal mouse messages to WM_SETCURSOR when non-client mouse
messages occur.
1999-07-27 17:06:55 +00:00
Thuy Nguyen f18e7c322e Check if the window has the WS_CLIPSIBLINGS style before using the
DCX_CLIPSIBLINGS flag.
1999-07-27 17:03:16 +00:00
Marcus Meissner bc2ad4a267 Actually return the number of events in Mouse_GetDeviceData (fixes
Wing Commander Prophecy). Added timestamp and sequence generation,
critical section for mousedata. Disabled mouse warping in
GetDeviceData for now (generates excess mouse events).
1999-07-27 16:08:59 +00:00
Francis Beaudet 278d0586dc Retrieve the clipping region before setting the drawable and reset the
clipping region after.
1999-07-25 12:27:13 +00:00
Lionel Ulmer 3b3dc5c8b3 Implementation of SetEventNotification for the mouse driver. 1999-07-25 11:21:07 +00:00
Noel Borthwick 83579c8286 Fix bug with pasting Wine clipboard content to external applications,
by storing clipboard data on the shared system heap.
1999-07-24 12:18:04 +00:00
Achim Kaiser 564b784402 Draw an additional white bit for each invert bit of a cursor. 1999-07-24 12:16:58 +00:00
Noel Borthwick 36d7ca38b8 While handling the X FocusIn message in managed mode, if the window
has been disabled revert the X focus back to the last focus window.
1999-07-24 12:16:00 +00:00
Sylvain St-Germain 00bf3811ae Fixed inconsistency in conditions that determines if a window requires
a WM border.
1999-07-24 12:11:22 +00:00
Stephane Lussier 18613bb7c7 Re-enable the owner window in the EndDialog(). 1999-07-24 10:18:02 +00:00
Abey George 46166178e9 Send WM_CONTEXTMENU on WM_RBUTTONUP, not WM_RBUTTONDOWN. 1999-07-24 10:14:51 +00:00
Huw D M Davies 106b08320f Fixed compiler warning. 1999-07-24 10:13:36 +00:00
Eric Pouech fa9724fde8 Fixed some bad ptr occurrence in this class WndProc. 1999-07-23 19:21:56 +00:00
Lionel Ulmer 2bce6fea7e - Added a new option 'noxshm'
- Added a 16bpp -> 32 bpp conversion function
1999-07-23 19:19:56 +00:00
Gerard Patel fd0873770a Change color gray text to 128 128 128 for win9x look. 1999-07-23 19:18:37 +00:00
Noomen Hamza edd3d4afc2 MDIDestroyChild: MDI window menu item was deleted only if the current
destroyed child was active.
1999-07-20 15:03:28 +00:00
Eric Pouech f0380e573c In WIN_UpdateNCRgn, do not send in WM_NCPAINT a region that is used
afterwards, but a copy of it.
1999-07-18 18:26:58 +00:00
Lawson Whitney 9fd10756ad Stop DCE_GetVisRect dereferencing a null wndPtr. 1999-07-18 18:23:20 +00:00
Abey George 8beefb51bf Validate the parent with the child window client rectangle when the
parent's update region is not empty.
1999-07-18 15:40:03 +00:00
Francis Beaudet c37dd06f78 Delay WM_NCPAINT message until the "painter's algorithm" kicks in. 1999-07-18 15:38:29 +00:00
Ove Kaaven 483c548eed CreateDialogParamA should not call CreateDialogParamW, because
that'd create a dialog box with a Unicode dialog procedure...
1999-07-18 15:29:09 +00:00
Alexandre Julliard 4220b29be9 Take advantage of the new registers saved in the STACK16FRAME to turn
some 'register' functions into normal functions.
Removed the few remaining 'return' functions to simplify relay
handling.
1999-07-11 17:20:01 +00:00
Marcus Meissner e32a317b76 Removed the old, historical and no longer working IPC support. 1999-07-11 14:13:56 +00:00
Gerard Patel 03c13bbdd7 Revert last change in window activation on mouse click. 1999-07-11 13:52:13 +00:00
Howard Abrams 132774804e Added checks for sys/errno.h, sys/signal.h and sys/mman.h. 1999-07-10 13:16:29 +00:00
Ulrich Weigand f03c93669b Create dialog window using CreateWindowEx16/W depending on template
type, not dialog procedure type.
1999-07-10 13:08:50 +00:00
Ulrich Weigand 203780eb6e Removed all EVENT_Synchronize( FALSE ) calls; use a periodic callback
calling XFlush() instead.
1999-07-10 10:24:31 +00:00
Alexandre Julliard 359f497e97 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-07-04 16:02:24 +00:00
Noomen Hamza c01509ccc4 Windows should be activated in these cases:
1- when we click on non active window.
2- when we cancel a moving or resizing of a non active window.
1999-07-04 15:54:11 +00:00
Patrik Stridvall d96e1f133e Moved code to the X11 driver. 1999-07-04 13:31:03 +00:00
Uwe Bonnes a2b938c2d5 WIN_FindWindow: use GetExeptr(pWnd->hInstance) for CLASS_FindClassByAtom. 1999-07-04 12:52:14 +00:00
Per Ångström 53c2028b52 Fixed a problem with apps that override the default behaviour on
WM_MOUSEACTIVATE message (main window was not activated).
1999-07-04 12:46:37 +00:00
Yuxi Zhang 8e35d65f06 Fix a bug in SetWindowPos to prevent parent from erasing its child
painting area when parent window and child window don't have
WS_CLIPCHILDREN and WS_CLIPSIBLINGS.
1999-07-04 10:53:43 +00:00
Yuxi Zhang 526ffdc304 Make defwndproc erase the correct location. 1999-07-04 10:51:28 +00:00
Marcus Meissner 623c0d6f94 some small include fixes, some checks for NULL ptrs,
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +00:00
Ove Kaaven 60c78f143b Reworked nonclient drawing code. Win31 look now works more like real
Win31, so apps like Delphi 1.0 no longer go into infinite recursion
etc. Fixed a couple of bugs in win95 look too, but not as thoroughly
(e.g. WS_EX_WINDOWEDGE is still not handled).
1999-07-03 15:40:29 +00:00
Ove Kaaven 5d24a3a2b0 SM_C[XY]FRAME is BorderWidth + 1. 1999-07-03 15:39:09 +00:00
Gerard Patel 4c2a07705c Remove the validated child area from the update region of parent for
windows without WS_CLIPCHILDREN style.
1999-06-27 15:32:23 +00:00
Alexandre Julliard 617955db88 Changed CONTEXT into CONTEXT86 everywhere we really want an i386
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Lars Heete dfc46d94a6 Prevent bad window X error. 1999-06-26 11:45:36 +00:00
Abey George 967ec70fe5 The system menu icon on a MDI child window was corrupted when the
child frame window is maximized within the main frame when the wine
look is Windows 95.
1999-06-26 11:44:18 +00:00
Slava Monich 359a748d9b In case if scrollbar has the same background color as the window
it belongs to, it needs to be filled with 0x55aa bitmap brush.
1999-06-26 11:42:27 +00:00
Noomen Hamza e3e54cd4a2 SetCursorPos() function was called with a window coordinates
parameter.
1999-06-26 10:31:44 +00:00
Pascal Lessard 31c58546c9 EnableWindow doesn't release the capture of a child window. 1999-06-26 10:17:10 +00:00
Ulrich Weigand a9238080b7 Use separate service for each windows timer. 1999-06-22 19:11:33 +00:00
Eric Pouech 09f03b410e Moved to new trace interface.
Fixed driver closing.
1999-06-22 19:07:34 +00:00
Philippe Froidevaux c778d9bc85 Added Swiss french keyboard layout. 1999-06-22 19:01:14 +00:00
Alexandre Julliard 0a860a01f9 Merged THDB and TEB structures.
Made SetLastError(), GetCurrentThreadId() and PROCESS_Current() inline.
1999-06-22 11:43:42 +00:00
Alexandre Julliard 55e1af93b5 Added DebugBreak. 1999-06-18 18:24:47 +00:00
Ulrich Weigand 7f53c57321 - Do not call XConfigureWindow if SetWindowPos was called due to a
received ConfigureNotify event (to avoid recursion).
- Use XTranslateCoordinates in EVENT_GetGeometry instead of manually
  walking the tree.
- Set XSizeHint.win_gravity to StaticGravity for managed windows.
1999-06-18 17:03:13 +00:00
Ulrich Weigand a7617a05d1 Bugfix: DISPLAY_SetCursor should not use USER-internals, as it is also
used with native USER ...
1999-06-13 08:35:26 +00:00
Noomen Hamza ff0149e73b Avoid painting destroyed windows. 1999-06-12 18:29:07 +00:00