Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMessage Closed Pin
22-Feb-16 3:16
Member 1213944222-Feb-16 3:16 
GeneralRe: C, Win32 API: painting on a tabcontrol Pin
Richard MacCutchan22-Feb-16 3:20
mveRichard MacCutchan22-Feb-16 3:20 
AnswerRe: C, Win32 API: painting on a tabcontrol Pin
Graham Breach21-Feb-16 22:13
Graham Breach21-Feb-16 22:13 
GeneralRe: C, Win32 API: painting on a tabcontrol Pin
Member 1213944222-Feb-16 3:43
Member 1213944222-Feb-16 3:43 
GeneralRe: C, Win32 API: painting on a tabcontrol Pin
Richard MacCutchan22-Feb-16 4:28
mveRichard MacCutchan22-Feb-16 4:28 
AnswerRe: C, Win32 API: painting on a tabcontrol [Solved] Pin
Member 1213944222-Feb-16 11:31
Member 1213944222-Feb-16 11:31 
NewsCAysncSocket Notifications Pin
ForNow19-Feb-16 5:39
ForNow19-Feb-16 5:39 
GeneralRe: CAysncSocket Notifications Pin
Victor Nijegorodov23-Feb-16 1:50
Victor Nijegorodov23-Feb-16 1:50 
GeneralRe: CAysncSocket Notifications Pin
ForNow23-Feb-16 2:10
ForNow23-Feb-16 2:10 
GeneralRe: CAysncSocket Notifications Pin
Victor Nijegorodov23-Feb-16 23:01
Victor Nijegorodov23-Feb-16 23:01 
GeneralRe: CAysncSocket Notifications Pin
ForNow24-Feb-16 3:17
ForNow24-Feb-16 3:17 
GeneralRe: CAysncSocket Notifications Pin
Victor Nijegorodov24-Feb-16 5:36
Victor Nijegorodov24-Feb-16 5:36 
QuestionOpening a Second File from Explorer Pin
wdolson18-Feb-16 23:02
wdolson18-Feb-16 23:02 
AnswerRe: Opening a Second File from Explorer Pin
Jochen Arndt18-Feb-16 23:51
professionalJochen Arndt18-Feb-16 23:51 
GeneralRe: Opening a Second File from Explorer Pin
wdolson19-Feb-16 0:31
wdolson19-Feb-16 0:31 
GeneralRe: Opening a Second File from Explorer Pin
Jochen Arndt19-Feb-16 0:55
professionalJochen Arndt19-Feb-16 0:55 
The Explorer will scan the registry searching for the application name associated with the file extension. When found it reads the shell/open keys and checks if there are entries for command, ddeexec, and DropTarget. Then it will use the found method with the highest priority to pass the data (file names) to your application after starting it if necessary.

Nothing must be installed in the Explorer. You must only create the registry keys and add code to your application to handle the data (the code for basic command handling is already present). Other file browsers should do it like the Explorer.

One reason why IDropTarget was choosen is explained in the link:
Quote:
This method leverages an application's existing drop target implementation (if one exists), making it easy for applications that already support drag-and-drop through an IDropTarget implementation on their top level window to map that functionality into a verb that ise presented in the explorer.

I don't think Word is still using DDE (while old versions probably used it). It will probably use IDropTarget.
GeneralRe: Opening a Second File from Explorer Pin
Richard MacCutchan19-Feb-16 1:02
mveRichard MacCutchan19-Feb-16 1:02 
GeneralRe: Opening a Second File from Explorer Pin
wdolson19-Feb-16 20:42
wdolson19-Feb-16 20:42 
GeneralRe: Opening a Second File from Explorer Pin
wdolson4-Mar-16 14:29
wdolson4-Mar-16 14:29 
QuestionCAsyncSocket::connect ipaddr ? Pin
ForNow16-Feb-16 13:20
ForNow16-Feb-16 13:20 
AnswerRe: CAsyncSocket::connect ipaddr ? Pin
Richard MacCutchan16-Feb-16 22:12
mveRichard MacCutchan16-Feb-16 22:12 
GeneralRe: CAsyncSocket::connect ipaddr ? Pin
ForNow17-Feb-16 3:39
ForNow17-Feb-16 3:39 
GeneralRe: CAsyncSocket::connect ipaddr ? Pin
Richard MacCutchan17-Feb-16 4:22
mveRichard MacCutchan17-Feb-16 4:22 
QuestionMFC Fragility to multiple threads Pin
Bram van Kampen11-Feb-16 13:43
Bram van Kampen11-Feb-16 13:43 
AnswerRe: MFC Fragility to multiple threads Pin
Jochen Arndt11-Feb-16 21:19
professionalJochen Arndt11-Feb-16 21:19 

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.