From 8f54383d26ba6fb7df051388a0e82dd6a2588d31 Mon Sep 17 00:00:00 2001 From: gtwguo Date: Wed, 2 Aug 2023 11:16:21 +0800 Subject: [PATCH] Update TrayIcon.h load icon from file --- DuiLib/Utils/TrayIcon.h | 1 + 1 file changed, 1 insertion(+) diff --git a/DuiLib/Utils/TrayIcon.h b/DuiLib/Utils/TrayIcon.h index 33d98bd0..518b3b99 100644 --- a/DuiLib/Utils/TrayIcon.h +++ b/DuiLib/Utils/TrayIcon.h @@ -14,6 +14,7 @@ namespace DuiLib public: void CreateTrayIcon( HWND _RecvHwnd, UINT _IconIDResource, LPCTSTR _ToolTipText = NULL, UINT _Message = NULL); + void CreateTrayIcon(HWND _RecvHwnd, LPCTSTR file, LPCTSTR _ToolTipText = NULL, UINT _Message = NULL); void DeleteTrayIcon(); bool SetTooltipText(LPCTSTR _ToolTipText); bool SetTooltipText(UINT _IDResource);