Click here to Skip to main content
15,916,949 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to launch an application a file on double click in MFC? Pin
Software200718-Nov-09 8:28
Software200718-Nov-09 8:28 
AnswerRe: How to launch an application a file on double click in MFC? Pin
«_Superman_»18-Nov-09 8:31
professional«_Superman_»18-Nov-09 8:31 
AnswerRe: How to launch an application a file on double click in MFC? Pin
Maximilien18-Nov-09 8:52
Maximilien18-Nov-09 8:52 
GeneralRe: How to launch an application a file on double click in MFC? Pin
Software200718-Nov-09 9:29
Software200718-Nov-09 9:29 
QuestionRe: How to launch an application a file on double click in MFC? Pin
«_Superman_»18-Nov-09 9:37
professional«_Superman_»18-Nov-09 9:37 
AnswerRe: How to launch an application a file on double click in MFC? Pin
Software200718-Nov-09 9:48
Software200718-Nov-09 9:48 
GeneralRe: How to launch an application a file on double click in MFC? Pin
«_Superman_»18-Nov-09 9:50
professional«_Superman_»18-Nov-09 9:50 
GeneralRe: How to launch an application a file on double click in MFC? Pin
Software200718-Nov-09 9:53
Software200718-Nov-09 9:53 
AnswerRe: How to launch an application a file on double click in MFC? Pin
LunaticFringe18-Nov-09 10:35
LunaticFringe18-Nov-09 10:35 
AnswerRe: How to launch an application a file on double click in MFC? Pin
David Crow19-Nov-09 3:31
David Crow19-Nov-09 3:31 
QuestionMFC Dialog and PDF Reader refresh issue Pin
kasi1418-Nov-09 7:37
kasi1418-Nov-09 7:37 
QuestionRe: MFC Dialog and PDF Reader refresh issue Pin
22491718-Nov-09 16:51
22491718-Nov-09 16:51 
QuestionIs there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
A&Ms18-Nov-09 7:37
A&Ms18-Nov-09 7:37 
AnswerRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
Luc Pattyn18-Nov-09 7:44
sitebuilderLuc Pattyn18-Nov-09 7:44 
GeneralRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
A&Ms18-Nov-09 8:05
A&Ms18-Nov-09 8:05 
GeneralRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
Luc Pattyn18-Nov-09 8:19
sitebuilderLuc Pattyn18-Nov-09 8:19 
QuestionRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
David Crow18-Nov-09 7:53
David Crow18-Nov-09 7:53 
AnswerRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? [modified] Pin
A&Ms18-Nov-09 8:07
A&Ms18-Nov-09 8:07 
GeneralRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
«_Superman_»18-Nov-09 8:09
professional«_Superman_»18-Nov-09 8:09 
QuestionRe: DDE in MFC Pin
mla15418-Nov-09 5:51
mla15418-Nov-09 5:51 
AnswerRe: DDE in MFC Pin
22491718-Nov-09 14:02
22491718-Nov-09 14:02 
My best guess is that of the Messagebox you have put in the InitInstance is behind this behaviour. The first time you double click on your file "mdi41.mdi4", your .exe application gets launched, however it is not getting intitalized correctly, untill you dismiss the MessageBox->"InitInstance" by clicking OK.

Once this happens, even though the document did not get loaded correctly, the Application may still be running (verify this using taskmanager). And next time you double click on the document again, the above mentioned running instance get the notification and loads the document correctly.

-Suhredayan

QuestionRe: DDE in MFC Pin
mla15419-Nov-09 11:01
mla15419-Nov-09 11:01 
AnswerRe: DDE in MFC Pin
22491719-Nov-09 14:16
22491719-Nov-09 14:16 
QuestionCFile::Read for readonly files Pin
Rakesh518-Nov-09 3:54
Rakesh518-Nov-09 3:54 
QuestionRe: CFile::Read for readonly files Pin
David Crow18-Nov-09 3:55
David Crow18-Nov-09 3:55 

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.