Commit Graph

346 Commits (e502dce411439284db6f043e37bc0f4e51e50f43)

Author SHA1 Message Date
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
Francois Gouget 7beb574b20 Remove macros that should not be there (cause conflicts in WineLib).
Add corresponding comments in spy.c.
2001-09-19 22:25:52 +00:00
Alexandre Julliard d23a82bc86 Made all 16<->32 HWND conversions use explicit functions instead of
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Alexandre Julliard 0801ffc5a3 Implemented GetAncestor and removed WIN_GetTopParent.
Removed a few more accesses to the WND structure.
2001-08-24 00:26:59 +00:00
Alexandre Julliard d44e495aa4 Fixed GetClassLong to return full 32 bits for all items.
Removed GCW_* definitions that don't exist in Win32.
2001-08-20 18:09:39 +00:00
Alexandre Julliard cdb9cda6bf Added SMTO_* defines. 2001-08-06 17:52:41 +00:00
Alexandre Julliard b846b2df37 Force STRICT checking of callback function types when compiling Wine. 2001-07-30 19:10:43 +00:00
Patrik Stridvall 33c40709bf - Moved comm related protoypes to the correct .h file.
- Cleaned up the include section.
2001-07-26 21:43:56 +00:00
Travis Michielsen 188b32b73f Fully implement DrawTextEx* functions. 2001-07-26 20:10:40 +00:00
Patrik Stridvall 33929be46f - Made sure that the files that contains the declarations
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Alexandre Julliard fcef026169 Reject pointer messages in SendNotifyMessage[AW] and
SendMessageCallback[AW]. Fixed prototypes.
2001-07-18 20:07:01 +00:00
Alexandre Julliard f9037de2ae Implemented SendInput(). 2001-06-25 20:01:03 +00:00
Bobby Bingham db4aae2222 Stub implementation of AnimateWindow(). 2001-06-06 20:20:09 +00:00
Alexandre Julliard 51ab43bd13 Moved the major part of message queue and window timer handling into
the server.
Implemented MsgWaitForMultipleObjectsEx.
2001-05-18 22:51:56 +00:00
Alexandre Julliard c7d3931863 Moved DCX_* constants to winuser.h. 2001-04-18 17:41:57 +00:00
James Juran 36b698fc55 Add value 106 to SystemParametersInfo. 2001-04-02 19:12:22 +00:00
Ove Kaaven c5f35b701f Added Win2000 WS_EX_LAYERED window style. 2001-03-16 16:40:43 +00:00
Eric Pouech 92b23186ae A first stab at implementing the RunDll features. 2001-02-23 01:12:26 +00:00
Dmitry Timoshkov 91adf0aa4e Added unicode MDI client window proc. 2001-02-12 03:40:41 +00:00
Alexandre Julliard 803dbb6f00 Removed non-standard OBM_RADIOCHECK bitmap. 2001-01-24 19:48:39 +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
François Gouget 54300e592c Move HDWP to winuser.h.
Convert HWINSTA to STRICT.
2001-01-09 20:56:06 +00:00
François Gouget f53b0e89e4 Moved the function pointer types to their rightful headers.
The definition of the function pointer types must be based on STRICT.
2001-01-04 19:32:22 +00:00
François Gouget 55146dbe18 Fixed a few type clashes in preparation for the switch to STRICT. 2000-12-24 20:33:01 +00:00
François Gouget ef14b8a9e6 Added CreateWindowStation. 2000-12-19 04:52:17 +00:00
François Gouget c3cd6b55ca Added SetUserObjectSecurity. 2000-12-19 02:09:05 +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