Click here to Skip to main content
15,921,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Kill Command Pin
mpapeo4-Apr-05 12:13
mpapeo4-Apr-05 12:13 
GeneralMFC MDI Help Menu Pin
Kyudos4-Apr-05 0:09
Kyudos4-Apr-05 0:09 
GeneralRe: MFC MDI Help Menu Pin
Kyudos4-Apr-05 4:01
Kyudos4-Apr-05 4:01 
General. Pin
hssaroch3-Apr-05 23:41
hssaroch3-Apr-05 23:41 
GeneralRe: Network gaming problem Pin
Alexander M.,4-Apr-05 2:37
Alexander M.,4-Apr-05 2:37 
GeneralSaving a list box or list control data to txt file Pin
shinyhui3-Apr-05 23:33
shinyhui3-Apr-05 23:33 
GeneralRe: Saving a list box or list control data to txt file Pin
toxcct3-Apr-05 23:53
toxcct3-Apr-05 23:53 
GeneralRe: Saving a list box or list control data to txt file Pin
RobJones4-Apr-05 5:44
RobJones4-Apr-05 5:44 
Here is the CFileDialog part only, the other part you asked was already answered....

static char BASED_CODE szFilter[] = _T("Text Files (*.txt)|*.txt||");
CFileDialog m_ldFile(FALSE,_T(".txt"),_T("file.txt"),OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, szFilter);

if (m_ldFile.DoModal() == IDOK)
{
	// Get the filename selected
	CString strPath = m_ldFile.GetPathName();

/*
 * Save the data off using the method the other person
 * responded with...
 */

}

Whoever said nothing's impossible never tried slamming a revolving door!
GeneralRe: Saving a list box or list control data to txt file Pin
shinyhui4-Apr-05 14:17
shinyhui4-Apr-05 14:17 
GeneralTELNET FAILURE!!! URGENT HELP NEEDED!!! Pin
URagavSouth3-Apr-05 23:32
URagavSouth3-Apr-05 23:32 
Generalvalidation Pin
mpapeo3-Apr-05 23:14
mpapeo3-Apr-05 23:14 
GeneralRe: validation Pin
Gary R. Wheeler4-Apr-05 1:57
Gary R. Wheeler4-Apr-05 1:57 
GeneralRe: validation Pin
David Crow4-Apr-05 2:55
David Crow4-Apr-05 2:55 
GeneralRe: validation Pin
mpapeo4-Apr-05 7:51
mpapeo4-Apr-05 7:51 
GeneralRe: validation Pin
mpapeo4-Apr-05 10:30
mpapeo4-Apr-05 10:30 
GeneralRe: validation Pin
David Crow4-Apr-05 10:38
David Crow4-Apr-05 10:38 
GeneralRe: validation Pin
mpapeo4-Apr-05 11:01
mpapeo4-Apr-05 11:01 
GeneralRe: validation Pin
mpapeo4-Apr-05 12:01
mpapeo4-Apr-05 12:01 
GeneralRe: validation Pin
David Crow4-Apr-05 17:03
David Crow4-Apr-05 17:03 
GeneralRe: validation Pin
David Crow4-Apr-05 17:01
David Crow4-Apr-05 17:01 
Generalglobal variables in dynamic link library Pin
arthi_mclt3-Apr-05 23:05
arthi_mclt3-Apr-05 23:05 
GeneralRe: global variables in dynamic link library Pin
Alexander M.,4-Apr-05 2:53
Alexander M.,4-Apr-05 2:53 
GeneralText display with CHtmlView Pin
lordguid3-Apr-05 22:48
lordguid3-Apr-05 22:48 
GeneralRichEdit and Console Pin
AdyOS3-Apr-05 22:36
AdyOS3-Apr-05 22:36 
GeneralRe: RichEdit and Console Pin
toxcct3-Apr-05 22:39
toxcct3-Apr-05 22:39 

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.