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 85 86
|
<HTML>
<head><title>wxStaticBox</title></head>
<BODY BGCOLOR=#FFFFFF>
<A NAME="wxstaticbox"></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="wx218.htm#wxstaticbitmap"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx220.htm#wxstatictext"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>
<H2>wxStaticBox</H2>
<P>
A static box is a rectangle drawn around other panel items to denote
a logical grouping of items.<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx56.htm#wxcontrol">wxControl</A><BR>
<A HREF="wx260.htm#wxwindow">wxWindow</A><BR>
<A HREF="wx85.htm#wxevthandler">wxEvtHandler</A><BR>
<A HREF="wx158.htm#wxobject">wxObject</A><P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
<wx/statbox.h><P>
<B><FONT COLOR="#FF0000">Window styles</FONT></B><P>
There are no special styles for this control.<P>
See also <A HREF="wx305.htm#windowstyles">window styles overview</A>.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx220.htm#wxstatictext">wxStaticText</A><P>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#wxstaticboxconstr">wxStaticBox::wxStaticBox</A><BR>
<A HREF="#topic845">wxStaticBox::~wxStaticBox</A><BR>
<A HREF="#wxstaticboxcreate">wxStaticBox::Create</A><BR>
<P>
<HR>
<A NAME="wxstaticboxconstr"></A>
<H3>wxStaticBox::wxStaticBox</H3>
<P>
<B></B> <B>wxStaticBox</B>()<P>
Default constructor.<P>
<B></B> <B>wxStaticBox</B>(<B>wxWindow* </B><I>parent</I>, <B>wxWindowID </B><I>id</I>, <B>const wxString& </B><I>label</I>,
<B>const wxPoint&</B><I> pos = wxDefaultPosition</I>, <B>const wxSize& </B><I>size = wxDefaultSize</I>,
<B>long</B><I> style = 0</I>, <B>const wxString& </B><I>name = "staticBox"</I>)<P>
Constructor, creating and showing a static box.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>parent</I><UL><UL>
Parent window. Must not be NULL.</UL></UL>
<P>
<I>id</I><UL><UL>
Window identifier. A value of -1 indicates a default value.</UL></UL>
<P>
<I>label</I><UL><UL>
Text to be displayed in the static box, the empty string for no label.</UL></UL>
<P>
<I>pos</I><UL><UL>
Window position. If the position (-1, -1) is specified then a default position is chosen.</UL></UL>
<P>
<I>size</I><UL><UL>
Checkbox size. If the size (-1, -1) is specified then a default size is chosen.</UL></UL>
<P>
<I>style</I><UL><UL>
Window style. See <A HREF="wx219.htm#wxstaticbox">wxStaticBox</A>.</UL></UL>
<P>
<I>name</I><UL><UL>
Window name.</UL></UL>
<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx219.htm#wxstaticboxcreate">wxStaticBox::Create</A><P>
<HR>
<A NAME="topic845"></A>
<H3>wxStaticBox::~wxStaticBox</H3>
<P>
<B>void</B> <B>~wxStaticBox</B>()<P>
Destructor, destroying the group box.<P>
<HR>
<A NAME="wxstaticboxcreate"></A>
<H3>wxStaticBox::Create</H3>
<P>
<B>bool</B> <B>Create</B>(<B>wxWindow* </B><I>parent</I>, <B>wxWindowID </B><I>id</I>, <B>const wxString& </B><I>label</I>,
<B>const wxPoint&</B><I> pos = wxDefaultPosition</I>, <B>const wxSize& </B><I>size = wxDefaultSize</I>,
<B>long</B><I> style = 0</I>, <B>const wxString& </B><I>name = "staticBox"</I>)<P>
Creates the static box for two-step construction. See <A HREF="wx219.htm#wxstaticboxconstr">wxStaticBox::wxStaticBox</A>
for further details.<P>
</BODY></HTML>
|