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