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