29#define CLASSNAME_TRAYNOTIFY TEXT("TrayNotifyWnd")
30#define TITLE_TRAYNOTIFY TEXT("")
32#define CLASSNAME_CLOCKWINDOW TEXT("TrayClockWClass")
34#define NOTIFYAREA_WIDTH_DEF 100
35#define NOTIFYICON_DIST 20
36#define NOTIFYAREA_SPACE 10
37#define NOTIFYICON_SIZE 16
41#define ICON_AUTOHIDE_SECONDS 300
43#define PM_GETMODULEPATH_CB (WM_APP+0x21)
44#define PM_GET_NOTIFYAREA (WM_APP+0x22)
54 {
return a._hWnd<
b._hWnd || (
a._hWnd==
b._hWnd &&
a._uID<
b._uID);}
99 {
return a._idx <
b._idx;}
159 void Refresh(
bool do_refresh=
false);
_Rep_type::iterator iterator
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean flag
window for displaying the time in the tray notification area
LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
int Notify(int id, NMHDR *pnmh)
tray notification area aka "tray"
bool DetermineHideState(NotifyInfo &entry)
void show_clock(bool flag)
NotifyIconSet::iterator IconHitTest(const POINT &pos)
search for a icon at a given client coordinate position
LRESULT ProcessTrayNotification(int notify_code, NOTIFYICONDATA *pnid)
int Notify(int id, NMHDR *pnmh)
NotifyIconSet _sorted_icons
LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
map< HWND, String > _window_modules
bool ModulePathCopyData(LPARAM lparam, HWND *phwnd, String &path)
const UINT WM_GETMODULEPATH
void GetModulePath(HWND hwnd, HWND hwndCallback)
configuration for the display mode of a notification icon
NotifyIconDlgInfo(const NotifyIconConfig &cfg)
NotifyIconDlgInfo(const NotifyInfo &info)
NotifyIconIndex is used for maintaining the order of notification icons.
friend bool operator<(const NotifyIconIndex &a, const NotifyIconIndex &b)
structure for maintaining informations about one notification icon
bool modify(NOTIFYICONDATA *pnid)
friend bool operator<(const NotifyInfo &a, const NotifyInfo &b)
Controller base template class for resizable dialogs.
configuration dialog for notification icons
void SetIconMode(NOTIFYICONMODE mode)
virtual int Notify(int id, NMHDR *pnmh)
NotifyIconDlgInfoMap _info
HTREEITEM _hitemCurrent_hidden
void RefreshProperties(const NotifyIconDlgInfo &entry)
HTREEITEM _hitemCurrent_visible
IconStateMap _icon_states_org
NotifyIconCfgList _cfg_org
pair< NOTIFYICONMODE, DWORD > IconStatePair
virtual LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
NotifyArea * _pNotifyArea
ResizeController< Dialog > super
map< NotifyIconIndex, IconStatePair > IconStateMap
void InsertItem(HTREEITEM hparent, HTREEITEM after, const NotifyInfo &, HDC)
__inline int after(__u32 seq1, __u32 seq2)
String string_from_mode(NOTIFYICONMODE mode)
map< NotifyIconIndex, NotifyInfo > NotifyIconMap
map< int, NotifyIconDlgInfo > NotifyIconDlgInfoMap
set< NotifyInfo > NotifyIconSet
list< NotifyIconConfig > NotifyIconCfgList
list of NotifyIconConfig structures
static const WCHAR props[]
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String