File: wx72.htm

package info (click to toggle)
wxwin2-doc 2.01-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,540 kB
  • ctags: 5,968
  • sloc: cpp: 15,157; makefile: 434; sh: 6
file content (117 lines) | stat: -rw-r--r-- 3,892 bytes parent folder | download
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<HTML>
<head><title>wxDirDialog</title></head>

<BODY BGCOLOR=#FFFFFF>
<A NAME="wxdirdialog"></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="wx71.htm#wxdialog"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx73.htm#wxdocchildframe"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>

<H2>wxDirDialog</H2>
<P>
This class represents the directory chooser dialog.<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx71.htm#wxdialog">wxDialog</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>
&lt;wx/dirdlg.h&gt;<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx291.htm#wxdirdialogoverview">wxDirDialog overview</A>, <A HREF="wx90.htm#wxfiledialog">wxFileDialog</A><P>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#wxdirdialogconstr">wxDirDialog::wxDirDialog</A><BR>
<A HREF="#topic202">wxDirDialog::~wxDirDialog</A><BR>
<A HREF="#wxdirdialoggetpath">wxDirDialog::GetPath</A><BR>
<A HREF="#wxdirdialoggetmessage">wxDirDialog::GetMessage</A><BR>
<A HREF="#wxdirdialoggetstyle">wxDirDialog::GetStyle</A><BR>
<A HREF="#wxdirdialogsetmessage">wxDirDialog::SetMessage</A><BR>
<A HREF="#wxdirdialogsetpath">wxDirDialog::SetPath</A><BR>
<A HREF="#wxdirdialogsetstyle">wxDirDialog::SetStyle</A><BR>
<A HREF="#wxdirdialogshowmodal">wxDirDialog::ShowModal</A><BR>
<P>

<HR>
<A NAME="wxdirdialogconstr"></A>
<H3>wxDirDialog::wxDirDialog</H3>
<P>
<B></B> <B>wxDirDialog</B>(<B>wxWindow* </B><I>parent</I>, <B>const wxString&amp; </B><I>message = "Choose a directory"</I>,
<B>const wxString&amp; </B><I>defaultPath = ""</I>, <B>long </B><I>style = 0</I>, <B>const wxPoint&amp; </B><I>pos = wxDefaultPosition</I>)<P>
Constructor. Use <A HREF="wx72.htm#wxdirdialogshowmodal">wxDirDialog::ShowModal</A> to show the dialog.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>parent</I><UL><UL>
Parent window.</UL></UL>
<P>
<I>message</I><UL><UL>
Message to show on the dialog.</UL></UL>
<P>
<I>defaultPath</I><UL><UL>
The default path, or the empty string.</UL></UL>
<P>
<I>style</I><UL><UL>
A dialog style, currently unused.</UL></UL>
<P>
<I>pos</I><UL><UL>
Dialog position. Not implemented.</UL></UL>
<P>

<HR>
<A NAME="topic202"></A>
<H3>wxDirDialog::~wxDirDialog</H3>
<P>
<B></B> <B>~wxDirDialog</B>()<P>
Destructor.<P>

<HR>
<A NAME="wxdirdialoggetpath"></A>
<H3>wxDirDialog::GetPath</H3>
<P>
<B>wxString</B> <B>GetPath</B>() <B>const</B><P>
Returns the default or user-selected path.<P>

<HR>
<A NAME="wxdirdialoggetmessage"></A>
<H3>wxDirDialog::GetMessage</H3>
<P>
<B>wxString</B> <B>GetMessage</B>() <B>const</B><P>
Returns the message that will be displayed on the dialog.<P>

<HR>
<A NAME="wxdirdialoggetstyle"></A>
<H3>wxDirDialog::GetStyle</H3>
<P>
<B>long</B> <B>GetStyle</B>() <B>const</B><P>
Returns the dialog style.<P>

<HR>
<A NAME="wxdirdialogsetmessage"></A>
<H3>wxDirDialog::SetMessage</H3>
<P>
<B>void</B> <B>SetMessage</B>(<B>const wxString&amp; </B><I>message</I>)<P>
Sets the message that will be displayed on the dialog.<P>

<HR>
<A NAME="wxdirdialogsetpath"></A>
<H3>wxDirDialog::SetPath</H3>
<P>
<B>void</B> <B>SetPath</B>(<B>const wxString&amp; </B><I>path</I>)<P>
Sets the default path.<P>

<HR>
<A NAME="wxdirdialogsetstyle"></A>
<H3>wxDirDialog::SetStyle</H3>
<P>
<B>void</B> <B>SetStyle</B>(<B>long </B><I>style</I>)<P>
Sets the dialog style. This is currently unused.<P>

<HR>
<A NAME="wxdirdialogshowmodal"></A>
<H3>wxDirDialog::ShowModal</H3>
<P>
<B>int</B> <B>ShowModal</B>()<P>
Shows the dialog, returning wxID_OK if the user pressed OK, and wxOK_CANCEL
otherwise.<P>


</BODY></HTML>