Commit Graph

948 Commits

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