Gerard Patel
2b37da6792
Check if dialog is visible before setting the focus.
2000-04-23 19:57:50 +00:00
Dmitry Timoshkov
268a36e872
Removed the longstanding hack in response to WM_ACTIVATE message.
2000-04-23 19:57:21 +00:00
Stephane Lussier
4bdf4af11e
Implemented Mousewheel support.
2000-04-18 11:56:33 +00:00
Stephane Lussier
fa8b7281cd
Support switching the keyboard layout with WINE running.
2000-04-16 17:07:27 +00:00
Marcus Meissner
35870f95a0
Detypoed X11DRV_EVENT_SetInputMethod.
2000-04-14 14:09:50 +00:00
Stephane Lussier
3e731dae30
When dealing with XKB extensions, force the AltGr key mask to use the
...
group index instead of the modifier.
2000-04-14 14:09:20 +00:00
Stephane Lussier
0debf42208
Fixed AltGr key handling.
2000-04-13 16:00:08 +00:00
Alexandre Julliard
114830e8a9
Made GetProcessHeap(), GetCurrentProcessId(), GetCurrentThread() and
...
GetCurrentProcess() inline.
2000-04-11 20:01:59 +00:00
Ulrich Czekalla
2b569f6d69
MSG_ProcessKbdMsg can be called from peek, so only process when remove is set.
2000-04-11 19:37:20 +00:00
Alexandre Julliard
227a0894d4
Removed a number of global handle allocations and critical section
...
initializations.
2000-04-08 21:06:06 +00:00
Patrik Stridvall
54fe8380a1
Fixed some issues reported by winapi_check.
2000-04-06 20:21:16 +00:00
Alexandre Julliard
f64c404ea6
Fixed ttydrv compile when using curses. Cleaned up a few #ifdefs.
2000-03-30 19:26:44 +00:00
Patrik Stridvall
2d6457c11a
Added/fixed some documentation reported by winapi_check.
2000-03-28 20:22:59 +00:00
Patrik Stridvall
533d333025
- Added/fixed some documentation reported by winapi_check
...
- Renamed MapVirtualKeyEx32A to MapVirtualKeyExA
- Renamed CRTDLL__dllonexit to CRTDLL___dllinit
2000-03-28 19:31:18 +00:00
Gerard Patel
28dab87681
Activate a hidden window only when explicitely asked by the
...
application.
2000-03-26 13:38:15 +00:00
Francois Gouget
6d77d3a1df
Use min/max instead of MIN/MAX.
2000-03-25 21:44:35 +00:00
Alexandre Julliard
9a0e28f153
Fixed a couple of file descriptor leaks.
...
Always call USER signal proc in the right context.
Cleaned up THREAD_Create.
2000-03-25 19:14:37 +00:00
Alexandre Julliard
7f3418fba0
Store monitor size and depth in the generic structure.
...
Merged monitor driver into USER driver.
2000-03-25 17:30:13 +00:00
Alexandre Julliard
9383eb94a7
A few simplifications and optimizations in the x11 driver.
2000-03-25 14:05:06 +00:00
Alexandre Julliard
6ec108ab6e
Moved FatalAppExit functions to win32/except.c.
...
Added a few uses of Callout instead of referencing USER functions
directly.
2000-03-24 21:42:15 +00:00
Alexandre Julliard
b52aed4e10
Moved LoadImage and related functions to cursoricon.c.
2000-03-24 21:40:30 +00:00
Alexandre Julliard
d6c0d8642c
Moved gdi/user thunking functions into their respective dlls.
...
Moved keyboard.spec into user dll.
2000-03-24 21:38:30 +00:00
Patrik Stridvall
98fde73f14
Fixed some issues reported by winapi_check.
2000-03-24 20:43:33 +00:00
Huw D M Davies
738c06d945
Fixed copying of the MDI 'Windows' menu items if the items are not of
...
type MFT_STRING.
2000-03-24 19:49:13 +00:00
Andreas Mohr
e9f5153521
Added proper termination upon failure.
2000-03-24 19:47:35 +00:00
Rein Klazes
c18f62940d
Correct the NotifyCode in the WM_COMMAND message sent by
...
KBD_translate_accelerator().
2000-03-24 19:46:13 +00:00
Alexandre Julliard
28c3a1baf3
Moved graphics initialisation to the x11drv/ttydrv dll init code.
...
Merged event, keyboard and mouse drivers into USER driver.
2000-03-20 18:21:19 +00:00
Dimitrie O. Paun
9ad9636725
Removed most calls to xmalloc/xrealloc.
2000-03-19 14:29:50 +00:00
Andrew Lewycky
0ceb255054
Propagate IsDialogMessage to the parent if the dialog has the
...
DS_CONTROL flag.
2000-03-19 14:20:52 +00:00
Alexandre Julliard
1dac57f05f
Created separate dlls for user,gdi,ttydrv,x11drv.
...
Fixed Winelib argc handling (thanks to Eric Pouech).
2000-03-19 12:08:09 +00:00
Alexandre Julliard
9b59da0dd9
Misc small cleanups.
2000-03-18 22:25:41 +00:00
Alexandre Julliard
62f824f7cb
Avoid calling the *Rect USER functions from inside GDI.
...
Moved a few USER functions to a more appropriate location.
2000-03-18 22:12:33 +00:00
Alexandre Julliard
fe08568a0d
Moved command-line option handling out of the X11 driver.
...
Added support for "--" prefix on options.
Replaced a few X11 command-line options by wine.conf parameters.
2000-03-18 21:56:10 +00:00
Alexandre Julliard
ddce652cae
Made ddraw and dinput separate dlls.
2000-03-17 16:58:10 +00:00
Alexandre Julliard
83674ecc12
Michael Abd-El-Malek (on behalf of Corel)
...
When we were switching to another desktop, the popup windows lost
their WS_VISIBLE flag.
2000-03-15 19:48:13 +00:00
Marcus Meissner
8c45e243b0
IsRectEmpty also returns true for negative width/heights (verified
...
against Windows), found by Brad Oliver <bradman@pobox.com>.
2000-03-09 18:35:37 +00:00
Patrik Stridvall
6cc47d4924
Removed a lot of unnecessary includes and fixed the compile errors.
2000-03-08 18:26:56 +00:00
Marcus Meissner
9b84bb66ea
GetClipboardData16 might return an invalid global handle (spotted by
...
Corel).
2000-03-04 19:18:47 +00:00
Niels Kristian Bech Jensen
4eb4380360
Removed superfluous #include statements for header files included twice.
2000-02-29 22:06:06 +00:00
Ulrich Czekalla
33026a2a6e
Send WM_HELP message when F1 is pressed.
2000-02-26 19:13:44 +00:00
Alexandre Julliard
916f975624
Improved the selector get/set functions.
...
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
Lionel Ulmer
5e6d062378
- implement EnumObjects and GetProperty for Mouse and Joystick drivers
...
- implement SetDataFormat for the Mouse driver
2000-02-26 13:15:17 +00:00
Eric Pouech
2a3b0a1dad
Moved hardware related handling to dlls/winmm/joystick driver.
...
Got rid of joySendMessages() hack (now implementation with a timer).
2000-02-26 13:14:04 +00:00
James Abbatiello
1758f2d81a
Misc. fixes for compiler warnings.
2000-02-25 21:01:50 +00:00
James Abbatiello
ce829bdc8c
Better thread safety for WarpPointer hack.
2000-02-25 20:53:34 +00:00
Serge Ivanov
982ebc638f
We don't need to call LPtoDP in here as far as PatBlt does it internally.
2000-02-25 20:50:30 +00:00
Alexandre Julliard
4f15239c3a
ATOMs are considered unique, so we don't need to check class
...
pointers in FindWindow.
2000-02-25 20:45:23 +00:00
Andreas Mohr
1c20b39fa5
- fixed my slightly incorrect EndDialog patch
...
- cleaned up win.c
2000-02-20 19:17:35 +00:00
Andreas Mohr
f4185f63d0
Spelling fixes.
2000-02-20 19:17:15 +00:00
Hidenori Takeshima
8097a26372
Added Japanese jp106 and pc98x1 keyboard layout.
2000-02-20 13:43:29 +00:00
Alexandre Julliard
00377a78b7
Store config file contents in the registry so we only have to load it
...
once per session.
Replaced PROFILE_EnumerateWineIniSection by PROFILE_EnumWineIniString.
Removed a few unnecessary/unused command-line options.
2000-02-19 20:50:00 +00:00
Noomen Hamza
ff72776e55
Popup windows will be hidden when minimizing the main frame.
2000-02-18 19:11:04 +00:00
Alexandre Julliard
90476d6b4a
Moved SystemHeap allocations to the process heap.
2000-02-16 22:47:24 +00:00
Gerard Patel
6fdb5ddc0c
Do not use GlobalFindAtom with atom handles in CreateWindow* functions.
2000-02-16 21:23:24 +00:00
Ulrich Czekalla
9d2d34fbfd
Send WM_HELP message when F1 is pressed.
2000-02-16 21:22:18 +00:00
Lionel Ulmer
78e8410035
- added argument printing to stubs
...
- replaced memcmp by IsEqualGUID
- implemented GetCapabilities for Mouse and Keyboard
2000-02-14 19:55:26 +00:00
Martin Fuchs
c96dcd77f6
Display the system popup menu when clicking with the right mouse
...
button in the window caption.
2000-02-13 15:57:41 +00:00
Matthew Cline
c448c5cf53
Check that ci->hWindowMenu is not zero before using it.
2000-02-13 15:05:07 +00:00
Alexandre Julliard
b849d79104
Moved global atoms to the server (based on the work of Sergei
...
Turchanov <turchanov@otvprim.ru>).
2000-02-13 13:56:13 +00:00
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