wavelength 1.0.0
Loading...
Searching...
No Matches
CIntDialog Class Reference

Dialogue that prompts for a whole number from 0 to 10000. More...

#include <IntDialog.h>

Inheritance diagram for CIntDialog:
Collaboration diagram for CIntDialog:

Public Types

enum  { IDD = IDD_INTDIALOG }
 The dialogue template. More...

Public Member Functions

 CIntDialog (CWnd *parent)
 Prepare the dialogue with a value of zero.
virtual ~CIntDialog ()
virtual int DoModal ()
 Show the dialogue.
void SetTitle (String title)
 Set the caption the dialogue shows.

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 Exchange the number with the edit control, limiting it to 0 to 10000.
virtual BOOL OnInitDialog ()
 Show the caption.

Detailed Description

Dialogue that prompts for a whole number from 0 to 10000.

The class name is from the message map. The names of its members are inferred.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

The dialogue template.

Enumerator
IDD 

Constructor & Destructor Documentation

◆ CIntDialog()

CIntDialog::CIntDialog ( CWnd * parent)

Prepare the dialogue with a value of zero.

Parameters
parentThe owner window, or null.
Ghidra address:
0x100015f0

◆ ~CIntDialog()

virtual CIntDialog::~CIntDialog ( )
virtual
Ghidra address:
0x100018b0

Member Function Documentation

◆ DoModal()

virtual int CIntDialog::DoModal ( )
virtual

Show the dialogue.

Returns
The number entered, or -1 when the dialogue was cancelled.
Ghidra address:
0x100016e7

◆ SetTitle()

void CIntDialog::SetTitle ( String title)
inline

Set the caption the dialogue shows.

Parameters
titleThe caption.
Ghidra address:
0x100069f0

◆ DoDataExchange()

virtual void CIntDialog::DoDataExchange ( CDataExchange * pDX)
protectedvirtual

Exchange the number with the edit control, limiting it to 0 to 10000.

Parameters
pDXThe exchange.
Ghidra address:
0x1000165c

◆ OnInitDialog()

virtual BOOL CIntDialog::OnInitDialog ( )
protectedvirtual

Show the caption.

Returns
One, to let the system set the focus.
Ghidra address:
0x100016bb

The documentation for this class was generated from the following file: