1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
<HTML>
<head><title>wxAcceleratorEntry</title></head>
<BODY BGCOLOR=#FFFFFF>
<A NAME="wxacceleratorentry"></A><CENTER>
<A HREF="wx.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx22.htm#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx22.htm#classref"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx24.htm#wxacceleratortable"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>
<H2>wxAcceleratorEntry</H2>
<P>
An object used by an application wishing to create an <A HREF="wx24.htm#wxacceleratortable">accelerator table</A>.<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
None<P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
<wx/accel.h><P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx24.htm#wxacceleratortable">wxAcceleratorTable</A>, <A HREF="wx260.htm#wxwindowsetacceleratortable">wxWindow::SetAcceleratorTable</A><P>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#wxacceleratorentryconstr">wxAcceleratorEntry::wxAcceleratorEntry</A><BR>
<A HREF="#wxacceleratorentrygetcommand">wxAcceleratorEntry::GetCommand</A><BR>
<A HREF="#wxacceleratorentrygetflags">wxAcceleratorEntry::GetFlags</A><BR>
<A HREF="#wxacceleratorentrygetkeycode">wxAcceleratorEntry::GetKeyCode</A><BR>
<A HREF="#wxacceleratorentryset">wxAcceleratorEntry::Set</A><BR>
<P>
<HR>
<A NAME="wxacceleratorentryconstr"></A>
<H3>wxAcceleratorEntry::wxAcceleratorEntry</H3>
<P>
<B></B> <B>wxAcceleratorEntry</B>()<P>
Default constructor.<P>
<B></B> <B>wxAcceleratorEntry</B>(<B>int</B><I> flags</I>, <B>int</B><I> keyCode</I>, <B>int</B><I> cmd</I>)<P>
Constructor.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>flags</I><UL><UL>
One of wxACCEL_SHIFT, wxACCEL_CTRL and wxACCEL_NORMAL. Indicates
which modifier key is held down.</UL></UL>
<P>
<I>keyCode</I><UL><UL>
The keycode to be detected. See <A HREF="wx276.htm#keycodes">Keycodes</A> for a full list of keycodes.</UL></UL>
<P>
<I>cmd</I><UL><UL>
The menu or control command identifier.</UL></UL>
<P>
<HR>
<A NAME="wxacceleratorentrygetcommand"></A>
<H3>wxAcceleratorEntry::GetCommand</H3>
<P>
<B>int</B> <B>GetCommand</B>() <B>const</B><P>
Returns the command identifier for the accelerator table entry.<P>
<HR>
<A NAME="wxacceleratorentrygetflags"></A>
<H3>wxAcceleratorEntry::GetFlags</H3>
<P>
<B>int</B> <B>GetFlags</B>() <B>const</B><P>
Returns the flags for the accelerator table entry.<P>
<HR>
<A NAME="wxacceleratorentrygetkeycode"></A>
<H3>wxAcceleratorEntry::GetKeyCode</H3>
<P>
<B>int</B> <B>GetKeyCode</B>() <B>const</B><P>
Returns the keycode for the accelerator table entry.<P>
<HR>
<A NAME="wxacceleratorentryset"></A>
<H3>wxAcceleratorEntry::Set</H3>
<P>
<B>void</B> <B>Set</B>(<B>int</B><I> flags</I>, <B>int</B><I> keyCode</I>, <B>int</B><I> cmd</I>)<P>
Sets the accelerator entry parameters.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>flags</I><UL><UL>
One of wxACCEL_SHIFT, wxACCEL_CTRL and wxACCEL_NORMAL. Indicates
which modifier key is held down.</UL></UL>
<P>
<I>keyCode</I><UL><UL>
The keycode to be detected. See <A HREF="wx276.htm#keycodes">Keycodes</A> for a full list of keycodes.</UL></UL>
<P>
<I>cmd</I><UL><UL>
The menu or control command identifier.</UL></UL>
<P>
</BODY></HTML>
|