1 /////////////////////////////////////////////////////////////////////////
2 // File: wx/msw/taskbar.h
3 // Purpose: Defines wxTaskBarIcon class for manipulating icons on the
5 // Author: Julian Smart
6 // Modified by: Vaclav Slavik
9 // Copyright: (c) Julian Smart
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////
18 // private helper class:
19 class WXDLLIMPEXP_FWD_ADV wxTaskBarIconWindow
;
21 class WXDLLIMPEXP_ADV wxTaskBarIcon
: public wxTaskBarIconBase
23 DECLARE_DYNAMIC_CLASS_NO_COPY(wxTaskBarIcon
)
26 virtual ~wxTaskBarIcon();
29 inline bool IsOk() const { return true; }
30 inline bool IsIconInstalled() const { return m_iconAdded
; }
33 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxEmptyString
);
34 bool RemoveIcon(void);
35 bool PopupMenu(wxMenu
*menu
); //, int x, int y);
39 friend class wxTaskBarIconWindow
;
40 long WindowProc(unsigned int msg
, unsigned int wParam
, long lParam
);
41 void RegisterWindowMessages();
45 wxTaskBarIconWindow
*m_win
;
48 wxString m_strTooltip
;