#include <namedlg.h>
Inheritance diagram for NameDialogParam:
Public Member Functions | |
NameDialogParam () | |
BOOL | DialogCancelled () |
void | SetDialogCancelled () |
BOOL | SetNameGiven (const StringBase &StringEntered) |
Data access. | |
const StringBase & | GetNameEntered () const |
StringBase & | GetNameEntered () |
Private Member Functions | |
CC_DECLARE_MEMDUMP (NameDialogParam) | |
Private Attributes | |
String_256 | m_StringEntered |
BOOL | m_Cancelled |
Definition at line 121 of file namedlg.h.
|
Definition at line 126 of file namedlg.h. 00126 : m_Cancelled(FALSE) {}
|
|
|
|
Definition at line 128 of file namedlg.h. 00128 { return m_Cancelled; }
|
|
Definition at line 133 of file namedlg.h. 00133 { return m_StringEntered; }
|
|
Definition at line 132 of file namedlg.h. 00132 { return m_StringEntered; }
|
|
Definition at line 129 of file namedlg.h. 00129 { m_Cancelled = TRUE; }
|
|
Data access.
Definition at line 148 of file namedlg.cpp. 00149 { 00150 BOOL AllCopied = TRUE; // return this 00151 00152 UINT32 LengthToCopy = 0; 00153 if (StringEntered.Length() <= m_StringEntered.MaxLength()) 00154 { 00155 LengthToCopy = StringEntered.Length(); 00156 } 00157 else 00158 { 00159 AllCopied = FALSE; 00160 LengthToCopy = m_StringEntered.MaxLength(); 00161 } 00162 00163 StringEntered.Left(&m_StringEntered, LengthToCopy); 00164 00165 return AllCopied; 00166 }
|
|
|
|
|