Commit Graph

373 Commits

Author SHA1 Message Date
Stefan Leichter 9b478283c5 user32: Add some tests for GetMouseMovePointsEx. 2008-02-19 20:24:12 +01:00
Bang Jun-young 9fcebb0055 user32: Fix EndMenu() to match the PSDK. 2008-02-04 14:18:20 +01:00
Alexandre Julliard cbdf1294e6 winex11: Export a function to dock a window into the system tray, and get rid of the WS_EX_TRAYWINDOW style. 2008-01-23 21:40:45 +01:00
Reece H. Dunn 2641f8192e include: Added the new Vista messages. 2007-12-26 14:01:49 +01:00
Rob Shearman 3c8663b7e9 include: Add definitions used for AllowSetForegroundWindow and LockSetForegroundWindow. 2007-11-19 13:00:06 +01:00
Alexandre Julliard 919e32c034 include: Add WINUSERAPI to the exported user32 functions. 2007-11-07 12:26:29 +01:00
Alexandre Julliard 113e40c28f include: Moved AttachThreadInput prototype to winuser.h where it belongs. 2007-11-06 19:57:18 +01:00
Francois Gouget 1a75b5d49c user32: Fix the HRAWINPUT definition and the GetRawInputData() prototype. Update win32.api to fix the winapi_check warnings. 2007-10-15 14:06:35 +02:00
L. Rahyen 43601c282b user32: Implement initial stubs for all raw input functions. 2007-09-25 14:18:40 +02:00
Dmitry Timoshkov 3407307a50 winex11.drv: Use symbolic names for MapVirtualKey translation types. 2007-09-18 11:15:01 +02:00
Alexandre Julliard c4245a7fb6 user32: Fixed the return value of DispatchMessageA/W. 2007-08-07 17:45:10 +02:00
Dmitry Timoshkov 648f7b1d9f winuser.h: Add RealChildWindowFromPoint declaration. 2007-07-20 11:34:27 +02:00
Alexandre Julliard 41db95323d include: Add some definitions for manifest resources. 2007-07-10 22:37:42 +02:00
Andrew Talbot 3ad92b0c25 user32: Replace const pointer parameters with correct pointers to const. 2007-03-06 22:26:46 +01:00
Kovács András a55b005fe4 winuser.h: Declare some raw input related structures. 2007-02-19 13:34:11 +01:00
Kevin Koltzau 00ad155a40 winuser.h: Add some HSHELL and APPCOMMAND defines. 2006-11-27 13:43:29 +01:00
Kevin Koltzau baaefe9783 winuser.h: Define browser and multimedia keys. 2006-11-27 13:43:25 +01:00
Francois Gouget eab56a5abd include: The PSDK headers don't define WM_SYSTIMER so we shouldn't either. 2006-11-09 14:33:13 +01:00
Francois Gouget a7f8195be9 include: The PSDK does not have the A/W variants of MAKEINTATOM() so we should not either. 2006-11-08 12:10:26 +01:00
Francois Gouget b1602267f0 user32/include: Don't define the window and control styles if NOWINSTYLES is set. 2006-11-08 11:43:43 +01:00
Francois Gouget 0996980595 user32/include: Don't define the OBM_*, OCR_* and OIC_* macros unless OEMRESOURCE is defined. 2006-11-07 17:05:41 +01:00
Jesse Allen 4087669a4a include: Fix out of place comment for DLGC_* codes. 2006-10-19 13:35:26 +02:00
Dmitry Timoshkov a58a9f5212 user: Add some missing messages to the message spy. 2006-10-11 12:09:28 +02:00
Francois Gouget 5c0a8a14a7 include: Add new Vista SDK constants and structures. 2006-10-05 17:34:50 +02:00
Oleg Krylov dd6e2b361d user: Fix CopyImage function declaration. 2006-10-03 15:55:30 +02:00
Nicolas Delcros 1492950c8e winuser.h: Fix PROPENUMPROCEXA/W types declarations. 2006-09-26 21:50:27 +02:00
Vijay Kiran Kamuju a97680751a include: Add some missing definitions in winuser.h. 2006-09-20 12:24:05 +02:00
Dmitry Timoshkov b2686ad2dd include: Move appropriate parts of winpos.h to winuser.h and win.h,
remove winpos.h afterwards.
2006-06-29 14:48:42 +02:00
Choe Hwanjin 03cc51abde winuser.h: Add some missing virtual key symbols. 2006-06-14 12:47:06 +02:00
Andrew Ziem 60d5f80837 include: Add SETWALLPAPER_DEFAULT to winuser.h. 2006-06-07 11:48:08 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Huw Davies a3ec0a9466 include: Add DFC_POPUPMENU. 2006-03-30 12:41:14 +02:00
Troy Rollo 8818880b43 user: Fix argument type of IsDlgButtonChecked. 2006-02-14 11:38:15 +01:00
Troy Rollo d07448dd3a user: Fix argument type for EnableScrollBar. 2006-02-14 11:37:57 +01:00
Troy Rollo 0fbd861bdd user: Fix argument types for CheckRadioButton. 2006-02-14 11:37:20 +01:00
Troy Rollo 99020f8001 user: Fix return type and argument type for GetDlgItemText{A,W}. 2006-02-14 11:36:49 +01:00
Francois Gouget 5e3c00fae6 winuser.h: Add missing *LayeredWindow*() prototypes. 2006-02-08 15:27:49 +01:00
Troy Rollo b7652d89db user: Fix return type of EnableMenuItem. 2006-01-10 12:08:48 +01:00
Peter Lemenkov 724981bf60 Added WS_EX_COMPOSITED. 2005-11-30 19:48:44 +01:00
Lionel Ulmer 5ae22b8021 Add 'ENUM_...._SETTINGS' flag and make use of it in the X11DRV code. 2005-11-02 10:54:42 +00:00
Dmitry Timoshkov 26b40c296f Add some missing USER definitions, add a couple of FIXMEs for not
implemented features.
2005-10-27 18:28:23 +00:00
Huw Davies 1d34b3a99c EnumDisplayDevices and GetMonitorInfo should return the same device
name for the primary device.
Make both EnumDisplayDevicesA and GetMonitorInfoA call their unicode
counterparts.
Update prototype of EnumDisplayDevices.
Add some tests.
2005-09-28 10:17:13 +00:00
Ivan Leo Puoti 8ec81f16fc Added a missing define. 2005-09-12 12:10:39 +00:00
Jacek Caban f4c4092fb5 Fix RegisterWindowMessage declaration and improve debug message. 2005-08-22 09:15:55 +00:00
Alexandre Julliard c8c3bf3c53 Sort the SPI_* constants and remove some duplicates. 2005-07-15 11:44:36 +00:00
Frank Richter 9590159718 Add missing DC_GRADIENT and DC_BUTTONS, as used by DrawCaption. 2005-07-06 15:43:38 +00:00
Hans Leidekker 4f27582cc8 Stub implementation for GetMenuBarInfo. 2005-06-20 11:45:21 +00:00
Robert Shearman 57b5615fc2 Implement GetComboBoxInfo and CB_GETCOMBOBOXINFO. 2005-06-15 10:23:54 +00:00
Mike McCormack 5e62bd0b0c Declare some missing functions. 2005-06-13 10:04:20 +00:00
Alexandre Julliard 1bf96e09a9 Beginnings of support for window stations and desktops. 2005-06-08 18:44:50 +00:00
Vitaliy Margolen a8b541e24d Match names for WM_SHOWWINDOW status codes to MSDN. 2005-06-05 18:15:27 +00:00
Dimi Paun 49a06a24fc Add definitions for IDTRYAGAIN and IDCONTINUE. 2005-06-01 19:50:07 +00:00
Michael Stefaniuc d5e8a65f96 Add some SystemParametersInfo SPI_* defines. 2005-05-16 08:45:15 +00:00
Michael Lin c3caaea21d Define WINUSERAPI. 2005-04-14 11:32:28 +00:00
Kevin Koltzau f4767f1424 Added full support for xbuttons (side mouse buttons). 2005-03-24 19:15:41 +00:00
Maxime Bellengé cbd3a53d4b Implemented MIIM_BITMAP state.
Handle MNS_CHECKORBMP style.
2005-03-09 12:39:01 +00:00
Vincent Béron ed2aa10349 Add a definition for OpenInputDesktop().
Add constants for PBT_APM* parameters.
2005-02-21 20:40:13 +00:00
Vincent Béron e3a1858f36 Add LWA_ constants, used in {S/G}LayeredWindowAttributes(). 2005-02-21 18:35:39 +00:00
Dmitry Timoshkov 39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Mike McCormack 0fba748f2a Add some more SPI values. 2005-02-15 15:43:43 +00:00
Alexandre Julliard d7726c3a73 Store the "managed" flag as a window property instead of the
Wine-specific WS_EX_MANAGED style bit.
2005-02-01 18:53:59 +00:00
Dmitry Timoshkov 8af3e67e29 Add WM_GETOBJECT definition, remove WM_OTHERWINDOWCREATED define. 2005-01-14 15:14:41 +00:00
Vitaly Lipatov 386cf457c9 Added handling of SBM_GETSCROLLBARINFO message. 2005-01-09 16:35:41 +00:00
Hans Leidekker c730eec6e1 Stub implementations for GetAltTabInfo{A,W}.
Forward GetAltTabInfo to GetAltTabInfoA.
2005-01-03 17:02:34 +00:00
Mike McCormack a751dd3daf Declare SetLayeredWindowAttributes. 2004-12-23 11:23:18 +00:00
Mike McCormack 42d55786b9 Stub implementation for GetLastInputInfo. 2004-12-08 19:41:36 +00:00
Rémi Assailly 3e108badc3 Added two missing styles. 2004-12-06 16:13:04 +00:00
Dmitry Timoshkov d7e56cffd0 Gather all DrawText flags together, convert them to hex for
readability.
2004-11-30 17:22:47 +00:00
Eric Frias 958f4c643e More portable POINTSTOPOINT macro. 2004-11-24 18:36:13 +00:00
Rémi Assailly e21f7c2a21 Added some structure tags. 2004-11-19 18:01:29 +00:00
Rémi Assailly 327ad5f298 Add some structure tags. 2004-11-08 20:24:02 +00:00
William Poetra Yoga H a773f43f9c Add COLOR_MENUHILIGHT and COLOR_MENUBAR to the system colors. 2004-11-01 21:06:06 +00:00
Dmitry Timoshkov 1b17b258ac Add proper prototypes for GetClassLongPtrA/W for _WIN64 case. 2004-10-27 21:17:06 +00:00
Alexandre Julliard d3c0cb77d9 VK_0-9 and VK_A-Z are not defined in the Windows headers, removed them
(spotted by Francois Gouget).
2004-10-22 20:29:10 +00:00
Juan Lang 9cbc42bbae - the correct registry location to override is User Shell Folders, not
Shell Folders
- if User Shell Folders doesn't exist in HKCU, HKLM should be tried
- SHGetSpecialFolderPath should call SHGetFolderPath, not vice-versa
- the default values should be localizable
- some of the parameter checking and returned LPITEMIDLISTs were a bit
  off
2004-10-21 19:59:46 +00:00
Dimitrie O. Paun 134560e9e5 Implement LBS_COMBOBOX, and make use of it.
Better separation between the Listbox and Combobox.
Have a single set of wndprocs, just like Windows.
2004-10-18 21:22:44 +00:00
William Poetra Yoga Hadisoesen 283267dfdf Added some system metrics definitions. 2004-10-18 19:34:23 +00:00
Robert Shearman 5ec458fd41 Add declarations for GetClassLongPtr{A,W}, GCLP_* defines and user
object information defines.
2004-10-14 00:25:15 +00:00
Francois Gouget d921c5d493 Add some reason codes for ExitWindowsEx().
Also add EWX_FORCEIFHUNG.
2004-10-08 20:50:06 +00:00
Jon Griffiths fc1f31a92e Add missing ODS_ constants, tagname. 2004-10-07 17:34:16 +00:00
Dmitry Timoshkov 39453f5121 Add prototypes for GetWindowLongPtr/SetWindowLongPtr. 2004-10-06 18:52:01 +00:00
Richard Cohen 52373b2df3 MenuItemFromPoint shouldn't crash if there's no menu. 2004-09-24 00:22:13 +00:00
Robert Shearman 07519aa1d0 Don't define GWL_USERDATA, GWL_ID, GWL_HWNDPARENT, GWL_HINSTANCE and
GWL_WNDPROC when compiling the Wine source.
2004-09-23 22:54:58 +00:00
Jon Griffiths 39bbcb48b6 Use correct tag names for compatability with fwd decls.
Some old code checks that _WINDEF_ is defined in windef.h.
2004-09-20 19:13:16 +00:00
Mike McCormack 2b5322c7e9 Define a couple more SPI_ constants. 2004-08-27 19:12:12 +00:00
Jon Griffiths 7d12892731 Correct tag names for RECTL and SCROLLINFO structs. 2004-06-25 01:18:10 +00:00
Andreas Mohr 64d7e24028 Added some missing static control styles. 2004-06-17 19:54:17 +00:00
Andreas Mohr f32a105376 Additional KLF_xxx defines. 2004-06-03 23:20:16 +00:00
Mike McCormack cb308327a4 Define flags for GetUserObjectInformation. 2004-03-25 05:29:22 +00:00
Kevin Koltzau 80d8cc36b4 Define SPI_* values introduced in XP. 2004-02-19 01:10:34 +00:00
Alexandre Julliard e8283089cb Get rid of no longer needed WINE_PACKED define. 2004-01-09 22:18:49 +00:00
Kevin Koltzau cc09196356 Implemented GetTitleBarInfo. 2003-12-08 23:46:29 +00:00
Alexandre Julliard 631dba5069 Added CS_DROPSHADOW. 2003-12-08 22:02:33 +00:00
Alexandre Julliard e267311e93 Fixed WINELIB_NAME_AW typo (thanks to Robert Shearman).
Removed extra BroadcastSystemMessage prototype.
2003-11-26 05:22:42 +00:00
Kevin Koltzau 358fff8142 Implement the TME_NONCLIENT flag in TrackMouseEvent to handle
nonclient hover/ leave events.
2003-11-26 05:06:59 +00:00
Alexandre Julliard b7976c00a0 Fixed declarations of BroadcastSystemMessage and TranslateAccelerator
in winuser.h. Added GetWindowModuleFileName.
2003-11-26 04:09:00 +00:00
Dmitry Timoshkov b0c2e54a03 Add preliminary support for keyboard layout APIs. 2003-11-14 03:32:43 +00:00
Kevin Koltzau 7ee18df7c0 Added tmschema.h and some other theme defines. 2003-10-03 03:33:15 +00:00
Dmitry Timoshkov 2999165c83 Implemented RealGetWindowClass. 2003-09-27 03:47:07 +00:00
Juraj Hercek 9d481e32a0 Added SS_ENDELLIPSIS. 2003-09-23 22:57:20 +00:00
Alexandre Julliard 1084a8ba93 Moved out of windef.h a few definitions that don't belong there
(reported by Filip Navara).
2003-09-17 04:31:27 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Martin Fuchs 48ff7d1e23 Define ICON_SMALL2 and ShowWindowAsync(). 2003-09-01 23:54:55 +00:00
Dimitrie O. Paun 53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Mike McCormack 0e27c979a6 Stub implementation of FlashWindowEx. 2003-08-12 20:33:26 +00:00
Dimitrie O. Paun 0d14cae465 Add missing ENDSESSION_LOGOFF define. 2003-05-14 19:31:00 +00:00
Mike McCormack 98e5e7705a Implemented SetMessageExtraInfo. 2003-05-13 23:36:01 +00:00
Dmitry Timoshkov 49fef46967 Added definition of SS_USERITEM. 2003-05-12 03:23:15 +00:00
Alex Pasadyn 330179f956 Implemented EnumDisplaySettings* and ChangeDisplaySettings*. 2003-04-22 00:15:48 +00:00
Dimitrie O. Paun 961afa2ab6 Add a few missing BN_* constants. 2003-04-04 19:31:41 +00:00
Marcus Meissner 4a46348a9c Changed MONITORINFOEXA,W definition to the one in MSDN which does not
cause gcc 3.3 warnings.
2003-01-21 00:29:31 +00:00
Dimitrie O. Paun cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +00:00
Dimitrie O. Paun 221ffc5e9c UpdateWindow returns a BOOLean. 2002-12-19 04:14:19 +00:00
Rolf Kalbermatter 2dcb751aa7 - Modify ICO_ExtractIconExW to:
return more compliant values for usage in PrivateExtractIcons and PrivateExtractIconEx
    accept and fill in the icon identifier array correctly if provided
    allow to retrieve both small and large icons together.
- Simplify PrivateExtraxtIcons
- Modify PrivateExtractIconExW to:
   use compatible signature to ExtractIconEx in shell32 which it really is directly
     as tested on W2K by calling both functions with the same parameters
   directly call internal extraction function
   fix error when requesting 1 icon for both sizes
2002-12-10 19:09:45 +00:00
Rolf Kalbermatter a53a988171 Modify PrivateExtractIcons{AW} to match better current MDSN
documentation.
2002-12-03 21:35:27 +00:00
Patrik Stridvall f9128d79d2 No version of GNU C++ (unlike GNU C) supports unnamed structs. 2002-11-18 19:46:34 +00:00
Greg Turner ea4913f8f9 - noop redefinition of SPI_[GET/SET]MENUUNDERLINES
- define and fixme for
  SPI_[GET/SET][SELECTIONFADE/DROPSHADOW/KEYBOARDCUES]
2002-11-04 22:47:59 +00:00
Patrik Stridvall ba9dc78e39 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-04 22:43:24 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Patrik Stridvall 1e22e3b3ba Fixed mismatches between the Wine headers and the Microsoft headers. 2002-10-29 21:23:33 +00:00
Patrik Stridvall 1298eb4053 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-10-23 18:50:10 +00:00
Dmitry Timoshkov 01e82a4fdc Convert MessageBox family functions to unicode. 2002-10-19 19:18:19 +00:00
Alexandre Julliard ab5063b217 Added server-side infrastructure for the thread input structure.
Reimplemented AttachThreadInput() and added GetGUIThreadInfo().
2002-10-11 18:50:15 +00:00
Steve Lustbader c15b0a2515 Provide a stub for GetComboBoxInfo. 2002-10-10 21:17:12 +00:00
Dimitrie O. Paun 75b31e3e32 Fix Validate{Rect,Rgn} prototypes. 2002-10-02 19:45:48 +00:00
György 'Nog' Jeney 5719c13f71 Added {G|S}etWindowLongPtr. 2002-09-29 18:04:55 +00:00
Per Nystrom e765bc1a41 Implemented GetCursorInfo. 2002-08-28 23:38:10 +00:00
Aric Stewart 5501f127df Very partial implementation of BroadcastSystemMessageA. 2002-08-16 23:29:48 +00:00
Jon Griffiths 273f86fc74 Stubs/docs for NotifyWinEvent,SetWinEventHook,IsWinEventHookInstalled,
UnhookWinEvent.
2002-07-10 23:20:49 +00:00
Alexandre Julliard df6fa30288 Duplicated wsprintf implementation in shlwapi. 2002-06-04 23:11:09 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 4344c368cb Got rid of GetSysColorPen. 2002-05-20 18:15:28 +00:00
David Hammerton ca30e48f71 Added implementation of GetWindowInfo. 2002-05-06 20:11:18 +00:00
Dimitrie O. Paun 6ca8edccc3 Added the DFCS_{HOT,TRANSPARENT} definitions. 2002-04-01 20:57:21 +00:00
Jukka Heinonen b7beb7278f Added option SW_FORCEMINIMIZE to ShowWindow. 2002-03-12 19:18:48 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Peter Hunnisett f11de4fc3d Fix return type of GetAsyncKeyState. 2002-02-22 21:24:25 +00:00
Patrik Stridvall f94462fb75 Move __stdcall/__cdecl to the right place. 2002-01-31 23:22:07 +00:00
Rein Klazes 49762a3a50 Move the implementation of comctl32._TrackMouseEvent to
user32.TrackMouseEvent and call this function in accordance with the
specs.
2002-01-15 20:41:41 +00:00
Dmitry Timoshkov b0582dc972 Add some new messages to the spy and winuser.h. 2002-01-04 18:28:38 +00:00
Andriy Palamarchuk 735a3292ca Implemented basic handling of assessibility actions. 2001-12-26 23:39:50 +00:00
Dmitry Timoshkov 6b6596a1e3 Fixed packing and layout of many system structures. 2001-11-23 18:44:43 +00:00
Dmitry Timoshkov 80eff97527 Convert message spy to unicode. 2001-11-20 18:50:56 +00:00
Alexandre Julliard 7641ce3a5c Added a few XBUTTON defines. 2001-10-18 21:34:17 +00:00
Alexandre Julliard 4b62618122 Added support for low-level mouse and keyboard hooks.
Misc keyboard handling cleanups.
2001-10-17 17:50:02 +00:00
Alexandre Julliard 2ff4faf66d Moved MAKEINTATOM to winbase.h and added Unicode version. 2001-10-12 18:43:27 +00:00
Francois Gouget 141039a54c Move the RT_XXX macros to winuser.h.
winuser.h: Add support for NOGDI.
winuser.h: Modify to allow compilation without wingdi.h.
2001-10-10 02:51:24 +00:00
Francois Gouget bc510d0960 Add support for NOCOLOR. 2001-10-08 22:31:16 +00:00
Dmitry Timoshkov ef54643490 Remove a hack for keyboard group switching.
Always save/restore correct keyboard group index.
Explicitly ignore the keyboard group switching events.
2001-10-02 17:17:31 +00:00
Alexandre Julliard a09da0cbbd Added proper support for storing window parents in the server.
Added a few requests to query the window hierarchy.
2001-09-21 21:08:40 +00:00