Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
InputDlg Class Reference

#include <InputDlg.h>

Public Member Functions

 InputDlg (HWND hWndParent=NULL)
 
int DoModal (void)
 
void SetCaption (const char *caption)
 
void SetLabel (const char *label)
 
void SetValue (const char *value)
 
BOOL CALLBACK DialogProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 

Public Attributes

char m_Value [1024]
 
char m_Label [512]
 
char m_Caption [128]
 

Protected Types

enum  { IDD = IDD_INPUT_DIALOG }
 

Protected Member Functions

LRESULT OnInitDialog (WPARAM wParam, LPARAM lParam)
 
BOOL OnOK (void)
 

Protected Attributes

HWND m_hWnd
 
HWND m_hWndParent
 

Friends

BOOL CALLBACK _thunk_dialog_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 

Detailed Description

Definition at line 49 of file InputDlg.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
IDD 

Definition at line 76 of file InputDlg.h.

Constructor & Destructor Documentation

◆ InputDlg()

InputDlg::InputDlg ( HWND hWndParent = NULL)

Definition at line 53 of file InputDlg.cpp.

Member Function Documentation

◆ DialogProc()

BOOL CALLBACK InputDlg::DialogProc ( HWND hWnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam )

Definition at line 131 of file InputDlg.cpp.

◆ DoModal()

int InputDlg::DoModal ( void )

Definition at line 67 of file InputDlg.cpp.

◆ OnInitDialog()

LRESULT InputDlg::OnInitDialog ( WPARAM wParam,
LPARAM lParam )
protected

Definition at line 179 of file InputDlg.cpp.

◆ OnOK()

BOOL InputDlg::OnOK ( void )
protected

Definition at line 203 of file InputDlg.cpp.

◆ SetCaption()

void InputDlg::SetCaption ( const char * caption)

Definition at line 78 of file InputDlg.cpp.

◆ SetLabel()

void InputDlg::SetLabel ( const char * label)

Definition at line 89 of file InputDlg.cpp.

◆ SetValue()

void InputDlg::SetValue ( const char * value)

Definition at line 100 of file InputDlg.cpp.

Friends And Related Symbol Documentation

◆ _thunk_dialog_proc

BOOL CALLBACK _thunk_dialog_proc ( HWND hWnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam )
friend

Definition at line 82 of file ExportAllDlg.cpp.

Member Data Documentation

◆ m_Caption

char InputDlg::m_Caption[128]

Definition at line 71 of file InputDlg.h.

◆ m_hWnd

HWND InputDlg::m_hWnd
protected

Definition at line 77 of file InputDlg.h.

◆ m_hWndParent

HWND InputDlg::m_hWndParent
protected

Definition at line 78 of file InputDlg.h.

◆ m_Label

char InputDlg::m_Label[512]

Definition at line 70 of file InputDlg.h.

◆ m_Value

char InputDlg::m_Value[1024]

Definition at line 69 of file InputDlg.h.


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