Commit Graph

687 Commits (81ee21ddff20e337791fd704fc9adc39699de479)

Author SHA1 Message Date
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