]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/stubs/taskbar.h
1 /////////////////////////////////////////////////////////////////////////
3 // Purpose: Defines wxTaskBarIcon class for manipulating icons on the
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_TASKBAR_H_
14 #define _WX_TASKBAR_H_
17 #pragma interface "taskbar.h"
23 class wxTaskBarIcon
: public wxObject
27 virtual ~wxTaskBarIcon();
30 /* TODO: implementation
31 inline WXHWND GetHWND() const { return m_hWnd; }
32 inline bool IsOK() const { return (m_hWnd != 0) ; }
33 inline bool IsIconInstalled() const { return m_iconAdded; }
37 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= "");
41 virtual void OnMouseMove();
42 virtual void OnLButtonDown();
43 virtual void OnLButtonUp();
44 virtual void OnRButtonDown();
45 virtual void OnRButtonUp();
46 virtual void OnLButtonDClick();
47 virtual void OnRButtonDClick();
51 static wxTaskBarIcon* FindObjectForHWND(WXHWND hWnd);
52 static void AddObject(wxTaskBarIcon* obj);
53 static void RemoveObject(wxTaskBarIcon* obj);
54 static bool RegisterWindowClass();
55 static WXHWND CreateTaskBarWindow();
56 long WindowProc( WXHWND hWnd, unsigned int msg, unsigned int wParam, long lParam );
61 /* TODO: implementation
63 static bool sm_registeredClass;
64 static unsigned int sm_taskbarMsg;
65 static wxList sm_taskBarIcons;