Commit graph

64 commits

Author SHA1 Message Date
Rémi Bernon 5b11157ecf explorer: Use wide string literals. 2023-06-26 16:47:11 +02:00
Rémi Bernon 43fd81b3a5 explorer: Use unprefixed debug macros. 2023-06-26 16:47:11 +02:00
Rémi Bernon 240bdd5772 explorer: Use CRT allocation functions. 2023-06-26 16:47:11 +02:00
Alexandre Julliard 14518662d6 explorer: Use nameless union/structs. 2023-06-16 17:57:11 +02:00
Zhiyi Zhang 8459a5272a explorer: Use a valid taskbar position when the taskbar is hidden.
Some applications use FindWindowA() with class Shell_TrayWnd to find the taskbar window on Windows.
Then GetWindowRect() is called to get the taskbar window rectangle. Finally, the taskbar window
rectangle is subtracted from the primary screen rectangle to calculate the work area. Without a
valid taskbar window position, these applications end up getting an incorrect work area and going
down the wrong path. So use the same position and size as the host system panel for explorer taskbar
when it's hidden.
2022-11-17 10:00:24 +01:00
Eric Pouech e299b5af34 explorer: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 11:20:33 +01:00
Rémi Bernon 2027c8ee1f explorer: Create systray for the null graphics driver.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-17 20:38:06 +02:00
Zebediah Figura 7eca09d7e0 explorer: Send systray messages with SendNotifyMessage().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50441
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-01 11:02:02 +01:00
Zebediah Figura d91a87cea2 include: Fix the definition of NOTIFYICON_VERSION[_4].
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-01 11:02:00 +01:00
Serge Gautherie 7770e26f2d include: Remove now useless forced _WIN32_IE defines.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 19:38:38 +01:00
Olivier F. R. Dierick 5afd80307e explorer: Don't change Z-order of the taskbar when displaying it.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40828
Signed-off-by: Olivier F. R. Dierick <o.dierick@piezo-forte.be>
Signed-off-by: Hamish Claxton <hamishclaxton@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-09 10:18:25 -06:00
Michael Stefaniuc 83e481fee2 explorer: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-21 23:21:52 +02:00
Alexandre Julliard 082e498163 explorer: Don't forward the system tray to the display driver in desktop mode.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-02 17:20:33 +02:00
Marcus Meissner af5b414000 explorer: Check icon for NULL (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-19 08:16:54 -07:00
Alexandre Julliard b147bd63e3 explorer: Add a helper function to send systray notifications.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 10:57:45 +02:00
Roman Pisl df8ec3a371 explorer: Send WM_CONTEXTMENU on WM_RBUTTONUP and NIN_SELECT on WM_LBUTTONUP.
Signed-off-by: Roman Pisl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 10:37:25 +02:00
Roman Pisl fcad721081 explorer: Implement NIM_SETVERSION.
Signed-off-by: Roman Pisl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 10:37:24 +02:00
Alexandre Julliard 5e1e682a17 explorer: Fix hiding the taskbar when there are no system tray items.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 12:08:23 +09:00
Francois Gouget b81d3f069f explorer: Spelling fix.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-13 11:34:14 +09:00
Alexandre Julliard 69b41aebda explorer: Don't bother with taskbar buttons when the taskbar is not visible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-10 20:34:03 +09:00
Alexandre Julliard 552555cf8c explorer: Show the application system menu on taskbar right clicks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 15:35:38 +09:00
Alexandre Julliard 9da34d943e explorer: Display buttons on the task bar for running applications.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 15:15:25 +09:00
Alexandre Julliard f4568fc640 explorer: Add a generic handler for desktop notifications.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 13:55:45 +09:00
Alexandre Julliard 28834b5508 explorer: Add a Wine icon to the Start button.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 21:28:37 +09:00
Alexandre Julliard 3c33d6d32c explorer: Vertically center the system tray icons.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 21:26:34 +09:00
Alexandre Julliard 19a7037d50 explorer: Use the window caption font for the Start button.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 21:26:32 +09:00
Alexandre Julliard 45b2b1f09b explorer: Add a helper function to resize and display the tray window.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 21:11:16 +09:00
Alexandre Julliard aceec41e93 explorer: Cleanup system tray icons when their owner is destroyed instead of polling. 2015-03-27 20:40:36 +09:00
Vincent Povirk 913cb83622 explorer: Add a registry setting to always show the systray. 2014-01-08 16:11:39 +01:00
Vincent Povirk 058765f765 explorer: Add a start menu. 2014-01-08 16:11:36 +01:00
Vincent Povirk 5a00584bab explorer: Add non-functional start button. 2014-01-08 16:11:35 +01:00
Alexandre Julliard 3e24a17c03 explorer: Retrieve the graphics driver module from gdi32. 2013-02-06 12:46:14 +01:00
Alexandre Julliard c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Alexandre Julliard ed3ac5f4d6 explorer: Add support for displaying system tray notification balloons in desktop mode. 2010-12-15 17:17:39 +01:00
Alexandre Julliard d2e047612c explorer: Store information needed for the info balloon in the tray icon structure. 2010-12-15 17:17:39 +01:00
Alexandre Julliard 8c963852f8 explorer: Make the systray window look more like a real taskbar in desktop mode. 2010-11-02 10:32:35 +01:00
Alexandre Julliard d8c022071a explorer: Only run the systray timer when a systray icon is present. 2010-08-18 09:31:26 +02:00
Michael Stefaniuc 1d864cfd22 explorer: Remove unneeded UNICODE define. 2010-05-08 13:12:44 +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
Maarten Lankhorst d6bc9fc9f3 winex11.drv/explorer: Add CDECL to exported functions. 2008-12-17 15:02:25 +01:00
Alexandre Julliard b66685cdd8 programs: Build the programs that support it with -DWINE_NO_UNICODE_MACROS. 2008-09-03 14:21:41 +02:00
Aric Stewart f8096d2b84 systray: Keep systray hidden when requested by moving it off screen. 2008-08-29 14:00:12 +02:00
Alexandre Julliard 26e566b91f explorer: Use a different return value to indicate that the x11 system tray is not available, so that x11drv can return errors too. 2008-05-13 21:02:46 +02:00
Alexandre Julliard 698805d8c5 explorer: Implement a global system tray window. 2008-04-08 15:56:24 +02:00
Alexandre Julliard 52246fb921 winex11: Move all the embedded systray window support to winex11.drv. 2008-04-08 15:47:36 +02:00
Kirill K. Smirnov be784ba1c5 systray: Better validate icon owner. 2008-02-15 11:38:24 +01:00
Kirill K. Smirnov be2911a180 systray: Correctly handle icon addition/deletion. 2008-02-15 11:38:19 +01:00
Kirill K. Smirnov 7515f312f9 systray: Avoid modifying non-existent tooltip windows of non-existent icon windows when application updates tip of hidden icon. 2008-02-15 11:35:16 +01:00
Kirill K. Smirnov 43083236c4 systray: Add support for NIS_HIDDEN flag. 2008-02-06 12:52:38 +01:00
Kirill K. Smirnov b391b8af58 systray: Properly track errors. 2008-02-06 12:52:34 +01:00