Click here to Skip to main content
15,885,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
SuggestionRe: Printing with a CString Pin
Richard MacCutchan5-Dec-14 4:05
mveRichard MacCutchan5-Dec-14 4:05 
AnswerRe: Printing with a CString Pin
Randor 5-Dec-14 6:14
professional Randor 5-Dec-14 6:14 
QuestionCS Data Struct Pin
Member 112872284-Dec-14 12:46
Member 112872284-Dec-14 12:46 
AnswerRe: CS Data Struct Pin
Richard MacCutchan4-Dec-14 21:27
mveRichard MacCutchan4-Dec-14 21:27 
AnswerRe: CS Data Struct Pin
CPallini4-Dec-14 21:46
mveCPallini4-Dec-14 21:46 
QuestionMFC app - "Encountered an improper argument" Pin
Member 112858094-Dec-14 1:08
Member 112858094-Dec-14 1:08 
AnswerRe: MFC app - "Encountered an improper argument" Pin
Richard MacCutchan4-Dec-14 2:04
mveRichard MacCutchan4-Dec-14 2:04 
GeneralRe: MFC app - "Encountered an improper argument" Pin
Member 112858094-Dec-14 2:09
Member 112858094-Dec-14 2:09 
C++
BOOL CPasswordGeneratorWriterDlg::SavePasswordFile()
{
	// Create an instance  
	CFileDialog fileDlg( 
		FALSE, 
		NULL, 
		NULL, 
		OFN_ALLOWMULTISELECT | OFN_HIDEREADONLY, 
		"All Files (*.*)|*.*||", 
		NULL);

	// Initializes m_ofn structure 
	fileDlg.m_ofn.lpstrTitle = "Save file as...";

	// Call DoModal
	if(fileDlg.DoModal() == IDOK)
	{
		CString szlstfile = fileDlg.GetPathName(); // This is your selected file name with path
		//AfxMessageBox("Your file name is :" +szlstfile );

		return SavePasswordFileAs(szlstfile);
	}
    return FALSE;
}

GeneralRe: MFC app - "Encountered an improper argument" Pin
Richard MacCutchan4-Dec-14 2:39
mveRichard MacCutchan4-Dec-14 2:39 
GeneralRe: MFC app - "Encountered an improper argument" Pin
Member 112858094-Dec-14 3:06
Member 112858094-Dec-14 3:06 
QuestionGroupBox ScrollBar Is not working Pin
Member 108664273-Dec-14 22:59
Member 108664273-Dec-14 22:59 
SuggestionRe: GroupBox ScrollBar Is not working Pin
Richard MacCutchan3-Dec-14 23:23
mveRichard MacCutchan3-Dec-14 23:23 
AnswerRe: GroupBox ScrollBar Is not working Pin
Randor 5-Dec-14 6:31
professional Randor 5-Dec-14 6:31 
QuestionExternal program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832723-Dec-14 4:04
Member 112832723-Dec-14 4:04 
AnswerRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832723-Dec-14 16:37
Member 112832723-Dec-14 16:37 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Richard MacCutchan3-Dec-14 20:50
mveRichard MacCutchan3-Dec-14 20:50 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832724-Dec-14 19:04
Member 112832724-Dec-14 19:04 
QuestionRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Richard MacCutchan4-Dec-14 21:24
mveRichard MacCutchan4-Dec-14 21:24 
AnswerRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832724-Dec-14 21:33
Member 112832724-Dec-14 21:33 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Richard MacCutchan5-Dec-14 3:12
mveRichard MacCutchan5-Dec-14 3:12 
AnswerRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832725-Dec-14 3:44
Member 112832725-Dec-14 3:44 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Richard MacCutchan5-Dec-14 3:52
mveRichard MacCutchan5-Dec-14 3:52 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832725-Dec-14 4:38
Member 112832725-Dec-14 4:38 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Richard MacCutchan5-Dec-14 4:52
mveRichard MacCutchan5-Dec-14 4:52 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832727-Dec-14 19:14
Member 112832727-Dec-14 19:14 

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.