]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/taskbar.tex
* Some more on streams.
[wxWidgets.git] / docs / latex / wx / taskbar.tex
1 \section{\class{wxTaskBarIcon}}\label{wxtaskbaricon}
2
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.
5
6 \wxheading{Derived from}
7
8 \helpref{wxObject}{wxobject}
9
10 \latexignore{\rtfignore{\wxheading{Members}}}
11
12 \membersection{wxTaskBarIcon::wxTaskBarIcon}\label{wxtaskbariconconstr}
13
14 \func{}{wxTaskBarIcon}{\void}
15
16 Default constructor.
17
18 \membersection{wxTaskBarIcon::\destruct{wxTaskBarIcon}}
19
20 \func{}{\destruct{wxTaskBarIcon}}{\void}
21
22 Destroys the wxTaskBarIcon object, removing the icon if not already removed.
23
24 \membersection{wxTaskBarIcon::IsIconInstalled}\label{wxtaskbariconisiconinstalled}
25
26 \func{bool}{IsIconInstalled}{\void}
27
28 Returns TRUE if \helpref{SetIcon}{wxtaskbariconseticon} was called with no subsequent \helpref{RemoveIcon}{wxtaskbariconremoveicon}.
29
30 \membersection{wxTaskBarIcon::IsOK}\label{wxtaskbariconisok}
31
32 \func{bool}{IsOK}{\void}
33
34 Returns TRUE if the object initialized successfully.
35
36 \membersection{wxTaskBarIcon::OnLButtonDown}\label{wxtaskbaricononlbuttondown}
37
38 \func{virtual void}{OnLButtonDown}{\void}
39
40 Override this function to intercept left mouse button down events.
41
42 \membersection{wxTaskBarIcon::OnLButtonDClick}\label{wxtaskbaricononlbuttondclick}
43
44 \func{virtual void}{OnLButtonDClick}{\void}
45
46 Override this function to intercept left mouse button double-click events.
47
48 \membersection{wxTaskBarIcon::OnLButtonUp}\label{wxtaskbaricononlbuttonup}
49
50 \func{virtual void}{OnLButtonUp}{\void}
51
52 Override this function to intercept left mouse button up events.
53
54 \membersection{wxTaskBarIcon::OnRButtonDown}\label{wxtaskbaricononrbuttondown}
55
56 \func{virtual void}{OnRButtonDown}{\void}
57
58 Override this function to intercept right mouse button down events.
59
60 \membersection{wxTaskBarIcon::OnRButtonDClick}\label{wxtaskbaricononrbuttondclick}
61
62 \func{virtual void}{OnRButtonDClick}{\void}
63
64 Override this function to intercept right mouse button double-click events.
65
66 \membersection{wxTaskBarIcon::OnRButtonUp}\label{wxtaskbaricononrbuttonup}
67
68 \func{virtual void}{OnRButtonUp}{\void}
69
70 Override this function to intercept right mouse button up events.
71
72 \membersection{wxTaskBarIcon::OnMouseMove}\label{wxtaskbaricononmousemove}
73
74 \func{virtual void}{OnMouseMove}{\void}
75
76 Override this function to intercept mouse move events.
77
78 \membersection{wxTaskBarIcon::RemoveIcon}\label{wxtaskbariconremoveicon}
79
80 \func{bool}{RemoveIcon}{\void}
81
82 Removes the icon previously set with \helpref{SetIcon}{wxtaskbariconseticon}.
83
84 \membersection{wxTaskBarIcon::SetIcon}\label{wxtaskbariconseticon}
85
86 \func{bool}{SetIcon}{\param{const wxIcon\&}{ icon}, \param{const wxString\& }{tooltip}}
87
88 Sets the icon, and optional tooltip text.
89
90