Commit Graph

604 Commits

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