Click here to Skip to main content
15,912,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General3 D Push Button control Pin
thiyags2-May-05 21:04
thiyags2-May-05 21:04 
GeneralRe: 3 D Push Button control Pin
ThatsAlok2-May-05 23:53
ThatsAlok2-May-05 23:53 
GeneralActive Directory Pin
Yevgeny Efter2-May-05 20:46
Yevgeny Efter2-May-05 20:46 
GeneralRe: Active Directory Pin
spsharma2-May-05 23:22
spsharma2-May-05 23:22 
QuestionHelp needed in setting the dimensions of the window, when clicked on restore? Pin
ledallam2-May-05 20:21
ledallam2-May-05 20:21 
AnswerRe: Help needed in setting the dimensions of the window, when clicked on restore? Pin
Abhi Lahare2-May-05 22:19
Abhi Lahare2-May-05 22:19 
GeneralPostgreSQL Pin
Deian2-May-05 20:16
Deian2-May-05 20:16 
QuestionCFileDialog save/replace problem? Pin
ledallam2-May-05 20:08
ledallam2-May-05 20:08 
Hi

I am working with CFileDialog in MFC SDI application. When I open a file for ex: test.txt from File->Open menu, the contents of the file are read and displayed on the view. When I select, File->Save option to save the contents of the file, a CFileDialog is displayed. When the selected file from CFileDialog is the same file as the opened one i.e test.txt, then a special message should be displayed to the user and the default windows warning message asking for replacing the file should not be displayed. However if any different already existing file is selected, then the default windows warning message should be displayed. In other words, I want to ovveride the function that is called when we click on CFileDialog's save button.

Can anyone please give me some inputs for doing this?

Thanks


AnswerRe: CFileDialog save/replace problem? Pin
James R. Twine3-May-05 3:44
James R. Twine3-May-05 3:44 
GeneralJava Launcher Pin
vyjesh2-May-05 19:55
vyjesh2-May-05 19:55 
GeneralRe: Java Launcher Pin
CP Visitor2-May-05 23:03
CP Visitor2-May-05 23:03 
GeneralHELP!!! Dependancy problem of MFC. Pin
Sstar2-May-05 19:39
Sstar2-May-05 19:39 
GeneralRe: HELP!!! Dependancy problem of MFC. Pin
Christian Graus2-May-05 19:51
protectorChristian Graus2-May-05 19:51 
GeneralRe: HELP!!! Dependancy problem of MFC. Pin
Sstar3-May-05 21:46
Sstar3-May-05 21:46 
GeneralRe: HELP!!! Dependancy problem of MFC. Pin
Christian Graus8-May-05 12:38
protectorChristian Graus8-May-05 12:38 
GeneralGDIPLUS question Pin
Rassul Yunussov2-May-05 19:00
Rassul Yunussov2-May-05 19:00 
GeneralRe: GDIPLUS question Pin
Christian Graus2-May-05 19:50
protectorChristian Graus2-May-05 19:50 
GeneralRe: GDIPLUS question Pin
Rassul Yunussov2-May-05 20:33
Rassul Yunussov2-May-05 20:33 
GeneralRe: GDIPLUS question Pin
Christian Graus3-May-05 13:13
protectorChristian Graus3-May-05 13:13 
GeneralPort blocking ->development of drivers Pin
URagavSouth2-May-05 18:44
URagavSouth2-May-05 18:44 
GeneralRe: Port blocking ->development of drivers Pin
ThatsAlok2-May-05 23:16
ThatsAlok2-May-05 23:16 
GeneralRe: Port blocking ->development of drivers Pin
URagavSouth2-May-05 23:18
URagavSouth2-May-05 23:18 
GeneralRe: Port blocking ->development of drivers Pin
ThatsAlok3-May-05 23:18
ThatsAlok3-May-05 23:18 
GeneralWin 32 console Pin
picasso22-May-05 17:30
picasso22-May-05 17:30 
GeneralRe: Win 32 console Pin
Ryan Binns2-May-05 18:28
Ryan Binns2-May-05 18:28 

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.