Click here to Skip to main content
15,902,635 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Save/Load Dialog Pin
Member 97865129-Mar-04 2:40
Member 97865129-Mar-04 2:40 
GeneralRe: Save/Load Dialog Pin
Antony M Kancidrowski29-Mar-04 2:58
Antony M Kancidrowski29-Mar-04 2:58 
QuestionWhich frormat is used for file DRAG to windows explorer ? Pin
vgrigor29-Mar-04 1:16
vgrigor29-Mar-04 1:16 
AnswerRe: Which frormat is used for file DRAG to windows explorer ? Pin
ohadp29-Mar-04 4:25
ohadp29-Mar-04 4:25 
GeneralRe: Which frormat is used for file DRAG to windows explorer ? Pin
vgrigor29-Mar-04 4:32
vgrigor29-Mar-04 4:32 
GeneralRe: Which frormat is used for file DRAG to windows explorer ? Pin
ohadp29-Mar-04 4:46
ohadp29-Mar-04 4:46 
GeneralRe: Which frormat is used for file DRAG to windows explorer ? Pin
vgrigor29-Mar-04 4:55
vgrigor29-Mar-04 4:55 
GeneralRe: Which frormat is used for file DRAG to windows explorer ? Pin
ohadp29-Mar-04 5:03
ohadp29-Mar-04 5:03 
I'm abit confused, but here's my word:

You will usually want to begin your drag when someone starts dragging items off a list/tree/any-other control. these controls support drag-notifications (LVN_BEGINDRAG for example).

At that point, or at any other point you wish to begin your drag, declare your COleDataSource on the stack.
Then do the actions in the previous message (allocate, fill and cache your CF_HDROP data into the data-source). After this simply call dataObject.DoDragDrop() and your drag-drop will begin, when it ends dataObject.DoDragDrop will return.

Notice: the destination takes care of performing the operations themselves. So if you're dragging into explorer and drop with a 'copy', explorer will copy the files.
GeneralRe: Which frormat is used for file DRAG to windows explorer ? Pin
vgrigor29-Mar-04 20:47
vgrigor29-Mar-04 20:47 
GeneralXP adds 'A:' to SendTo menu although it doesn't appear in the SendTo folder Pin
ohadp29-Mar-04 1:13
ohadp29-Mar-04 1:13 
GeneralRe: XP adds 'A:' to SendTo menu although it doesn't appear in the SendTo folder Pin
Antti Keskinen29-Mar-04 4:52
Antti Keskinen29-Mar-04 4:52 
GeneralRe: XP adds 'A:' to SendTo menu although it doesn't appear in the SendTo folder Pin
ohadp29-Mar-04 4:54
ohadp29-Mar-04 4:54 
GeneralRe: XP adds 'A:' to SendTo menu although it doesn't appear in the SendTo folder Pin
Antti Keskinen29-Mar-04 5:32
Antti Keskinen29-Mar-04 5:32 
GeneralFileDialog with the Favourites control on left Pin
andrewtruckle28-Mar-04 23:41
andrewtruckle28-Mar-04 23:41 
GeneralRe: FileDialog with the Favourites control on left Pin
David Crow29-Mar-04 3:16
David Crow29-Mar-04 3:16 
GeneralRe: FileDialog with the Favourites control on left Pin
andrewtruckle29-Mar-04 3:55
andrewtruckle29-Mar-04 3:55 
GeneralRe: FileDialog with the Favourites control on left Pin
David Crow29-Mar-04 4:03
David Crow29-Mar-04 4:03 
GeneralRe: FileDialog with the Favourites control on left Pin
andrewtruckle29-Mar-04 4:10
andrewtruckle29-Mar-04 4:10 
GeneralRe: FileDialog with the Favourites control on left Pin
David Crow29-Mar-04 4:22
David Crow29-Mar-04 4:22 
GeneralBluetooth reconnection problems Pin
Julius Cesar28-Mar-04 23:23
Julius Cesar28-Mar-04 23:23 
QuestionGetCalendarInfo ? Pin
Thomas Andersen28-Mar-04 22:30
Thomas Andersen28-Mar-04 22:30 
AnswerRe: GetCalendarInfo ? Pin
Antony M Kancidrowski29-Mar-04 2:14
Antony M Kancidrowski29-Mar-04 2:14 
AnswerRe: GetCalendarInfo ? Pin
Phil J Pearson29-Mar-04 3:02
Phil J Pearson29-Mar-04 3:02 
GeneralRe: GetCalendarInfo ? Pin
Thomas Andersen29-Mar-04 18:10
Thomas Andersen29-Mar-04 18:10 
GeneralUnused scan codes Pin
Julius Cesar28-Mar-04 22:20
Julius Cesar28-Mar-04 22: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.