1 \section{\class{wxTaskBarIcon
}}\label{wxtaskbaricon
}
3 This class represents a Windows
95 taskbar icon, appearing in the `system tray' and responding to
4 mouse clicks. An icon has an optional tooltip. This class is only supported for Windows
95/NT.
6 \wxheading{Derived from
}
8 \helpref{wxObject
}{wxobject
}
10 \latexignore{\rtfignore{\wxheading{Members
}}}
12 \membersection{wxTaskBarIcon::wxTaskBarIcon
}\label{wxtaskbariconconstr
}
14 \func{}{wxTaskBarIcon
}{\void}
18 \membersection{wxTaskBarIcon::
\destruct{wxTaskBarIcon
}}
20 \func{}{\destruct{wxTaskBarIcon
}}{\void}
22 Destroys the wxTaskBarIcon object, removing the icon if not already removed.
24 \membersection{wxTaskBarIcon::IsIconInstalled
}\label{wxtaskbariconisiconinstalled
}
26 \func{bool
}{IsIconInstalled
}{\void}
28 Returns TRUE if
\helpref{SetIcon
}{wxtaskbariconseticon
} was called with no subsequent
\helpref{RemoveIcon
}{wxtaskbariconremoveicon
}.
30 \membersection{wxTaskBarIcon::IsOK
}\label{wxtaskbariconisok
}
32 \func{bool
}{IsOK
}{\void}
34 Returns TRUE if the object initialized successfully.
36 \membersection{wxTaskBarIcon::OnLButtonDown
}\label{wxtaskbaricononlbuttondown
}
38 \func{virtual void
}{OnLButtonDown
}{\void}
40 Override this function to intercept left mouse button down events.
42 \membersection{wxTaskBarIcon::OnLButtonDClick
}\label{wxtaskbaricononlbuttondclick
}
44 \func{virtual void
}{OnLButtonDClick
}{\void}
46 Override this function to intercept left mouse button double-click events.
48 \membersection{wxTaskBarIcon::OnLButtonUp
}\label{wxtaskbaricononlbuttonup
}
50 \func{virtual void
}{OnLButtonUp
}{\void}
52 Override this function to intercept left mouse button up events.
54 \membersection{wxTaskBarIcon::OnRButtonDown
}\label{wxtaskbaricononrbuttondown
}
56 \func{virtual void
}{OnRButtonDown
}{\void}
58 Override this function to intercept right mouse button down events.
60 \membersection{wxTaskBarIcon::OnRButtonDClick
}\label{wxtaskbaricononrbuttondclick
}
62 \func{virtual void
}{OnRButtonDClick
}{\void}
64 Override this function to intercept right mouse button double-click events.
66 \membersection{wxTaskBarIcon::OnRButtonUp
}\label{wxtaskbaricononrbuttonup
}
68 \func{virtual void
}{OnRButtonUp
}{\void}
70 Override this function to intercept right mouse button up events.
72 \membersection{wxTaskBarIcon::OnMouseMove
}\label{wxtaskbaricononmousemove
}
74 \func{virtual void
}{OnMouseMove
}{\void}
76 Override this function to intercept mouse move events.
78 \membersection{wxTaskBarIcon::RemoveIcon
}\label{wxtaskbariconremoveicon
}
80 \func{bool
}{RemoveIcon
}{\void}
82 Removes the icon previously set with
\helpref{SetIcon
}{wxtaskbariconseticon
}.
84 \membersection{wxTaskBarIcon::SetIcon
}\label{wxtaskbariconseticon
}
86 \func{bool
}{SetIcon
}{\param{const wxIcon\&
}{ icon
},
\param{const wxString\&
}{tooltip
}}
88 Sets the icon, and optional tooltip text.