Click here to Skip to main content
15,911,715 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVideo Player? Pin
granshah @ eVisionISF21-Jun-07 22:24
granshah @ eVisionISF21-Jun-07 22:24 
AnswerRe: Video Player? Pin
Trollslayer21-Jun-07 23:05
mentorTrollslayer21-Jun-07 23:05 
AnswerRe: Video Player? [modified] Pin
Rajkumar R21-Jun-07 23:29
Rajkumar R21-Jun-07 23:29 
AnswerRe: Video Player? Pin
Hamid_RT22-Jun-07 2:16
Hamid_RT22-Jun-07 2:16 
QuestionUninstall menu for application by Windows Installer Pin
rp_suman21-Jun-07 22:17
rp_suman21-Jun-07 22:17 
AnswerRe: Uninstall menu for application by Windows Installer Pin
kvrnkiran22-Jun-07 0:27
kvrnkiran22-Jun-07 0:27 
QuestionInsert text to opened word-document Pin
baerten21-Jun-07 21:26
baerten21-Jun-07 21:26 
AnswerRe: Insert text to opened word-document Pin
Matthew Faithfull21-Jun-07 21:37
Matthew Faithfull21-Jun-07 21:37 
baerten wrote:
Before i start, is it possible to do that in MFC?


Yes. MFC integrates fine with Drag'n'Drop and the Clipboard.

baerten wrote:
If i start the drag with the mouse and i leave the mouse-button ( the drop ) on another
application, is it possible to determine in my application on which application i made the "drop" ?


Not usually and if you didn't write the other app it's probably not a good idea to try anyway. If you want specific content for Word then you'll have to supply that data to the Clipboard in a Word specific format.

I'm afraid I don't have quick access to any examples/samples at this moment but it's the Clipboard that mediates this kind of task so you need the works on Clipboard formats and Clipboard programming. That's how the target application actually get data from you and it will select which of the formats you make available it wants to take from the Clipboard. Office apps will take their own private formats ahead of shared/generic ones. I don't know about Word but when I last looked at this Excel supported 21 Clipboard formats OMG | :OMG:


Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: Insert text to opened word-document Pin
baerten21-Jun-07 21:46
baerten21-Jun-07 21:46 
GeneralRe: Insert text to opened word-document Pin
Matthew Faithfull21-Jun-07 22:04
Matthew Faithfull21-Jun-07 22:04 
GeneralRe: Insert text to opened word-document Pin
baerten21-Jun-07 22:10
baerten21-Jun-07 22:10 
GeneralRe: Insert text to opened word-document Pin
Matthew Faithfull21-Jun-07 22:28
Matthew Faithfull21-Jun-07 22:28 
JokeRe: Insert text to opened word-document Pin
baerten21-Jun-07 22:49
baerten21-Jun-07 22:49 
QuestionUSB Removable Drive Detection in Win CE 5.0 Pin
cyberanee21-Jun-07 21:06
cyberanee21-Jun-07 21:06 
AnswerRe: USB Removable Drive Detection in Win CE 5.0 Pin
Matthew Faithfull21-Jun-07 21:29
Matthew Faithfull21-Jun-07 21:29 
QuestionRe: USB Removable Drive Detection in Win CE 5.0 Pin
cyberanee27-Jun-07 2:28
cyberanee27-Jun-07 2:28 
AnswerRe: USB Removable Drive Detection in Win CE 5.0 Pin
Matthew Faithfull28-Jun-07 7:29
Matthew Faithfull28-Jun-07 7:29 
Question16-bit Windows program and 32-bit DLLs Pin
Krishnatv21-Jun-07 20:48
Krishnatv21-Jun-07 20:48 
QuestionRe: 16-bit Windows program and 32-bit DLLs Pin
David Crow22-Jun-07 2:43
David Crow22-Jun-07 2:43 
AnswerRe: 16-bit Windows program and 32-bit DLLs Pin
Mark Salsbery22-Jun-07 6:16
Mark Salsbery22-Jun-07 6:16 
AnswerRe: 16-bit Windows program and 32-bit DLLs Pin
Mark Salsbery22-Jun-07 6:21
Mark Salsbery22-Jun-07 6:21 
QuestionCList new and delete Pin
devvvy21-Jun-07 20:34
devvvy21-Jun-07 20:34 
AnswerRe: CList new and delete Pin
Cedric Moonen21-Jun-07 20:48
Cedric Moonen21-Jun-07 20:48 
GeneralRe: CList new and delete Pin
devvvy21-Jun-07 21:07
devvvy21-Jun-07 21:07 
GeneralRe: CList new and delete Pin
Cedric Moonen21-Jun-07 21:20
Cedric Moonen21-Jun-07 21:20 

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.