Click here to Skip to main content
15,886,067 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to launch a notepad with the supplied information Pin
toxcct23-Jan-06 23:50
toxcct23-Jan-06 23:50 
AnswerRe: how to launch a notepad with the supplied information Pin
Owner drawn24-Jan-06 0:17
Owner drawn24-Jan-06 0:17 
AnswerRe: how to launch a notepad with the supplied information Pin
Prakash Nadar24-Jan-06 0:30
Prakash Nadar24-Jan-06 0:30 
GeneralRe: how to launch a notepad with the supplied information Pin
rampaul27-Jan-06 2:41
rampaul27-Jan-06 2:41 
QuestionDrag and Drop Pin
Anil_vvs23-Jan-06 23:38
Anil_vvs23-Jan-06 23:38 
QuestionRe: Drag and Drop Pin
Prakash Nadar24-Jan-06 0:37
Prakash Nadar24-Jan-06 0:37 
AnswerRe: Drag and Drop Pin
Anil_vvs24-Jan-06 0:44
Anil_vvs24-Jan-06 0:44 
GeneralRe: Drag and Drop Pin
Prakash Nadar24-Jan-06 1:00
Prakash Nadar24-Jan-06 1:00 
Humm, it is difficult to hook on to someone else implementation of the drag drop.

This is what i did,
1.I had a service running the background which simulated my application specific clipboard.
2.Implement ICopyHook[^], The service implements this hook
3. Specify a directory name which is very unique, like C:\program files\<guidno>

4. When you want to drag drop, put this unique directory name in the clipboard and send other files that needs to be copied to the service that is running the background.
5. When the files are droped, windows will try to copy the files, now we hook that copy operation at the directory level, check that this is the unique directory, so the src data belongs to us.
6. dismiss the copy operation so that windows does not do any copying stuff, now the service has the src files, and destination direcotry.
7. Start your custom copy operation.

Complecated Wink | ;) But i could not find any other solution, but it worked very nicely.

Actually i did not test this for drag-drop, i have tested this for copy-paste task.

Hope this helps you in someway.


-Prakash
Questionabout virtual function's return type Pin
bobi_zcl23-Jan-06 23:37
bobi_zcl23-Jan-06 23:37 
AnswerRe: about virtual function's return type Pin
toxcct23-Jan-06 23:47
toxcct23-Jan-06 23:47 
AnswerRe: about virtual function's return type Pin
Aamir Butt24-Jan-06 0:05
Aamir Butt24-Jan-06 0:05 
AnswerRe: about virtual function's return type Pin
Taka Muraoka24-Jan-06 4:23
Taka Muraoka24-Jan-06 4:23 
AnswerRe: about virtual function's return type Pin
sunit524-Jan-06 6:56
sunit524-Jan-06 6:56 
GeneralRe: about virtual function's return type Pin
bobi_zcl24-Jan-06 13:33
bobi_zcl24-Jan-06 13:33 
GeneralRe: about virtual function's return type Pin
sunit525-Jan-06 6:25
sunit525-Jan-06 6:25 
GeneralRe: about virtual function's return type Pin
bobi_zcl5-Feb-06 15:46
bobi_zcl5-Feb-06 15:46 
QuestionReport Generator control suggestion Pin
ddmcr23-Jan-06 23:31
ddmcr23-Jan-06 23:31 
QuestionStatic Text control's ToolTip On ComboBox item? Pin
rajan.msmy23-Jan-06 22:53
rajan.msmy23-Jan-06 22:53 
QuestionWhat do virtual inline function mean? Pin
vikas amin23-Jan-06 22:51
vikas amin23-Jan-06 22:51 
AnswerRe: What do virtual inline function mean? Pin
toxcct23-Jan-06 22:56
toxcct23-Jan-06 22:56 
GeneralRe: What do virtual inline function mean? Pin
Taka Muraoka23-Jan-06 23:34
Taka Muraoka23-Jan-06 23:34 
GeneralRe: What do virtual inline function mean? Pin
Prakash Nadar24-Jan-06 0:42
Prakash Nadar24-Jan-06 0:42 
GeneralRe: What do virtual inline function mean? Pin
Nemanja Trifunovic24-Jan-06 4:01
Nemanja Trifunovic24-Jan-06 4:01 
QuestionDecryption Routine needed. Pin
Priya..k23-Jan-06 22:44
Priya..k23-Jan-06 22:44 
AnswerRe: Decryption Routine needed. Pin
Prakash Nadar24-Jan-06 0:43
Prakash Nadar24-Jan-06 0:43 

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.