Commit Graph

54 Commits

Author SHA1 Message Date
Alexandre Julliard b215536852 shell32: Use wide char string literals.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Michael Stefaniuc 250e8437d7 shell32: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-29 17:27:41 +02:00
Nikolay Sivov 612a194133 shell32: Use ARRAY_SIZE macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 12:35:12 +01:00
Nikolay Sivov e3b200bd8a shell32: Use global memory allocation helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
Louis Lenders 307b20b97b shell32: Add stub for Shell_NotifyIconGetRect.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-04 11:58:05 +01:00
Roman Pisl 6d7a32a107 shell32: Implement NIM_SETVERSION.
Signed-off-by: Roman Pisl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 09:32:22 +02:00
Francois Gouget 351d907bbd shell32: Remove unneeded NONAMELESSXXX directives. 2015-03-20 17:50:06 +09:00
Alexandre Julliard 96a939eee1 shell32: Fix marshalling of 1-bpp systray icons. 2010-05-07 12:45:55 +02:00
Alexandre Julliard 4c2c3effb5 shell32: Pack the systray data structure to allow crossing 32/64 boundaries. 2010-03-30 21:28:27 +02:00
Kirill K. Smirnov b391b8af58 systray: Properly track errors. 2008-02-06 12:52:34 +01:00
Allan Tong 155cd24fd5 shell32: Fix a memory leak. 2007-10-15 16:56:50 +02:00
Mikołaj Zalewski 44e3200a8d shell32: Handle invalid cbSize in Shell_NotifyIcon[AW]. 2007-05-11 11:45:45 +02:00
Mikołaj Zalewski 50275015f8 shell32: Don't free user supplied data in Shell_NotifyIcon if GetIconInfo failed.
We should free the nid and in such a case we were doing it.
2007-03-19 13:05:46 +01:00
Mikołaj Zalewski cdf06864e2 shell32/explorer: Support different structure sizes in Shell_NotifyIcon. 2007-03-19 13:05:30 +01:00
Marcus Meissner 267e660bd6 shell32: Pass number of wide chars, not bytes as last argument to MBtoWC(). 2006-11-22 11:38:46 +01:00
Hans Leidekker 89e1d29482 shell32: Win64 printf format warning fixes. 2006-10-09 12:45:02 +02:00
Michael Stefaniuc 32b1a24501 janitorial: Move the storage specifier to the beginning of the declaration. 2006-07-07 14:30:35 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman e8fe7004c7 shell32: Adding a systray item with an invalid icon handle is allowed. 2006-03-27 21:41:30 +02:00
Alexandre Julliard 576e3b7062 explorer: Merged systray support with the desktop window main loop.
Systray is now always available as part of the desktop and doesn't
need to be started from shell32.
2006-03-07 11:50:05 +01:00
Robert Shearman f689e3fca4 shell32: Move systray handling to the explorer process. 2006-02-22 16:33:33 +01:00
Markus Amsler 671738d5c1 Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements
2005-11-10 11:15:22 +00:00
Vincent Béron 695e392875 Unicodify systray.c. 2005-11-08 19:57:27 +00:00
Vincent Béron c5789f8cfc Move functions a bit to get rid of a static declaration. 2005-11-08 16:08:17 +00:00
Mike McCormack 383302c11e Make functions static. 2005-06-20 10:30:15 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Robert Shearman cba8763c33 Remove unnecessary WNDPROC casts. 2004-12-06 11:51:29 +00:00
Mike McCormack 9cd9cfd2ed Use Heap function in preference to malloc/free. 2004-08-09 19:46:47 +00:00
Ove Kaaven 4f6a1d3475 Fixed icon leak. 2004-02-27 21:30:16 +00:00
Steven Edwards 903d1f25ce Update the notes on how WINE uses the Systray under KDE. 2004-01-02 20:12:51 +00:00
Filip Navara d8bd18e639 - Removed initialization of sh32_policy_table in SHInitRestricted,
because it's already statically initialized.
- Removed calling of SHInitRestricted(NULL, NULL) from DllMain because
  it does nothing in this case now.
- Added support for flags FWF_DESKTOP, FWF_NOCLIENTEDGE,
  FWF_TRANSPARENT in ShellView.
- Fixed small bug in setting SysTray window class hbrBackground.
2003-10-24 04:23:37 +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
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Alexandre Julliard 7791570139 Added CS_DBLCLKS so that systray receives double clicks. 2002-11-24 22:16:29 +00:00
Johan Dahlin 991fd85d2f Make shell32 compile with -DSTRICT. 2002-11-21 23:56:42 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +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
Francois Gouget e5ddd26dd7 When including config.h, include it first. 2001-10-14 16:18:52 +00:00
Francois Gouget 588ff3743a Documentation updates (mainly thru vs. through). 2001-08-21 17:07:17 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Alexandre Julliard 74af67ef42 Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h. 2000-09-26 00:00:55 +00:00
Peter Hunnisett 565b00857e - Added some missing WINELIB_NAME_AW definitions, types and messages
- Small prototype fixes
2000-09-19 02:43:00 +00:00
James Hatheway 2c268318ea Systray should keep a copy of its icons. 2000-09-06 19:40:44 +00:00
Kai Morich 0ad7874bec Fixed bug in repeatedly iconisation, code cleanup. 2000-08-20 18:48:37 +00:00
Francois Jacques d1819bf7bd Keep an internal copy of the icon. 2000-06-16 21:48:57 +00:00