Commit Graph

260 Commits

Author SHA1 Message Date
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
Dmitry Timoshkov 2cf6f1e284 Added several clipboard formats. 2000-12-02 20:11:05 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +00:00
Francois Gouget 0b4e0d77ac Added some STN_xxx macros. 2000-11-10 22:33:16 +00:00
Francois Gouget f2ab8ff221 Added DM_REPOSITION. 2000-11-08 05:04:03 +00:00
Dmitry Timoshkov ff81f93883 Added support for AZERTY keyboard layout. 2000-10-19 22:25:35 +00:00
Alexandre Julliard cc7abe1f06 Call PrivateExtractIcon in user32 instead of duplicating the code. 2000-10-19 20:28:12 +00:00
Dmitry Timoshkov 7b0bf0f08d Added support for keyboard input in various locales. 2000-10-17 00:31:53 +00:00
Chris Morgan 56af064e01 Implemented the IDC_HAND cursor. 2000-10-13 23:43:45 +00:00
Andreas Mohr 855ac7a8f7 Added MSGF_DDEMGR. 2000-10-13 23:09:56 +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
Francois Gouget 8930569251 Added four DDElParam functions.
Now needs an 'extern "C"' protection for C++.
2000-10-12 20:44:14 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Francois Gouget f2e6575a90 Added a few missing macros, types and prototypes. 2000-09-22 21:04:30 +00:00
Jeremy White 58254446fc Added PWNDCLASS definition. 2000-09-16 20:45:46 +00:00
Jeremy White 9982a2487e Add WM_USERCHANGED. 2000-09-12 23:36:51 +00:00
Alexandre Julliard 3850c1ae16 Moved most USER string functions to dlls/user.
Cleaned up a few more inter-dll dependencies.
2000-08-06 02:42:46 +00:00
Jeremy White ccc0a8032b Added WM_TCARD and DWORDLONG. 2000-08-02 01:00:02 +00:00
Alexandre Julliard 797f2217f3 Moved system metrics definitions to winuser.h. 2000-07-31 23:29:28 +00:00
Alexandre Julliard 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Alexandre Julliard fc846d7001 Moved FORMAT_MESSAGE flags definition to winbase.h. 2000-07-25 17:52:42 +00:00
Ove Kaaven f9e4e4808e Added a few Win32 definitions. 2000-07-23 13:38:24 +00:00
Andreas Mohr 6f83a5ee8f Doc and trace updates. 2000-07-16 15:43:07 +00:00
Marcus Meissner 521c0e4afa Stub for RegisterDeviceNotificationA. 2000-07-10 10:58:16 +00:00
Matthew Lake 187271092a Added some missing definitions. 2000-07-08 18:31:43 +00:00
Hidenori Takeshima 8fec32615b Added IDI_WINLOGO. 2000-06-24 12:52:53 +00:00
Hidenori Takeshima 8b347b2a17 Added SC_ICON/SC_ZOOM (obsolete macros). 2000-06-23 15:32:05 +00:00
Francois Gouget 326e2ba5a1 Added some missing prototypes.
Define the HDRAWDIB handle type.
2000-06-18 17:26:44 +00:00
Francois Gouget ae41e8c804 Reordered the CALLBACK and WINAPI directives so that it compiles with
old g++ versions.
2000-06-11 20:07:58 +00:00
Serge Ivanov ae89703581 Added undocumented window style. 2000-06-07 03:45:19 +00:00
Aric Stewart 44675508a5 Added WM_SIZING message support. 2000-05-05 18:28:10 +00:00
Huw D M Davies fadc18e01c Added HWND_MESSAGE. 2000-05-03 17:41:55 +00:00
Martin Fuchs fcf9f24451 Fixed GetNumberFormat declaration. 2000-04-23 19:56:47 +00:00
Stephane Lussier 4bdf4af11e Implemented Mousewheel support. 2000-04-18 11:56:33 +00:00
Owen Wang 3c30bba357 Implemented API EnumTimeFormatsA(). It supports now all different
English locales, as well as German(standard), French(standard) and
French(Canadian).  All time formats follow conventions in Windows NT 4.0

Haithem Hmida (of Macadamian for Corel)
Implemented GetCurrencyFormatA() API:
- GetCurrencyFormatA() calls GetNumberFormatA() to format the number
  (as a positive one), then formats the number depending on
  NegativeOrder/PositiveOrder fields.
- GetNumberFormatA() has been slightly modified.
2000-04-06 20:13:32 +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
Francois Gouget afd69e9085 Added WM_APP. 2000-03-19 21:14:53 +00:00
Hidenori Takeshima 146b16a9c4 Added a few messages for IME. 2000-03-08 18:22:21 +00:00
Huw D M Davies 4688c7ca1e Implement SPI_GETICONMETRICS.
Change WARN -> FIXME for unimplemented SPI_s and set appropriate error.
2000-03-07 12:25:40 +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
Michael Cardenas 6a52a507fd Added a bunch of macros needed for compiling Winelib apps. 2000-02-07 17:22:01 +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
Erez Volk fdf71277e5 Stubs for Get/SetProcessDefaultLayout. 1999-12-04 04:21:20 +00:00
Marcus Meissner 5e2f50f8c0 Added ChangeDisplaySettingsExA stub and some flag defines. 1999-11-07 22:26:20 +00:00
Jim Aston cf1e858354 Fixed a small typo. 1999-10-23 16:48:44 +00:00
Marcus Meissner 8388f67523 Added stub implementation for EnumDisplayDevices*. 1999-09-19 12:09:23 +00:00
Michael Veksler 4405f3c369 Removed unnecessary includes from ole related files. 1999-08-18 18:35:57 +00:00
Thuy Nguyen 03a6889e5c Implemented the WM_SETICON and WM_GETICON messages. 1999-08-15 14:21:57 +00:00
Ulrich Weigand bb1984e6bd Separated Win16 (USER) and Win32 (MPR) network routines.
Moved implementation of MPR to dlls/mpr/.
Added proper headers and stubs for missing MPR routines.
1999-08-07 14:32:33 +00:00
Yuxi Zhang 4e40dc0ec6 Removed duplicated defines in winuser.h and commctrl.h. Also corrected
a typo for SW_MAX value.
1999-07-30 18:09:07 +00:00
Joshua Thielen a49bb2661d Fixed DestroyAcceleratorTable and implemented CreateAcceleratorTableW. 1999-07-04 12:55:10 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Ulrich Weigand 7f53c57321 - Do not call XConfigureWindow if SetWindowPos was called due to a
received ConfigureNotify event (to avoid recursion).
- Use XTranslateCoordinates in EVENT_GetGeometry instead of manually
  walking the tree.
- Set XSizeHint.win_gravity to StaticGravity for managed windows.
1999-06-18 17:03:13 +00:00
Patrik Stridvall 857eb39206 Mad the include files idempotent using a consistent macro naming
scheme.
1999-06-12 18:36:54 +00:00
Patrik Stridvall 9e61c1cc9b Changed xxx(VOID) to xxx(void). 1999-06-12 08:27:49 +00:00
Alexandre Julliard 51f5842089 Moved inclusion of winestring.h to winebase.h.
Added Winelib macros for lstrncmp functions.
1999-06-06 17:23:59 +00:00
Paul Quinn aaa830698c Some non-threatening fixes to some headers, as well as some casting
changes that make winelib more win32 code compatible.
1999-06-05 15:23:20 +00:00
Huw D M Davies a9f55c46c1 Split off wingdi16.h from wingdi.h. Add many more #defines/typedefs
to bring wingdi.h almost upto a complete NT4.0 interface.
Fix return value of SetRectRgn().
1999-05-08 12:45:18 +00:00
Francis Beaudet ee3c1d7a27 Changed the return value of GetKeyboardState and SetKeyboardState from
VOID to BOOL.
1999-05-08 09:35:37 +00:00
Juergen Schmied 466a65205b - default item handling
- small drawing fixes
1999-05-02 11:21:08 +00:00
Jim Aston 10141fec52 Added some missing #defines I've run across. 1999-04-25 12:31:20 +00:00
Eric Pouech 33c5974f8e Added some missing manifest constants for Queue Status functions (QS_????). 1999-04-25 10:59:01 +00:00
Juergen Schmied 7851394159 - use fonts/fontsizes given by SystemParametersInfo
- drawing/alignment fixes, win98 style for menubar
- ownerdrawn menus are working now for the first time
- complete constants magic items
- use right owner for popupmenus
- new: Get/SetMenuInfo
- implemented: Get/SetMenuContextHelpId
- more flags for Get/SetMenuItemInfo
1999-04-18 14:40:32 +00:00
Zygo Blaxell 007f1335c1 ReleaseCapture() is supposed to return a BOOL value. 1999-04-15 16:40:16 +00:00
Pascal Lessard 026f705dbc Implement the button with bitmaps. 1999-04-15 15:49:36 +00:00
Thuy Nguyen 96d0359a09 DLGITEMTEMPLATE structure had one too many member. 1999-04-03 11:12:46 +00:00
Lionel Ulmer 5f5b576a45 Added stub for SetSystemCursor. 1999-03-28 13:42:12 +00:00
Alexandre Julliard f80b2ab669 Authors: Paul Quinn <paulq@corel.ca>, Aaron Barnes <aaronb@corel.ca>, Adrian Thurston <adriant@corel.ca>
Bundle of new stubs.
1999-03-28 13:15:40 +00:00
Alexandre Julliard faa18fd9e5 Authors: Adrian Thurston <adriant@corel.ca>, Paul Quinn <paulq@corel.ca>
Added various definitions.
Moved CWPSTRUCT from hook.h to winuser.h to conform to the SDK.
1999-03-24 14:58:11 +00:00
Veksler Michael e94e35431e Removed winuser16.h from x11drv.h. 1999-03-22 12:41:26 +00:00
Ove Kaaven fab975e639 Fixed prototypes of a couple of comm routines. 1999-03-21 15:43:22 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Paul Quinn 89b21b4c28 Many new defines, and structs to help compile MFC. As well as a few
OLE corrections from earlier.
1999-03-14 13:47:00 +00:00
Pavel Roskin cb327212c4 File open dialog now uses icons instead of bitmaps. 1999-03-13 18:10:43 +00:00
Bertho Stultiens dbf9fba460 Changed the DLGTEMPLATE and DLGITEMTEMPLATE types to adhere to the AW
structure for compatibility.
1999-03-13 17:09:13 +00:00
Klaas van Gend 691606e724 Added the button states as returned by IsDlgButtonChecked(). 1999-02-28 19:40:54 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Francois Boisvert 308c6afe62 Implementation of the pushed close button. 1999-02-18 10:37:17 +00:00
Douglas Ridgway db4d1c7d84 c2man doesn't like extra semicolons. 1999-02-15 15:24:20 +00:00
Eric Pouech b9544f159d Changed some functions prototypes (were returning void). 1999-02-14 14:09:42 +00:00
Paul Quinn 97c1c836f7 Fixed some Winelib names. 1999-02-14 13:48:43 +00:00
Marcus Meissner 592c910b7c Implemented MapVirtualKeyEx (ticket 21).
Ignore keyboard layout for now.
1999-02-13 08:53:22 +00:00
Alexandre Julliard 894077f402 Authors: Albert Den Haan <albertd@corel.ca>, Adrian Thurston <athursto@corel.ca>, Paul Quinn <paulq@corel.ca>, Zygo Blaxell <zygob@corel.ca>
Miscellaneous patches to header files.  All of these are supposedly there
to help build Winelib applications.
1999-02-10 06:48:49 +00:00
Michael Veksler 17822f452f Moved everything out of windows.h. 1999-02-09 15:46:25 +00:00
Paul Quinn f8db63bbc0 GetCursorPos is actually a BOOL. 1999-02-09 14:24:45 +00:00
Marcus Meissner ffb912e692 Fixed GetIconInfo16 (.spec,ICONINFO struct is different for Win16/Win32). 1999-01-28 09:14:38 +00:00