Click here to Skip to main content
15,915,319 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralATTRIBUTE Pin
sunit55-Apr-05 2:13
sunit55-Apr-05 2:13 
GeneralRe: ATTRIBUTE Pin
sunit55-Apr-05 3:11
sunit55-Apr-05 3:11 
GeneralWELL DONE Pin
BadJerry5-Apr-05 3:35
BadJerry5-Apr-05 3:35 
GeneralRe: WELL DONE Pin
ThatsAlok5-Apr-05 3:53
ThatsAlok5-Apr-05 3:53 
GeneralRe: WELL DONE Pin
BadJerry5-Apr-05 4:06
BadJerry5-Apr-05 4:06 
GeneralRe: WELL DONE Pin
ThatsAlok5-Apr-05 17:54
ThatsAlok5-Apr-05 17:54 
GeneralMFC Pin
charu1235-Apr-05 2:11
charu1235-Apr-05 2:11 
GeneralRe: MFC Pin
toxcct5-Apr-05 2:22
toxcct5-Apr-05 2:22 
charu123 wrote:
How can i save the values which are entered in the dialogs say an edit button.

first, Edit button don't exist. I consider now you were talking about an Edit Box control.
CEdit* pEdit = GetDlgItem(ICD_MYEDIT);  <font color=#008000>// the ident of your control...</font>
CString strEditContent;
pEdit->GetWindowText(strEditContent);   <font color=#008000>// Filled with the Edit content...</font>



charu123 wrote:
also how can isave values entered in combobox at runtime so that the next time i run the application the combo box gets populated with the values which were entered previously.

you must save it outside the app (file, registry...), and search for it into OnInitDialog() to fill your control with the value (SetWindowText())



TOXCCT >>> GEII power
[toxcct][VisualCalc]
GeneralRe: MFC Pin
charu1235-Apr-05 19:31
charu1235-Apr-05 19:31 
GeneralCant use Ctrl+C etc. with CSplitterWnd Pin
ugur_basak5-Apr-05 1:40
ugur_basak5-Apr-05 1:40 
GeneralFlat CComboBoxEx Pin
BadJerry5-Apr-05 1:31
BadJerry5-Apr-05 1:31 
GeneralRe: Flat CComboBoxEx Pin
Alexander M.,5-Apr-05 8:36
Alexander M.,5-Apr-05 8:36 
Questionhow to setfocus.. Pin
mpallavi5-Apr-05 1:28
mpallavi5-Apr-05 1:28 
AnswerRe: how to setfocus.. Pin
toxcct5-Apr-05 1:49
toxcct5-Apr-05 1:49 
Generalthanx Pin
mpallavi5-Apr-05 1:57
mpallavi5-Apr-05 1:57 
GeneralWindows Tree view in vc++ Pin
accessnetwork5-Apr-05 1:21
accessnetwork5-Apr-05 1:21 
QuestionSelf-initilization of class? Pin
Gadjuka5-Apr-05 1:09
Gadjuka5-Apr-05 1:09 
AnswerRe: Self-initilization of class? Pin
S. Senthil Kumar5-Apr-05 1:29
S. Senthil Kumar5-Apr-05 1:29 
GeneralRe: Self-initilization of class? Pin
Cedric Moonen5-Apr-05 2:38
Cedric Moonen5-Apr-05 2:38 
GeneralRe: Self-initilization of class? Pin
Ravi Bhavnani5-Apr-05 2:55
professionalRavi Bhavnani5-Apr-05 2:55 
GeneralRe: Self-initilization of class? Pin
S. Senthil Kumar5-Apr-05 4:23
S. Senthil Kumar5-Apr-05 4:23 
GeneralRe: Self-initilization of class? Pin
Ravi Bhavnani5-Apr-05 5:46
professionalRavi Bhavnani5-Apr-05 5:46 
AnswerRe: Self-initilization of class? Pin
Cedric Moonen5-Apr-05 2:29
Cedric Moonen5-Apr-05 2:29 
AnswerRe: Self-initilization of class? Pin
Gadjuka5-Apr-05 5:42
Gadjuka5-Apr-05 5:42 
GeneralRe: Self-initilization of class? Pin
S. Senthil Kumar5-Apr-05 20:49
S. Senthil Kumar5-Apr-05 20:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.