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