 |
|
 |
Instead of giving people advice to "take a cup of coffee" or "get a job", why dont' you concentrate on writting better code, since urs is horrible and does nothing of what is supposed to do.
You think that the sun does not shine unless you write some sh.ty code ?
|
|
|
|
 |
|
 |
that's the right answer i'm searching for a long time.it's an absolutely cool job!
|
|
|
|
 |
|
 |
Hi Thomas,
Thank you very much for the tutorials. They have been very helpful.
I was wondering if you could provide an example of how to drag and drop from one clistctrl to another when they are both on the same form view. As in your current examples, one should be a source only, and the other only a destination list. I dont need common format, just private (I dont need to use it with any other application).
I have tried to do this myself (still trying actually), but have not been successful, and thought that perhaps you could help.
Thanks in advance,
-----------------
Genaro
|
|
|
|
 |
|
 |
Hello Genaro,
there is absolutely nothing wrong in dragging between two different list controls on the same view.
All you have to do is implement the source and the target interfaces in the same view.
If you plan your interface to be enable to drag from and drop to both controls, the only thing that is extra needed is some code to remember from which one of your controls you dragged the text.
Regards
Thomas
|
|
|
|
 |
|
 |
Hi,
Now I am coding the security tool which is prohibited user to drag & drop.
I've already coded the clipboard control using ON_WM_DRAWCLIPBOARD and ON_WM_CHANGECBCHAIN, but I have no idea to control drag and drop.
Is any different between Clipboard and Drag and Drop???
so, please help me if you know.
thank you
Atsuki
|
|
|
|
 |
|
 |
Hi!
I meet a problem of drag & drop between tow windows of one process, each window is backed by a user Interface thread. The case is very similiar to Explorer window. I found that each thread should call COleInit in order to enable OLE support. It's Ok to drag & drop between tow process, such as my program and Explorer, but it failed working between tow windows within one my program. Why? My program was developed from the idea in http://www.codeguru.com/misc/sameproc.shtml.
|
|
|
|
 |
|
 |
try call OleIntialize for each UI thread.
Everything is possible.
|
|
|
|
 |
|
 |
I was excited to download all you articles only to find only 1 of the projects would compile. I successfully compiled Step1 right out of the zip and all the others complained about missing files. Mainly DropDialog.h and Othersomethingorother file.
|
|
|
|
 |
|
 |
I think you can find the files in his website - linked via about the author
|
|
|
|
 |