Click here to Skip to main content
15,900,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can i make resident program in visual c++? Pin
Gary R. Wheeler4-Jul-06 5:57
Gary R. Wheeler4-Jul-06 5:57 
Questiondialog handle [modified] Pin
locoone4-Jul-06 4:07
locoone4-Jul-06 4:07 
AnswerRe: dialog handle Pin
Justin Tay4-Jul-06 5:34
Justin Tay4-Jul-06 5:34 
AnswerRe: dialog handle Pin
Kharfax4-Jul-06 6:12
Kharfax4-Jul-06 6:12 
Questionhow can i mix this 2 project ! Pin
farshad.f4-Jul-06 4:02
farshad.f4-Jul-06 4:02 
AnswerRe: how can i mix this 2 project ! Pin
Sarath C4-Jul-06 5:55
Sarath C4-Jul-06 5:55 
GeneralRe: how can i mix this 2 project ! [modified] Pin
farshad.f4-Jul-06 6:48
farshad.f4-Jul-06 6:48 
QuestionCFileDialog Pin
Desmo164-Jul-06 4:01
Desmo164-Jul-06 4:01 
Hi all,

I need to open ascii files in a project and i do that like this;

CString str;
CFileDialog fd(TRUE, NULL, str, OFN_FILEMUSTEXIST | OFN_HIDEREADONLY);

if (fd.DoModal() == IDOK)
{
str = fd.GetPathName();
UpdateData(false);
[...]
}
I'd like to know:
1) how to modify the dialog caption (default is "Open File")
2) what's the meaning of UpdateData(False)
3) what should i do to save a file instead of loading it.

Thanx in advance,
Desmo16.
AnswerRe: CFileDialog Pin
Sarath C4-Jul-06 4:36
Sarath C4-Jul-06 4:36 
AnswerRe: CFileDialog Pin
Hamid_RT4-Jul-06 5:44
Hamid_RT4-Jul-06 5:44 
GeneralRe: CFileDialog Pin
Sarath C4-Jul-06 5:51
Sarath C4-Jul-06 5:51 
GeneralRe: CFileDialog Pin
Hamid_RT4-Jul-06 5:55
Hamid_RT4-Jul-06 5:55 
GeneralRe: CFileDialog Pin
Sarath C4-Jul-06 6:12
Sarath C4-Jul-06 6:12 
AnswerRe: CFileDialog Pin
Sarath C4-Jul-06 6:13
Sarath C4-Jul-06 6:13 
QuestionHow to get a Handle Type Pin
Kharfax4-Jul-06 3:32
Kharfax4-Jul-06 3:32 
AnswerRe: How to get a Handle Type Pin
Sarath C4-Jul-06 6:54
Sarath C4-Jul-06 6:54 
Questionminimized Pin
ashish dogra4-Jul-06 2:57
ashish dogra4-Jul-06 2:57 
AnswerRe: minimized Pin
Sarath C4-Jul-06 3:19
Sarath C4-Jul-06 3:19 
Questionshow Pin
ashish dogra4-Jul-06 2:54
ashish dogra4-Jul-06 2:54 
GeneralRe: show Pin
Sarath C4-Jul-06 3:20
Sarath C4-Jul-06 3:20 
JokeRe: show Pin
toxcct4-Jul-06 6:35
toxcct4-Jul-06 6:35 
QuestionXML DOMDocument COM and windows service Pin
S-Andy4-Jul-06 2:17
S-Andy4-Jul-06 2:17 
QuestionFind focused control in CDialog? Pin
george ivanov4-Jul-06 2:13
george ivanov4-Jul-06 2:13 
AnswerRe: Find focused control in CDialog? Pin
Hamid_RT4-Jul-06 2:23
Hamid_RT4-Jul-06 2:23 
AnswerRe: Find focused control in CDialog? Pin
Sarath C4-Jul-06 2:23
Sarath C4-Jul-06 2:23 

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.