Click here to Skip to main content
15,922,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: try catch question Pin
Matthew Faithfull15-Jul-08 0:33
Matthew Faithfull15-Jul-08 0:33 
QuestionHow to disable visual style to the whole project Pin
Atropus13-Jul-08 22:11
Atropus13-Jul-08 22:11 
AnswerRe: How to disable visual style to the whole project Pin
BadKarma13-Jul-08 23:06
BadKarma13-Jul-08 23:06 
GeneralRe: How to disable visual style to the whole project Pin
Atropus13-Jul-08 23:15
Atropus13-Jul-08 23:15 
AnswerRe: How to disable visual style to the whole project Pin
Naveen13-Jul-08 23:08
Naveen13-Jul-08 23:08 
GeneralRe: How to disable visual style to the whole project Pin
Atropus13-Jul-08 23:23
Atropus13-Jul-08 23:23 
GeneralRe: How to disable visual style to the whole project Pin
Naveen13-Jul-08 23:29
Naveen13-Jul-08 23:29 
GeneralRe: How to disable visual style to the whole project Pin
Atropus13-Jul-08 23:33
Atropus13-Jul-08 23:33 
Questionsending clist using writeprocessmemory Pin
Prasann Mayekar13-Jul-08 21:41
Prasann Mayekar13-Jul-08 21:41 
QuestionRe: sending clist using writeprocessmemory Pin
CPallini13-Jul-08 21:49
mveCPallini13-Jul-08 21:49 
AnswerRe: sending clist using writeprocessmemory Pin
Mark Salsbery14-Jul-08 6:25
Mark Salsbery14-Jul-08 6:25 
AnswerRe: sending clist using writeprocessmemory Pin
Stephen Hewitt14-Jul-08 14:55
Stephen Hewitt14-Jul-08 14:55 
Questionhow can i check whether the audio driver installed or not for my vc++ application? Pin
stewens13-Jul-08 20:11
stewens13-Jul-08 20:11 
AnswerRe: how can i check whether the audio driver installed or not for my vc++ application? Pin
Stephen Hewitt13-Jul-08 20:33
Stephen Hewitt13-Jul-08 20:33 
GeneralRe: how can i check whether the audio driver installed or not for my vc++ application? Pin
stewens13-Jul-08 22:09
stewens13-Jul-08 22:09 
Questionpopup dialog using tab controls Pin
ani_ikram13-Jul-08 20:09
ani_ikram13-Jul-08 20:09 
AnswerRe: popup dialog using tab controls Pin
sudhir_Kumar13-Jul-08 20:28
sudhir_Kumar13-Jul-08 20:28 
AnswerRe: popup dialog using tab controls Pin
SandipG 13-Jul-08 21:02
SandipG 13-Jul-08 21:02 
GeneralRe: popup dialog using tab controls Pin
Mark Salsbery14-Jul-08 6:28
Mark Salsbery14-Jul-08 6:28 
QuestionWhat is the correct method to rename a VC6.0 project? Pin
fantasy121513-Jul-08 19:47
fantasy121513-Jul-08 19:47 
AnswerRe: What is the correct method to rename a VC6.0 project? Pin
sudhir_Kumar13-Jul-08 19:52
sudhir_Kumar13-Jul-08 19:52 
GeneralRe: What is the correct method to rename a VC6.0 project? Pin
fantasy121513-Jul-08 20:26
fantasy121513-Jul-08 20:26 
GeneralRe: What is the correct method to rename a VC6.0 project? Pin
sudhir_Kumar13-Jul-08 20:30
sudhir_Kumar13-Jul-08 20:30 
AnswerRe: What is the correct method to rename a VC6.0 project? Pin
ThatsAlok13-Jul-08 20:12
ThatsAlok13-Jul-08 20:12 
Questioncombo box help Pin
projectip13-Jul-08 19:40
projectip13-Jul-08 19:40 
I have cleared some doubts regarding combo box in one of my earlier threads.Had got the solution too.I have a new problem..
I have two dialogs as I told before.there is a combo box in the first dialog.i have a text box in the second dialog.when i click a button, i get the second dialog in which the text box is present.i get the data in the text box in the combo box when i click the ok button .have written code for that.my problem is , i have to see all the data that i enter in the text box in the second dialog into the combo box in first dialog.now what happens is, i can only see the last entered item.i have written it i the OnOK function ,but have commented CDialog::OnOk();
I need to enter details as long as i want and see them all in the first combo box. what to do?
Code in second dialog:
CString i;<br />
	fstream f;<br />
	f.open("C:\\myfile.txt",ios::app);	<br />
	printf("\n");<br />
<br />
		GetDlgItemText(IDC_EDIT2,str_name);<br />
		f.write(str_name.GetBuffer(str_name.GetLength()),str_name.GetLength()); <br />
	f<<endl;<br />
	<br />
	m_combo.AddString(str_name);	<br />
	<br />
		m_edit3.SetWindowText(_T(""));<br />
	f.close();

in first dialog:
Add cd;<br />
	cd.DoModal();<br />
<br />
	m_selcam.AddString(cd.str_name);

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.