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 \wxheading{Include files
}
14 \latexignore{\rtfignore{\wxheading{Members
}}}
16 \membersection{wxTaskBarIcon::wxTaskBarIcon
}\label{wxtaskbariconconstr
}
18 \func{}{wxTaskBarIcon
}{\void}
22 \membersection{wxTaskBarIcon::
\destruct{wxTaskBarIcon
}}
24 \func{}{\destruct{wxTaskBarIcon
}}{\void}
26 Destroys the wxTaskBarIcon object, removing the icon if not already removed.
28 \membersection{wxTaskBarIcon::IsIconInstalled
}\label{wxtaskbariconisiconinstalled
}
30 \func{bool
}{IsIconInstalled
}{\void}
32 Returns TRUE if
\helpref{SetIcon
}{wxtaskbariconseticon
} was called with no subsequent
\helpref{RemoveIcon
}{wxtaskbariconremoveicon
}.
34 \membersection{wxTaskBarIcon::IsOK
}\label{wxtaskbariconisok
}
36 \func{bool
}{IsOK
}{\void}
38 Returns TRUE if the object initialized successfully.
40 \membersection{wxTaskBarIcon::OnLButtonDown
}\label{wxtaskbaricononlbuttondown
}
42 \func{virtual void
}{OnLButtonDown
}{\void}
44 Override this function to intercept left mouse button down events.
46 \membersection{wxTaskBarIcon::OnLButtonDClick
}\label{wxtaskbaricononlbuttondclick
}
48 \func{virtual void
}{OnLButtonDClick
}{\void}
50 Override this function to intercept left mouse button double-click events.
52 \membersection{wxTaskBarIcon::OnLButtonUp
}\label{wxtaskbaricononlbuttonup
}
54 \func{virtual void
}{OnLButtonUp
}{\void}
56 Override this function to intercept left mouse button up events.
58 \membersection{wxTaskBarIcon::OnRButtonDown
}\label{wxtaskbaricononrbuttondown
}
60 \func{virtual void
}{OnRButtonDown
}{\void}
62 Override this function to intercept right mouse button down events.
64 \membersection{wxTaskBarIcon::OnRButtonDClick
}\label{wxtaskbaricononrbuttondclick
}
66 \func{virtual void
}{OnRButtonDClick
}{\void}
68 Override this function to intercept right mouse button double-click events.
70 \membersection{wxTaskBarIcon::OnRButtonUp
}\label{wxtaskbaricononrbuttonup
}
72 \func{virtual void
}{OnRButtonUp
}{\void}
74 Override this function to intercept right mouse button up events.
76 \membersection{wxTaskBarIcon::OnMouseMove
}\label{wxtaskbaricononmousemove
}
78 \func{virtual void
}{OnMouseMove
}{\void}
80 Override this function to intercept mouse move events.
82 \membersection{wxTaskBarIcon::RemoveIcon
}\label{wxtaskbariconremoveicon
}
84 \func{bool
}{RemoveIcon
}{\void}
86 Removes the icon previously set with
\helpref{SetIcon
}{wxtaskbariconseticon
}.
88 \membersection{wxTaskBarIcon::SetIcon
}\label{wxtaskbariconseticon
}
90 \func{bool
}{SetIcon
}{\param{const wxIcon\&
}{ icon
},
\param{const wxString\&
}{tooltip
}}
92 Sets the icon, and optional tooltip text.