]>
git.saurik.com Git - wxWidgets.git/blob - interface/wx/numdlg.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: interface of global functions
4 // Author: wxWidgets team
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
9 /** @ingroup group_funcmacro_dialog */
13 Shows a dialog asking the user for numeric input. The dialogs title is set
14 to @c caption, it contains a (possibly) multiline @c message above the
15 single line @c prompt and the zone for entering the number.
17 The number entered must be in the range @c min to @c max (both of which
18 should be positive) and @c value is the initial value of it. If the user
19 enters an invalid value or cancels the dialog, the function will return
22 Dialog is centered on its @c parent unless an explicit position is given
27 long wxGetNumberFromUser(const wxString
& message
,
28 const wxString
& prompt
,
29 const wxString
& caption
,
33 wxWindow
* parent
= NULL
,
34 const wxPoint
& pos
= wxDefaultPosition
);