]> git.saurik.com Git - wxWidgets.git/blob - interface/numdlg.h
rename fobr95.{cpp,h} files to foobar.{cpp,h}
[wxWidgets.git] / interface / numdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: numdlg.h
3 // Purpose: interface of global functions
4 // Author: wxWidgets team
5 // RCS-ID: $Id$
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
8
9 /**
10 Shows a dialog asking the user for numeric input. The dialogs title is set to
11 @e caption, it contains a (possibly) multiline @a message above the
12 single line @a prompt and the zone for entering the number.
13 The number entered must be in the range @e min..@a max (both of which
14 should be positive) and @a value is the initial value of it. If the user
15 enters an invalid value or cancels the dialog, the function will return -1.
16 Dialog is centered on its @a parent unless an explicit position is given in
17 @e pos.
18 */
19 long wxGetNumberFromUser(const wxString& message,
20 const wxString& prompt,
21 const wxString& caption,
22 long value,
23 long min = 0,
24 long max = 100,
25 wxWindow* parent = NULL,
26 const wxPoint& pos = wxDefaultPosition);
27
28