Alexandre Julliard
b19c57ca71
Fixed reparenting to desktop (found by Gerard Patel).
2001-05-10 21:06:56 +00:00
Alexandre Julliard
e3fe9f24ce
Moved ScrollWindowEx implementation to the graphics driver.
2001-05-10 03:23:59 +00:00
Alexandre Julliard
f2d78536dc
Removed XShmCompletion event support (no longer used).
2001-05-09 19:48:32 +00:00
Alexandre Julliard
32ee168200
Use 32-bit hook functions where possible. Cleaned up a couple of
...
16-bit type uses.
2001-05-09 17:33:00 +00:00
Francois Gouget
e76218dd61
Add '\n' at the end of traces.
2001-05-09 17:31:31 +00:00
Alexandre Julliard
3abeae8f4a
Moved window move/resize syscommand handling to the graphics driver.
2001-05-09 17:21:04 +00:00
Francois Gouget
e17d1a3649
Print the tid in the first column when +tid is specified.
2001-05-08 00:13:38 +00:00
Alexandre Julliard
c6a835a63e
Remove Get/SetBeepActive from USER driver and manage it locally inside
...
SystemParametersInfo.
2001-05-05 00:49:15 +00:00
Alexandre Julliard
ee44d885a4
Make sure we recompute the visible region in DC hook.
2001-05-03 18:35:33 +00:00
Marcus Meissner
eb0ab7681c
Made checks in _get_common_ancestor a bit stricter to avoid XQueryTree
...
XErrors.
2001-04-30 18:16:51 +00:00
Patrik Stridvall
15a3b74356
Documentation name fixes.
2001-04-27 18:03:51 +00:00
Patrik Stridvall
b3086a7593
Fixed some issues found by winapi_check.
2001-04-25 19:54:21 +00:00
Alexandre Julliard
46401a2a1c
Avoid crash on deleted windows.
2001-04-25 19:53:28 +00:00
Alexandre Julliard
9ae0fe54b0
Moved most of the implementation of SetWindowPos and SetDrawable into
...
the user driver, and the corresponding code into the dlls/x11drv
directory. Moved a few functions out of the window driver into the
user driver. Plus a few related cleanups.
2001-04-24 23:28:52 +00:00
Andreas Mohr
e8db6cbcb2
- make sure that we really use the correct amount of parameters each
...
time for the callback function
- always pass strings instead of atoms to Win32 enum proc
- fix trace crash due to string format displaying of atom (LOWORD
only) handle
2001-04-20 18:35:25 +00:00
Jukka Heinonen
ac9a200515
GetAsyncKeyState now clears "has been pressed" information of only the
...
requested key instead of all keys.
2001-04-18 18:05:57 +00:00
Alexandre Julliard
d436125345
No need to preallocate DCEs since they are allocated on demand
...
anyway.
2001-04-18 17:42:36 +00:00
Gerard Patel
7a06d45fca
Do not send WM_MOUSEACTIVATE for children of desktop.
2001-04-17 17:57:20 +00:00
Andreas Mohr
577e2298d3
Preliminary support for MB_*MODAL styles.
2001-04-13 22:24:18 +00:00
Alexandre Julliard
3f03975f48
Added first/last message filters to MSG_InternalGetMessage to avoid
...
busy waits.
2001-04-12 21:09:03 +00:00
James Hatheway
4ae481e4e0
SetWindowRgn shouldn't activate the window.
2001-04-12 21:06:17 +00:00
Alexandre Julliard
c9e11394a0
Added mappings for WM_CHARTOITEM and WM_MENUCHAR messages.
...
Removed mapping of 16-bit edit messages in the generic routines.
2001-04-10 21:46:27 +00:00
Alexandre Julliard
66ffa17b10
Don't use THREAD_IdToTEB in EnumThreadWindows.
2001-04-04 18:32:14 +00:00
Alexandre Julliard
2ec34e48a3
Added TASK_GetPtr/TASK_GetCurrent functions to get the TDB for a task
...
handle.
2001-04-04 00:21:05 +00:00
Alexandre Julliard
3e7497f20e
Unified 16-bit and 32-bit scheduling a bit more.
2001-04-04 00:19:55 +00:00
Gustavo Noronha Silva (KoV)
12a7923224
Added US international keyboard.
2001-04-02 19:12:58 +00:00
James Juran
36b698fc55
Add value 106 to SystemParametersInfo.
2001-04-02 19:12:22 +00:00
Dmitry Timoshkov
dc830b5415
Get and print class name for right window in WIN_WalkWindows.
2001-03-28 18:46:08 +00:00
Alexandre Julliard
04689b26f0
Always load the 32-bit dll containing a given 16-bit builtin.
...
Check the module name in addition to the file name when loading a
16-bit builtin dll.
2001-03-28 01:47:28 +00:00
Gavriel State
4d73ba6e21
- Always use a double-buffered visual if one is available.
...
- Ensure that all colormaps created use the double-buffered visual if
it exists. This prevents problems where DRI GL implementations fail
to work unless the colormap visual matches the window visual matches the
glX visual.
- Get around similar visual issue with the default GL context created for
apps that don't create their own contexts before trying to use GL functions.
2001-03-28 01:45:08 +00:00
Alexandre Julliard
26320d1f75
Cleanup properly on x11drv unloading.
...
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +00:00
Alexandre Julliard
9515336378
Small dll separation fixes.
2001-03-23 19:13:23 +00:00
Alexandre Julliard
f88e5aa7bf
Cleaned up assumptions about WS_CHILD flag so that we can allow it to
...
be changed in SetWindowLong.
2001-03-21 23:55:36 +00:00
Eric Kohl
ca6c9a6a20
Added stubs for GetWindowsModuleFileName[A/W].
2001-03-20 01:53:51 +00:00
Ove Kaaven
e17aaa22d4
Win2000: If both WS_EX_LAYERED and WS_EX_TRANSPARENT styles are set,
...
mouse clicks should go straight through the window.
2001-03-19 19:14:22 +00:00
Guy L. Albertelli
bf89e7cdd1
Label the width and height correctly in the WINDOWPOS display.
2001-03-16 16:41:07 +00:00
Rein Klazes
fafc6fbffe
Fix Unicode/Ansi message translation for some listbox/combobox
...
messages with a zero valued lparam. Output an error when the
translation fails.
2001-03-13 23:32:45 +00:00
Gerard Patel
53cad8b77a
Unblock the dialog message loop with a WM_NULL message.
2001-03-05 19:59:50 +00:00
Dmitry Timoshkov
0c2885e194
Add DCX_CLIPSIBLINGS to flags for DCE_GetVisRgn only if window has
...
WS_CLIPSIBLINGS bit set.
2001-03-04 01:05:00 +00:00
Andreas Mohr
8c2f4b18fa
Some more message cleanups.
2001-03-03 00:22:50 +00:00
Johannes E. Schindelin
0ba5909038
Some minor changes to the German keyboard layout.
2001-02-28 21:41:17 +00:00
Dominik Strasser
0d86ffeda2
Avoid crash at end of list.
2001-02-28 21:40:19 +00:00
Francois Gouget
282f7270c1
Small 'typos in comments' fixes.
2001-02-28 05:31:02 +00:00
Alexandre Julliard
67a749999a
New set of macros for server calls; makes requests without variable
...
part somewhat faster.
2001-02-27 02:09:16 +00:00
Eric Pouech
a862f68db5
Added a few missing stubs to KERNEL32 and USER32.
2001-02-26 22:33:29 +00:00
Chris Morgan
b28e18bcc9
Replace fixme for SPI_GETWHEELSCROLLLINES with the default value of 3.
2001-02-23 01:32:22 +00:00
Aric Stewart
278dd15eb2
- We need to make sure we pay attention to if our call to
...
SetClipboardData from the X11DRV version of the function works. If not
we need to delete the global block we allocated. This is a sever memory
leak with large clipboard items.
- If an X selection it too large then X may give it to us in chunks,
we were not handling this well.
2001-02-23 01:31:47 +00:00
Alexandre Julliard
da2892c0fb
Do not allocate any USER data on the system heap.
2001-02-23 01:13:42 +00:00
Aric Stewart
096c1ae4ec
We need to give room for the null termination when translating the
...
clipboard text.
2001-02-20 01:54:08 +00:00
Aric Stewart
6c1b680b6e
Correct the codepage for the Turkish keyboard.
2001-02-16 19:06:50 +00:00
Aric Stewart
ed6a7b4ab2
Added a turkish keyboard layout.
2001-02-15 21:23:23 +00:00
Alexandre Julliard
1da348910e
Fixed WM_GETTEXTLENGTH handling.
2001-02-14 21:50:09 +00:00
François Gouget
0124576cda
Be smarter about the ellipsis in SPY_GetWndName.
2001-02-14 21:43:20 +00:00
François Gouget
4188fbcb9b
Misc typos in comments.
2001-02-14 21:43:06 +00:00
Susan Farley
5c2cbc6850
Exception for allowing the parent to set the cursor for a child wnd is
...
when the cursor is on the border of a resizable wnd.
2001-02-14 00:25:53 +00:00
Marcus Meissner
5bcef61fba
PostMessageA/W ignores messages containing pointers and returns
...
FALSE/LastError ERROR_INVALID_PAREMETER.
2001-02-13 01:48:39 +00:00
François Gouget
2c86506164
CreateIcon must perform color depth conversion if the provided bitmap
...
is not of the same depth as the screen.
Added some documentation.
2001-02-13 01:48:14 +00:00
Aric Stewart
039ae272d3
If an application directly calls SetClipboardData with CF_TEXT and
...
then later called GetClipboardData with CF_TEXT we gave them a NULL
because we where not handling this case.
2001-02-12 19:16:05 +00:00
Andreas Mohr
cd5f28bd69
Make sure that MSG_PeekMessage uses an internal variable to avoid
...
corruption.
2001-02-12 19:15:06 +00:00
Andreas Mohr
312303acaf
- move TSXGrabServer after a possible return FALSE;
...
- move misplaced comment
- optimize TSXGrabServer use
2001-02-12 18:10:27 +00:00
Dmitry Timoshkov
2b560c75f9
Remove redundant parameters from MDICreateChild and MDIDestroyChild.
...
Make the parameter names slightly more descriptive.
2001-02-12 18:09:51 +00:00
Francois Gouget
b87a83866f
Change the callback declarations to a safer format.
2001-02-12 03:51:04 +00:00
Patrik Stridvall
df75e89df5
Documentation name fixes (always use external name).
2001-02-12 03:49:07 +00:00
James Abbatiello
45edb2fcb3
Fix a few compiler warnings.
2001-02-12 03:42:58 +00:00
Dmitry Timoshkov
91adf0aa4e
Added unicode MDI client window proc.
2001-02-12 03:40:41 +00:00
Josh DuBois
2c6e3ff0d5
Fixed a char that should have been signed.
2001-02-12 03:39:34 +00:00
Ulrich Weigand
52e891d5ec
Synchronize access to MESSAGEQUEUE members.
2001-01-29 00:33:35 +00:00
Eric Pouech
982e0ce07f
Added a few missing exports.
2001-01-28 23:44:56 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Andreas Mohr
c9cf70d448
Some more cleanups.
2001-01-26 20:40:50 +00:00
Martin Pilka
d1e3245b6b
Fixed SW_RESTORE handling.
2001-01-26 20:37:48 +00:00
Dmitry Timoshkov
06e735d2ec
Replace 16-bit calls in DefWindowProc by 32-bit, preferring unicode
...
API calls.
2001-01-26 00:19:33 +00:00
Patrik Stridvall
0c61028734
Documentation ordinal fixes.
2001-01-25 22:22:21 +00:00
Gerard Patel
2f47f3d0c0
Added a few messages and notifications.
2001-01-25 21:47:12 +00:00
Susan Farley
8cc20f8f7e
Always restore the bit_gravity to BGForget after using BGNorthwest to
...
copy bits during SetWindowPos.
2001-01-25 21:46:26 +00:00
Andreas Mohr
4f565d6d6c
Only set window text for WM_NCCREATE in DefWindowProc*() in case
...
lpszName is a string (i.e. check HIWORD).
2001-01-24 19:57:04 +00:00
Alexandre Julliard
c1d35ccd9b
Use DrawFrameControl() instead of OEM bitmaps to paint caption buttons
...
and menu check marks.
2001-01-24 19:47:57 +00:00
Guy L. Albertelli
09d42ff231
- Added NMCBEENDEDIT structure for NOTIFY dump.
...
- Added dump of positioning structure for WM_WINDOWPOSCHANG{ED|ING}.
2001-01-21 21:10:48 +00:00
Alexandre Julliard
990b480a1d
Warning fix.
2001-01-20 02:51:49 +00:00
Alexandre Julliard
8bb7fb960c
Fixed a number of incompatibilities in OEM icons/cursors handling.
2001-01-20 02:48:30 +00:00
Alexandre Julliard
16cbf4022c
Store USER icons and cursors as resources instead of xpm bitmaps.
2001-01-18 20:32:01 +00:00
Josh DuBois
46fb7e0057
Make some noise in a few cases where the X11drv doesn't load, but used
...
to fail silently.
2001-01-17 21:51:07 +00:00
Alexandre Julliard
ee21c443c6
Replaced X11DRV_CritSection references by wine_tsx11_(un)lock.
2001-01-15 22:31:24 +00:00
Alexandre Julliard
8efd454067
Removed CALL_LARGE_STACK support.
2001-01-15 22:30:50 +00:00
Alexandre Julliard
d8e9a09d9b
Removed unnecessary headers.
2001-01-15 20:22:30 +00:00
Dmitry Timoshkov
aab85d72bd
Initialize MENUITEMINFO structure before calling GetMenuItemInfo.
2001-01-15 20:21:15 +00:00
Alexandre Julliard
a41b2cfdd0
Moved tweak support to USER dll. Removed tweak.h and cache.h.
2001-01-15 20:12:55 +00:00
Alexandre Julliard
7d5bc5c3f9
Removed some direct accesses to the 16-bit task structure.
2001-01-15 20:09:09 +00:00
Ulrich Weigand
e27670eac5
Fixed byteorder problems caused by non-portable code.
2001-01-11 00:52:50 +00:00
François Gouget
54300e592c
Move HDWP to winuser.h.
...
Convert HWINSTA to STRICT.
2001-01-09 20:56:06 +00:00
Dmitry Timoshkov
7ba757d728
Add missing mapping for LB_FINDSTRINGEXACT message (thanks to Gerard
...
Patel for reporting the bug).
2001-01-07 21:44:50 +00:00
Alexandre Julliard
8081e5a1e5
Added handle_t type to server interface so that we can make handles
...
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
François Gouget
d6515df871
Convert HDESK to STRICT.
2001-01-03 21:39:33 +00:00
Ove Kaaven
c90fb25c68
Turn on detectable autorepeat if the X Keyboard Extension is
...
detected.
2001-01-02 22:39:14 +00:00
François Gouget
dea3d786e4
Moved HDROP to shellapi.h.
2001-01-02 21:00:46 +00:00
Dmitry Timoshkov
97d5abcd04
"Implement" GetKBCodePage and GetKBCodePage16.
2000-12-29 19:47:53 +00:00
Ulrich Weigand
cc195924a6
Added check whether unaligned memory access is allowed.
...
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +00:00
Ove Kaaven
5079844bc6
Use the X state instead of the VK key state to check for eatable
...
characters, since the VK key state isn't a fan of AltGr.
2000-12-27 03:45:51 +00:00
Francois Gouget
345acc90fd
Updated the look of dots and dashes to match the Win32 look.
...
Issue a FIXME about PS_USERSTYLE.
2000-12-24 20:16:25 +00:00
Guy L. Albertelli
09ce5e8013
Fixed loop test for negative value.
2000-12-24 19:51:02 +00:00
Gerard Patel
9289a5dff8
Cancel a few changes to get back basic text clipboard functionality.
2000-12-22 23:26:18 +00:00
Eric Pouech
4d24e0f5a6
Replaced calls to KERNEL.Yield16 by calls to KERNEL32.K32WOWYield from
...
outside libkernel.so.
2000-12-22 23:25:47 +00:00
Joerg Mayer
2563b1b732
Warn when FindWindow needs to check other processes windows.
2000-12-22 20:29:41 +00:00
Patrik Stridvall
2ece70e77b
Various documentation fixes.
2000-12-22 01:38:01 +00:00
Alexandre Julliard
e1f3803daa
Removed the dummy mouse event in SetWindowPos.
2000-12-22 01:31:51 +00:00
Alexandre Julliard
5801723b50
Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16.
2000-12-22 01:09:26 +00:00
Eric Pouech
247a94f688
Cleaned up the code a bit.
2000-12-21 20:21:53 +00:00
Guy L. Albertelli
65a4aa4e11
- print out WM_NOTIFY message code if we know it.
...
- print out memory past end of NMHDR structure for the size of
the normal NMxxxxx structure associated with the message code.
- setup notify code table for common, REBAR, TOOLBAR, and COMBOEX (at
least partially).
2000-12-20 18:38:15 +00:00
François Gouget
44a182229b
winuser.h now requires that we include winbase.h first.
2000-12-19 04:53:20 +00:00
Gerard Patel
6e8519b128
Allow for the dialog font size to be set directly in pixels.
2000-12-18 03:11:10 +00:00
Gerard Patel
cc3e0c5d90
WM_GETMINMAXINFO track min size should be used in SetWindowPos also
...
for 32 bits apps.
2000-12-18 03:10:42 +00:00
Alexandre Julliard
ce1398e384
Avoid a couple of dependencies on input.c internal variables.
2000-12-16 20:37:16 +00:00
Gerard Patel
ef456af6e5
Don't return last active popup if it is pointing to a deleted window.
2000-12-15 21:29:13 +00:00
Alexandre Julliard
db0747d095
Removed some unnecessary includes.
...
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard
982a223f36
Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
...
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard
f6168db690
Fixed some warnings.
2000-12-13 20:03:53 +00:00
Eric Pouech
66b4468bd4
Split driver functions into USER (16 bit part) and WINMM (32 bit part).
...
Fixed some bugs in 16 bit part as well.
Now correctly parsing the system.ini extra parameters.
2000-12-13 02:07:40 +00:00
Alexandre Julliard
a67369ea00
Changed LoadImage16 to take an LPCSTR instead of a SEGPTR.
2000-12-12 00:48:06 +00:00
Alexandre Julliard
becb9a353b
Moved all Wine internal definitions out of process.h.
2000-12-11 03:48:15 +00:00
Dmitry Timoshkov
1df0d36592
Add CF_UNICODETEXT as primary text clipboard format.
...
Use [x11drv].TextCP for interchange with X.
2000-12-11 01:09:56 +00:00
Alexandre Julliard
91222da881
Moved most builtin controls structures into their respective C file.
...
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
2000-12-10 23:01:33 +00:00
Andreas Mohr
1af53cbb2a
- README update
...
- add offsets to ASPI struct defines
- spelling
2000-12-09 03:15:32 +00:00
Hidenori Takeshima
d34426903b
Added handlers for some IME messages in DefWindowProc.
2000-12-07 23:55:11 +00:00
Alexandre Julliard
9877906b26
Removed dependencies on the internals of the CLASS structure.
...
Added support for having both ASCII and Unicode window procedures for
builtin classes.
2000-12-07 23:39:16 +00:00
Alexandre Julliard
b83a16c148
Removed calls to WIDGETS_IsControl.
2000-12-07 23:24:41 +00:00
Ove Kaaven
af6b76e1a6
Use SendNotifyMessage() for WM_SYNCPAINT.
2000-12-06 19:45:22 +00:00
Dmitry Timoshkov
411e455624
Removed the code duplication.
2000-12-05 04:08:50 +00:00
Rein Klazes
0b0ccb83e1
Don't forget to map the message in WINPROC_MapMsg16To32W().
2000-12-05 04:01:34 +00:00
Ken Coleman
2743c81e77
Added a first-cut version of MapVirtualKeyExW() that has the same
...
functionality (and limitations) as the ANSI version.
2000-12-05 03:56:56 +00:00
Alexandre Julliard
9e1fda187a
Fixed WINPROC_GetPtr() to always pass the start of the block to
...
HeapValidate().
2000-12-03 03:19:45 +00:00
Dmitry Timoshkov
1e15223fb4
Added several additional to/from unicode message mappings.
2000-12-02 23:42:13 +00:00
Dimitrie O. Paun
26503fc224
Include config.h.
2000-12-02 20:11:42 +00:00
Louis Philippe Gagnon
13317c070f
- Take the mouse capture on a WM_NCRBUTTONDOWN on the caption bar,
...
release it on a WM_RBUTTONUP
- Don't send WM_CONTEXTMENU on a WM_NCRBUTTONUP
- Use parent-relative coordinates when calling NC_HandleNCHitTest
2000-12-02 00:00:51 +00:00
Patrik Stridvall
2b3aa616e8
Added/modified documentation for function arguments.
2000-12-01 23:58:28 +00:00
Alexandre Julliard
ef57e18f99
Removed some unnecessary includes.
2000-12-01 21:32:55 +00:00
Marcus Meissner
4eb44e13bc
Added the KDE 2 beta and final method of specifying systray windows.
2000-12-01 20:43:26 +00:00
Alexandre Julliard
4e2f4a9cc9
Check for NULL handle before calling HeapValidate.
2000-11-30 20:36:41 +00:00
Alexandre Julliard
4cecd4ae7d
Always initialize msg16 and wparam16 in WINPROC_MapMsg32WTo16.
2000-11-30 01:16:35 +00:00
Alexandre Julliard
e296bf3717
Renamed CallTo16* functions to wine_call_to_16* and export them from
...
kernel32.spec.
2000-11-29 19:39:30 +00:00
Andreas Mohr
94a6832b04
WM_SETTEXT should return TRUE on success.
2000-11-29 00:02:46 +00:00
Aric Stewart
b7b4fd03df
We were returning characters for various CTRL + Symbol keystrokes
...
which should not return characters.
2000-11-28 23:57:38 +00:00
Dmitry Timoshkov
5956b986d9
Slightly rearrange WIN16/WIN32A/WIN32 window creation.
2000-11-28 23:53:08 +00:00
Alexandre Julliard
24a62ab9b0
Got rid of the Wine internal lstrcpy* functions and of winestring.h.
2000-11-28 22:40:56 +00:00
Dimitrie O. Paun
529da54394
Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ;
2000-11-27 23:54:25 +00:00
Alexandre Julliard
2682bc24ca
Fixed a few dependencies on 16-bit or internal functions. Fixed a few
...
warnings.
2000-11-27 22:03:23 +00:00
Alexandre Julliard
ac7efef3b5
Changed GetProcAddress16 and 16-bit resource functions to take normal
...
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Dimitrie O. Paun
5298812be1
Make sure all files using config.h constants actually #include "config.h"
2000-11-26 04:04:21 +00:00
Ove Kaaven
bea05609a7
Check whether senderQ is NULL before trying to lock it.
2000-11-25 21:39:36 +00:00
Patrik Stridvall
024d6c50d6
Fixed some issues found by winapi_check.
2000-11-25 03:09:30 +00:00
Dmitry Timoshkov
c8ac4a2705
Fixed ToUnicode TRACE message.
2000-11-25 02:12:49 +00:00
Dmitry Timoshkov
780bb79612
Add support for national characters as accelerators in dialogs.
2000-11-25 02:10:04 +00:00
Dmitry Timoshkov
2fa0c66c1e
Always generate unicode CHAR messages.
2000-11-25 02:09:45 +00:00
Andreas Mohr
a59324db91
Cosmetics.
2000-11-25 01:40:10 +00:00
Ulrich Czekalla
58445c9abf
Allow for zero-length string selections.
2000-11-25 01:26:02 +00:00
Ove Kaaven
9811129dfd
Implemented SendNotifyMessage().
2000-11-25 01:23:50 +00:00
Alexandre Julliard
ab687979fd
Moved standard syslevel APIs declaration to winbase.h.
...
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Dmitry Timoshkov
3606dc5584
Added mapping to/from unicode for WM_CHAR, WM_DEADCHAR, WM_SYSCHAR,
...
WM_SYSDEADCHAR messages.
2000-11-15 23:13:17 +00:00
Francois Gouget
58f8f12760
SM_ARRANGE is ARW_HIDE, i.e. 8
2000-11-15 22:12:35 +00:00
Alexandre Julliard
745ec84c8b
Export the CallFrom16xxx functions from kernel32. Renamed them
...
__wine_call_from_16 to follow the naming convention.
2000-11-13 04:54:45 +00:00
Nerijus Baliunas
c4b8b266a9
Add new encodings ISO 8859-10 (cp28600), 8859-13 (cp28603), 8859-14 (cp28604),
...
8859-15 (cp28605). Add Lithuanian (Baltic) keyboard layout.
2000-11-11 00:34:32 +00:00
Aric Stewart
7ab639862b
ToUnicode: ignore CTRL+number keystrokes.
2000-11-08 04:29:42 +00:00
Dmitry Timoshkov
740bb92b5a
Added the ability to see names of the virtual key codes.
2000-11-05 20:07:59 +00:00
Francois Gouget
56b17436a1
Added comment explaining why we have an ERR rather than a WARN.
2000-11-05 03:20:02 +00:00
James Abbatiello
0ed182fffa
Cleanup SystemParametersInfo<16|A|W>.
2000-11-05 03:18:47 +00:00
James Abbatiello
077e66c27c
Fix test for pending message in QUEUE_ReceiveMessage().
2000-11-05 03:17:41 +00:00
Alexandre Julliard
2239abb9f9
Allocate DC objects on the process heap, and removed WIN_DC_INFO
...
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Alexandre Julliard
1f029ea6f5
Authors: Gerard Patel <g.patel@wanadoo.fr>, Marcus Meissner <marcus@jet.franken.de>
...
Move focus recalculation out of the window destroy recursion
so we do not send WM_SETFOCUS to already destroyed windows.
2000-11-02 20:08:59 +00:00
Marcus Meissner
9199f4a492
DrawIconEx: when flags=0 use flags=DI_NORMAL instead.
2000-11-01 21:36:35 +00:00
Alexandre Julliard
908464d448
Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
...
Various warning fixes.
2000-11-01 03:11:12 +00:00
Gabriel Garcia
a9774bead3
Added Latin American layout.
2000-11-01 01:47:39 +00:00
Francois Gouget
edf1fd7158
Fixed the value of some system colors.
2000-10-31 01:35:30 +00:00
Peter Ivanyi
1da3befe54
Added/upgraded Slovak messages, and Slovak and Czech keyboard layout.
2000-10-31 01:19:11 +00:00
Dmitry Timoshkov
75b25be6ee
Display an ERR on errors while initializing USER.
2000-10-31 01:01:41 +00:00
David Elliott
44f84b55f3
Added basic working stubs of new Windows 2000 API functions.
2000-10-29 01:24:54 +00:00
Alexandre Julliard
4c18636d4e
Use GetStockObject() instead of the magic STOCK_* handles.
2000-10-29 01:22:15 +00:00
Marcus Meissner
6f9c840ca0
Report errors on WinHelp() failures.
2000-10-29 01:17:24 +00:00
Alexandre Julliard
07d0c31c6c
Removed unused STRUCT32_NCCALCSIZE functions.
2000-10-26 21:50:59 +00:00
Dmitry Timoshkov
ef55932f4b
Ask application to reinitialize its menu before processing an
...
accelerator key.
2000-10-26 21:47:20 +00:00
Dmitry Timoshkov
b5f8b9227c
Added an another special case handling for Shift+[NumPad]DEL.
2000-10-25 21:58:48 +00:00
Dmitry Timoshkov
8a31634a00
Replaced ToAscii by ToUnicode in the User driver interface.
2000-10-25 21:34:31 +00:00
Rein Klazes
354f9826b8
In SWP_DoNCCalcSize() when determining whether the client area has
...
moved, use the client coordinates as they are: not relative to its
window coordinates.
2000-10-25 20:29:06 +00:00
Andreas Mohr
2bf380c72f
Added SPI_GETWINDOWSEXTENSION.
2000-10-25 20:28:42 +00:00
Louis Philippe Gagnon
e4ab07e0fe
- Calculate changes in the client area relative to the window
...
instead of its parent when using SWP_EX_PAINTSELF.
- With SWP_EX_PAINTSELF, copy only if client area changed, since a
window can't move relative to itself.
- In SWP_DoNCCalcSize, when determining if the client area
changed, use values relative to the window itself, not its parent.
2000-10-23 00:36:06 +00:00
Ulrich Weigand
409eb44eb0
Fixed painting problems in non-MM_TEXT modes.
2000-10-23 00:35:28 +00:00
Joerg Mayer
959d73e8dd
Reduce the number of warnings about missing initializers.
2000-10-22 23:56:32 +00:00
Guy L. Albertelli
936c6c4ea4
Added wParam and lParam as parameters in SPY_ExitMessage
...
Added dump for the STYLECHANG[ING|ED] messages.
Dump structures on exit only if message allows changes.
2000-10-22 23:52:47 +00:00
Dmitry Timoshkov
ff81f93883
Added support for AZERTY keyboard layout.
2000-10-19 22:25:35 +00:00
Ulrich Weigand
1848c808d3
Watch out for DefMDIChildProc calls on non-MDI-child windows.
2000-10-19 20:24:06 +00:00
Dmitry Timoshkov
7b0bf0f08d
Added support for keyboard input in various locales.
2000-10-17 00:31:53 +00:00
Dmitry Timoshkov
63ba91dc8e
Fixed behaviour of window's system buttons.
2000-10-15 00:22:29 +00:00
Susan Farley
557066db1c
Status bars on managed windows should not have SIZEGRIP style.
2000-10-13 17:07:08 +00:00
Francois Gouget
67c9691313
Added many missing *Pxxx types.
...
Removed a few *LPxxx types that are not supposed to be there (in
particular LPICONINFO).
Added a few missing *LPCxxx types (MENUITEMINFO, SCROLLINFO,
DLGITEMTEMPLATE).
WINHELP and PE_ACCEL are internal types.
MULTIKEYHELP and HELPWININFO both have an A and W variant.
NUMBERFMT, CURRENCYFMT and the related API belong to winnls.h.
Added missing ARW_xxx defines (for sysmetrics).
2000-10-12 23:18:55 +00:00
Stephane Lussier
6bac4f2c15
Before calling the timer window proc, make sure it is valid.
2000-09-29 00:56:05 +00:00
Alexandre Julliard
15bfcd0398
Moved $(MODULE).o rule out of Make.rules into the individual
...
Makefiles.
2000-09-29 00:28:25 +00:00
Dmitry Timoshkov
8e2643687d
If window was not resized and not moved, repaint only itself excluding
...
parent.
2000-09-27 22:26:51 +00:00
Stephane Lussier
d741850dd8
On reception of a FocusOut event, don't deactivate the application if the
...
next window to get the focus is a Wine window.
2000-09-27 00:22:00 +00:00
Alexandre Julliard
83f52d11c1
Moved all Win16 definitions out of the standard Windows headers.
2000-09-26 22:20:14 +00:00
Alexandre Julliard
60e175294b
Use documented DROPFILES structure instead of internal DROPFILESTRUCT.
2000-09-25 23:56:41 +00:00
Alexandre Julliard
d8fab2e67c
Removed some of the XXX_reg macros now that we are using the standard
...
CONTEXT86 structure everywhere.
2000-09-25 23:53:07 +00:00
Alexandre Julliard
072dfb57e3
Removed inclusion of wine/winestring.h from winbase.h and added it to
...
the C files that need it.
2000-09-25 23:30:56 +00:00
Alexandre Julliard
0ff083bab8
Call WH_GETMESSAGE hook in PeekMessage too (based on a patch by Rob
...
Farnum).
2000-09-24 19:51:15 +00:00
Gerald Pfeifer
1b490b42bf
Fixed format strings.
2000-09-24 03:05:11 +00:00
Andreas Mohr
c941effc24
Make GetTickCount not use the whole Unix epoch (since 1970) any more,
...
since that crashed several games or caused problems with them as they
aren't used to a high Windows uptime of more than 24.9 days.
2000-09-22 22:37:56 +00:00
Andreas Mohr
260f1a1def
Spelling, trace fixes.
2000-09-22 20:59:29 +00:00
Alexandre Julliard
f37e3a471b
Removed a coupld of unused functions in the Callout structure.
2000-09-16 20:58:06 +00:00
Alexandre Julliard
3993216776
Moved Select/RealizePalette implementation to USER and use
...
pfnSelect/RealizePalette function pointers in GDI.
Make sure the palette handle is valid in GDISelectPalette16 (thanks to
Uwe Bonnes).
2000-09-16 20:57:39 +00:00
Andreas Mohr
007fb24088
Added support for non-deletable system brushes and pens created by
...
USER.
2000-09-16 20:53:51 +00:00
Ulrich Weigand
a761e3dad0
Modified CallTo16Register routines to update register context after
...
call returns. Callers adapted.
2000-09-13 20:29:44 +00:00
Serge Ivanov
6117fc4165
(Merged by Marcus Meissner <marcus@jet.franken.de>)
...
Fixed problem with origin for DST_COMPLEX style.
Fixed handling of DSS_DISABLED and DSS_DEFAULT styles.
Added handling of BS_MULTILINE style, label alignment
styles (BS_RIGHT, etc.) and some exotic styles BS_FLAT (only
pushbuttons for now), and BS_PUSHLIKE.
Modified label drawing procedure: now all kinds of buttons
use common BUTTON_DrawLabel function. Actual label drawing is
performed by DrawStateW function.
GroupBox must use WM_CTLCOLORSTATIC instead of WM_CTLCOLORBTN message.
2000-09-13 00:00:55 +00:00
James Hatheway
3489997573
KDE 1.x has problems with using XShapeCombineMask when there was no
...
previous region.
2000-09-12 23:59:57 +00:00
Andreas Mohr
20cd9356a8
- fixes debugger output
...
- get rid of wrong comments
- fix comments
- .spec spelling fix
- improve warning message
2000-09-12 23:40:40 +00:00
Huw D M Davies
2f245af009
Don't try to delete a wndclass background brush if it's a COLOR_*
...
constant.
2000-09-12 23:38:33 +00:00
Mike McCormack
a2bdadec88
Make sure NC_HandleNCCalcSize returns a valid rectangle.
...
Painting fails if the rectangle is invalid.
2000-09-12 23:37:57 +00:00
Dmitry Timoshkov
10d9909e66
Unify WM_SETTEXT handling among DefWindowProc16/DefWindowProcA/DefWindowProcW.
2000-09-09 19:39:48 +00:00
Dmitry Timoshkov
73968f0bd3
Simplify a bit MDI child window creation.
2000-09-09 19:38:52 +00:00
Giovanni Pancotti
f708f548b9
Italian keyboard fixes.
2000-09-07 21:04:06 +00:00
Alexandre Julliard
a1ce916171
Serge Ivanov
...
Delay destroying menu entry until all messages are sent.
2000-09-06 19:40:07 +00:00
Mike McCormack
88c5bc6eee
Added missing comma.
2000-09-04 20:19:27 +00:00
Alexandre Julliard
60cf612b59
Henning Hoffmann
...
Augment menu when a mdi window starts maximized.
2000-09-01 01:24:19 +00:00
Alexandre Julliard
bd616cb02e
Francis Beaudet
...
MDI Patch which fixes problems in PR, QP, WP and Paradox.
2000-09-01 01:23:03 +00:00
Alexandre Julliard
9c2370bd75
Added exception handling wrapper to a number of server requests.
...
Changed a few requests to use the new vararg mechanism.
2000-08-30 00:00:48 +00:00
Andreas Mohr
5e7fa021ef
- fix one locking ignorant return 0; in MSG_SendMessageInterThread()
...
- fix a crash in QUEUE_RemoveSMSG()
- convert some queue WARN() to ERR()
- spaileng fikses
2000-08-29 03:52:46 +00:00
Francois Methot
bd1908f04c
Do not check for system menu if the window has style WS_EX_TOOL_WINDOW.
2000-08-28 21:31:23 +00:00
Andreas Mohr
349655636b
- made the MIDI sequencer error message much better for confused users
...
to be found on #WineHQ
- use strerror instead of errno at important places
- got rid of HAVE_STRERROR macro
- removed some #include:s (hopefully I didn't break anything)
2000-08-26 20:31:48 +00:00
Alexandre Julliard
f681cd091e
Fixed RegisterClass last error code on atom creation failure.
2000-08-23 19:18:44 +00:00
Gerard Patel
f314e5e76b
Disable the owner of a modal dialog box just before creating the
...
dialog window.
2000-08-21 03:31:39 +00:00
Gerard Patel
eaa28e5f06
Handle the LB_GETTEXT and CB_GETLBTEXT cases for 32W to 16 mapping.
2000-08-21 02:38:40 +00:00
Gerard Patel
7d0968e03b
Enables showing of hidden windows when the app ask *only* to maximize it.
2000-08-21 02:38:23 +00:00
Louis Philippe Gagnon
06057e7aac
- Separate application calls to ShowOwnedPopups from Wine calls (in
...
EVENT_MapNotify) by introducing an internal function.
- Fix ShowOwnedPopups so it sends messages with the same parameters as
in Windows.
2000-08-20 03:40:59 +00:00
Alexandre Julliard
2a2321bbca
Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
...
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38:55 +00:00
Gerard Patel
e3bd8d0adf
Turns the handling to pure 16 bits, remove references to dialog.h.
2000-08-18 23:05:44 +00:00
Peter Ganten
553e3c98d1
Threads without active or focus window should not receive keyboard
...
messages.
2000-08-14 20:53:00 +00:00
Dmitry Timoshkov
9b1e1dc4c5
Add "FullWindowDrag" feature for not managed windows.
2000-08-14 17:20:25 +00:00
Alexandre Julliard
c7e7df8b17
Replaced all lstr* calls from inside Wine code by their str* equivalent.
2000-08-14 14:41:19 +00:00
Alexandre Julliard
d586dc99be
Replaced VERSION_* calls by exported API equivalents.
2000-08-14 14:35:01 +00:00
Alexandre Julliard
a509af8a3c
Removed to allow CVS to remove the directory.
2000-08-14 13:27:00 +00:00
Stephane Lussier
1a1bd1aa16
Instead of not doing the Z ordering when the application asks to place
...
the window under a zero-sized window, now the window above the
zero-sized window, is used to do the Z ordering.
2000-08-11 00:40:38 +00:00
Alexandre Julliard
42d20f9dca
Merged clipboard driver into USER driver.
...
Moved all ttydrv source files to dlls/ttydrv.
Load functions pointer for the USER driver from the graphics driver
dll with GetProcAddress.
2000-08-10 01:16:19 +00:00
Alexandre Julliard
5ab9d860f2
Removed some unnecessary #includes and dll dependencies.
2000-08-09 22:35:05 +00:00
Alexandre Julliard
6113975a1e
Moved struct32.c to windows directory.
2000-08-09 00:38:18 +00:00
Huw D M Davies
b00c0124b9
WINPOS_WindowFromPoint should respect hrgnWnd.
2000-08-07 17:10:39 +00:00
Marcus Meissner
64c86ffe66
Removed local variable shadows warnings.
2000-08-07 04:16:43 +00:00
Stephane Lussier
3b6c5dce1e
Top level windows with 0 width or height are created with a size of 1x1 in
...
the X11 driver. I've added some code to make sure those windows are never
mapped while the size <= 0.
2000-08-06 03:35:24 +00:00
Alexandre Julliard
cb10fdab99
Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
...
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard
93652e1a68
Moved a bunch of functions out of libwine/kernel/gdi into USER.
2000-08-04 04:21:02 +00:00
Alexandre Julliard
b0efe28f6c
Removed a few dependencies on GDI internals from USER dll.
2000-08-04 04:18:04 +00:00
Jean-Claude Batista
083a28fec3
Provide position hints for window managers.
2000-08-01 00:18:56 +00:00
Alexandre Julliard
646c562f9c
Cleaned up some more USER dependencies.
2000-07-31 23:32:47 +00:00
Alexandre Julliard
6b141176be
Moved toolhelp implementation into kernel32 dll.
2000-07-31 21:01:05 +00:00
Alexandre Julliard
946a4448af
Cleaned up a few USER dependencies.
2000-07-30 13:50:27 +00:00
Huw D M Davies
a14ca868d0
Initialize hrgnWnd.
2000-07-29 11:31:29 +00:00
Francois Boisvert
5538ec4661
NC_DoNCHitTest now returns HTNOWHERE like Windows is doing when
...
clicking on a window having a customize non client area.
2000-07-29 00:00:29 +00:00
Francois Jacques
5b6879c5c0
- implementation of SetWindowsRgn and GetWindowRgn
...
- X11DRV and TTYDRV updated with new API SetWindowRgn
2000-07-28 23:04:54 +00:00
Stephane Lussier
09be9d0d14
Now the service thread is no more in charge of erasing the background
...
of the Window. Service thread is doing the invalidation part, and the
application thread is doing the erasing part. All this has been
implemented using WM_SYNCPAINT message.
2000-07-28 22:21:19 +00:00
Dmitry Timoshkov
d650c46c85
Do not crash if window was not found.
2000-07-28 20:20:03 +00:00
Stephane Lussier
52146f62fd
- UpdateWindow should refresh all children that have an update region.
...
- In DIALOG_CreateIndirect UpdateWindow shouldn't be called. Wine will generate
a WM_PAINT eventually for the dialog, no need to force a paint right away.
(based on a patch from James Hatheway in the Corel tree)
2000-07-28 20:19:37 +00:00
Ove Kaaven
a5bb5ea2c3
Always get a hardware message from the system queue in PeekMessage,
...
even if no such wake bits are set, because in a PeekMessage loop,
there's no sleeping, so the necessary wake bits are never set...
2000-07-28 20:17:54 +00:00
Eric Pouech
731e9f5309
- removed (now obsolete) driver.h file (it's content is now in mmsystem.h)
...
- upgraded vfw.h content
2000-07-26 18:07:04 +00:00
Susan Farley
f2355e0f15
Don't destroy the caret on SWP_HIDEWINDOW.
2000-07-25 20:59:03 +00:00
Ove Kaaven
c27b6cf944
DefWindowProc should pass unhandled WM_MOUSEWHEEL to parent, according
...
to documentation.
2000-07-23 13:32:21 +00:00
Alexandre Julliard
d51ee843c5
Added assembly wrapper for calling window procedures.
2000-07-16 20:29:44 +00:00
Andreas Mohr
2caee712a2
Spelling fixes.
2000-07-16 15:44:22 +00:00
Raul Fernandes
9ed48c6af9
Added Brazilian keyboard.
2000-07-16 15:40:29 +00:00
John R . Sheets
278b3bcdbc
We also have to validate the frame to avoid an infinite loop when the
...
app doesn't call BeginPaint.
2000-07-15 21:31:01 +00:00
Jean-Claude Batista
69d39ab023
Ensure the validity of hOldFocus before calling WIN_GetTopParent.
2000-07-15 19:44:04 +00:00
Gerard Patel
72b93d47f0
Allow SetWindowLong(... GWL_STYLE) to change visible bit.
2000-07-15 19:42:52 +00:00
Peter Ganten
ae3716d690
Stubs for CreateDesktopA and EnumDesktopWindows.
2000-07-15 15:13:56 +00:00
Dmitry Timoshkov
04da8b8f28
Convert WND.text field to Unicode.
...
Add new key to wine.ini in the section [x11drv] - TextCP, which means
code page used for texts passed to X.
Accordingly fix handlers of WM_SETTEXT/WM_GETTEXT.
2000-07-10 12:09:31 +00:00
Marcus Meissner
521c0e4afa
Stub for RegisterDeviceNotificationA.
2000-07-10 10:58:16 +00:00
Noomen Hamza
1040eaf747
GetClassInfo should return global classes even if the hInstance
...
parameter is different from the one passed to the RegisterClass
function.
2000-07-09 12:21:07 +00:00
Dave Hawkes
dbb6ab2261
GetIconInfo did no correctly identify icons from cursors.
2000-07-09 12:16:58 +00:00
Haithem Hmida
fa861c2dd7
Under Windows 95/98/NT, message boxes do not have a default icon.
2000-07-09 12:16:36 +00:00
Susan Farley
b3f8a6390f
Check for WS_DISABLED parent in WindowFromPoint for un-managed windows.
2000-07-08 18:28:25 +00:00
Slava Monich
e6dd5d1cad
Check the value returned by DIALOG_GetCharSize.
2000-07-08 18:27:24 +00:00
Bradley Baetz
a1491dea90
Implemented a large number of the msvideo dll routines.
2000-07-08 12:50:26 +00:00
Slava Monich
cdbe644f77
BeginDeferWindowPos should allow zero count.
2000-07-08 12:44:09 +00:00
Lawson Whitney
68dd679043
Moved zero-sized window hack to x11drv.
2000-06-25 12:53:27 +00:00
Andreas Mohr
1f0c216e8f
Implemented/stubbed IconSize() and ControlPanelInfo() needed for Win
...
2.0 control.exe and paint.exe.
2000-06-24 12:54:00 +00:00
Francois Gouget
326e2ba5a1
Added some missing prototypes.
...
Define the HDRAWDIB handle type.
2000-06-18 17:26:44 +00:00
James Hatheway
9fa09e7ecb
We must return the atom of the class in GetClassInfoEx instead of just
...
TRUE.
2000-06-18 17:19:38 +00:00
David Lassonde
f58d80d17f
Implemented the More Windows... menu item for MDI.
2000-06-15 01:03:32 +00:00
Sheri Steeves
a4b73d43cd
Check again for GetNextDlgTabItem after return from WM_INITDIALOG
...
message in dialog creation.
2000-06-15 01:00:42 +00:00
Noomen Hamza
fbd0d25cf8
Added a NULL pointer check within DCE_AddClipRects function.
2000-06-15 00:12:12 +00:00
Sheri Steeves
bd59d233f4
Added setting of cursor postition to MSG_PostToQueue.
2000-06-15 00:09:04 +00:00
Noomen Hamza
6effb2304b
Made SetWindowPos handle the case when inserting a window after itself
...
(don't need to change the Zorder).
2000-06-14 21:16:18 +00:00
Gerard Patel
e908fd3865
Do not change the WS_CHILD style in SetParent.
2000-06-13 03:35:36 +00:00
Turchanov Sergei
d0018bd547
DGA compile fix.
2000-06-08 19:21:06 +00:00
Alexandre Julliard
2b5d564e63
Merged mouse dll into USER.
2000-06-08 04:57:22 +00:00
Alexandre Julliard
6aa2843fa9
Yet another attempt at fixing CW_USEDEFAULT handling.
2000-06-08 01:01:09 +00:00
Alexandre Julliard
b4c68726d9
Louis-Philippe Gagnon (of Macadamian for Corel)
...
Search for already loaded CursorIcon was done with the wrong handle,
so it was leaking icons. Fixed.
2000-06-08 00:39:16 +00:00
Serge Ivanov
71b1246638
Well, SetParent doesn't work properly at all, but at least it must preserve
...
window ID. In fact it also must preserve window styles, destroy X
counterpart if parent of popup or overlapped window is set to someting
different from Desktop, and lot of other stuff that it must and mustn't do.
But preserving ID is good enough for now.
2000-06-07 03:46:14 +00:00
Alexandre Julliard
5e9dab58da
The window dimensions have to be initialized before sending the
...
WM_GETMINMAXINFO message.
2000-06-07 02:03:19 +00:00
Alexandre Julliard
eac0e1837c
Removed MSG_WineStartTicks (does not work for multiple address spaces
...
anyway).
2000-06-03 20:46:53 +00:00
Alexandre Julliard
a660c7903f
Moved DIB_FixColorsToLoadflags to cursoricon.c.
2000-06-03 20:45:20 +00:00
Alexandre Julliard
2d8cf500c3
Merged display.dll into USER.
2000-06-03 04:20:19 +00:00
Susan Farley
8037389c49
Preserve WM hints that were set during window creation by calling
...
XGetWMHints prior to XSetWMHints.
2000-06-02 20:36:29 +00:00
Andreas Mohr
2e011a5243
Lots of spelling fixes that accumulated in my tree again, made several
...
error msgs more verbose, doc updates.
2000-06-01 23:28:25 +00:00
Gerard Patel
78f52b5681
Set a default size for windows when CW_USEDEFAULT is used.
2000-05-31 19:23:20 +00:00
Zoran Dzelajlija
846880b7e6
Basic Croatian language support.
2000-05-30 20:50:45 +00:00
Alexandre Julliard
c5e433a3a6
Moved idle event handling to the server.
2000-05-30 19:48:18 +00:00
Alexandre Julliard
9baa51e1c0
Use GetStartupInfoA() instead of accessing process structure
...
directly.
2000-05-30 19:46:58 +00:00
Alexandre Julliard
b8774f95e5
Serge Ivanov
...
SetParent: call SetWindowPos with SWP_NOACTIVATE flag set.
2000-05-30 17:50:41 +00:00
Alexandre Julliard
c192ba2468
Exec a separate wine binary for every win32 process so that they run
...
in separate address spaces.
Run 16-bit tasks as Win32 threads, not processes.
2000-05-29 21:25:10 +00:00
Alexandre Julliard
557d8af5d0
Send a normal mouse message code in WM_PARENTNOTIFY, even if the
...
actual message was a non-client one.
2000-05-23 23:43:02 +00:00
Susan Farley
9ce8382ea0
Set and retrieve the window icon that is drawn under managed mode
...
(based on the work of Andrew Lewycky for Corel).
2000-05-23 04:12:23 +00:00
Alexandre Julliard
16e9237a8c
Francois Boisvert
...
System icons in the small caption bars are displayed with the right size.
2000-05-18 00:12:23 +00:00
Chris Morgan
362196445e
Fixed borders of windows while dragging or sizing to match
...
TWEAK_WineLook setting.
2000-05-14 23:43:29 +00:00
Patrik Stridvall
b905023c74
Fixed some debug messages.
2000-05-11 21:48:28 +00:00
Ove Kaaven
fc63491d6c
Scroll off-screen controls when scroll rectangle is NULL.
2000-05-11 21:41:15 +00:00
Guy Albertelli
38db0980c5
Clear menu handle after destroying menu.
2000-05-11 00:06:38 +00:00
Bernd Herd
5b60bf0294
Pass CTLDATA as SEGPTR for 16-bit programs.
2000-05-11 00:05:22 +00:00
Guy L. Albertelli
c0504ca5f6
Verify the menu handle is non-zero prior to use.
2000-05-10 21:39:00 +00:00
Alexandre Julliard
8c8237b756
Specify the service thread timers in ms instead of us.
2000-05-10 04:43:32 +00:00
Alexandre Julliard
2de84c9bfa
Do not send WM_SIZING to 16-bit windows.
2000-05-07 18:41:59 +00:00
Alexandre Julliard
680919c2e6
Moved Load/FreeLibrary16 definition to winbase16.h.
2000-05-07 18:39:28 +00:00
Gerard Patel
a2e1b412cf
Always calls SetMenu in MDISetMenu.
2000-05-07 18:25:33 +00:00
Aric Stewart
44675508a5
Added WM_SIZING message support.
2000-05-05 18:28:10 +00:00
Alexandre Julliard
5b4f3e8d6d
Rewrote Unix process launching to allow passing startup information to
...
Winelib apps. Improved handling of execve() failures.
2000-05-01 16:24:22 +00:00
Gerard Patel
32bf62e45a
X11DRV_SetFocus: really don't mess with focus for managed windows.
2000-04-30 12:35:32 +00:00
Dimitrie O. Paun
4d48dd3048
Removed HEAP_xalloc.
2000-04-30 12:22:18 +00:00
Eric Pouech
12222f0d54
Fixed a few compilation warnings.
2000-04-29 14:29:41 +00:00
Dimitrie O. Paun
abdbced4fd
Removed some HEAP_xalloc calls.
2000-04-29 14:20:28 +00:00
Rein Klazes
ba2c8d49f5
WinHelp must accept a NULL pointer to the help key string.
2000-04-29 14:15:11 +00:00
Chris Morgan
3f13c7a951
Added default values for SPI_GETMOUSEHOVERHEIGHT, SPI_GETMOUSEHOVERWIDTH and
...
SPI_GETMOUSEHOVERTIME to SystemParametersInfo16().
2000-04-28 14:44:57 +00:00
Patrik Stridvall
3d511617f4
Removed X_DISPLAY_MISSING.
2000-04-25 19:55:35 +00:00
Rein Klazes
8a0808fa92
Make RDW_ValidateParent() modify the update region of all parents, not
...
just the direct parent.
2000-04-23 20:39:09 +00:00
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
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