Click here to Skip to main content
16,008,490 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: stuck before starting :-( Pin
David Crow21-May-03 7:06
David Crow21-May-03 7:06 
GeneralRe: stuck before starting :-( Pin
SAK21-May-03 7:09
SAK21-May-03 7:09 
GeneralRe: stuck before starting :-( Pin
Anders Molin21-May-03 8:15
professionalAnders Molin21-May-03 8:15 
GeneralRe: stuck before starting :-( Pin
SAK21-May-03 12:46
SAK21-May-03 12:46 
GeneralMSXML distribution Pin
act_x21-May-03 5:32
act_x21-May-03 5:32 
GeneralRe: MSXML distribution Pin
Rickard Andersson2021-May-03 5:46
Rickard Andersson2021-May-03 5:46 
GeneralRe: MSXML distribution Pin
Anonymous21-May-03 7:38
Anonymous21-May-03 7:38 
GeneralPointers / drag and drop Pin
Luke Murray21-May-03 5:31
Luke Murray21-May-03 5:31 
Hey i've been trying to get drag and drop to work with my own data (had it working with text) i think i'm getting confused with pointers, here my lastest try, this is in a listview using WTL and the drag and drop classes from code project
DragData dragData;
.. get data from selected items and add it to dragData ..
..

medium.hGlobal = GlobalAlloc(GMEM_MOVEABLE, sizeof(dragData));
DragData *pMem = (DragData *)GlobalLock(medium.hGlobal);
(*pMem) = dragData;
GlobalUnlock(medium.hGlobal);


I'm not sure whats wrong but it always crashes i think its the (*pMem) = dragData; but i'm not sure why, i've tried many different way, sometimes i got it not to crash but then the data is never at the 'drop' end.
thanks for any help, been annoying me for awhile now, cya

Luke.
GeneralRe: Pointers / drag and drop Pin
G. Steudtel21-May-03 5:51
G. Steudtel21-May-03 5:51 
GeneralRe: Pointers / drag and drop Pin
David Crow21-May-03 7:08
David Crow21-May-03 7:08 
GeneralRe: Pointers / drag and drop Pin
AlexO21-May-03 10:32
AlexO21-May-03 10:32 
GeneralInterprocess communications Pin
doctorpi21-May-03 5:28
doctorpi21-May-03 5:28 
GeneralRe: Interprocess communications Pin
G. Steudtel21-May-03 5:38
G. Steudtel21-May-03 5:38 
GeneralRe: Interprocess communications Pin
doctorpi21-May-03 5:44
doctorpi21-May-03 5:44 
GeneralRe: Interprocess communications Pin
Peter Weyzen21-May-03 6:33
Peter Weyzen21-May-03 6:33 
QuestionCan I put a IPicture object to clipboard? Pin
YuHao21-May-03 5:05
YuHao21-May-03 5:05 
AnswerRe: Can I put a IPicture object to clipboard? Pin
Rage21-May-03 6:29
professionalRage21-May-03 6:29 
GeneralRe: Can I put a IPicture object to clipboard? Pin
YuHao21-May-03 7:24
YuHao21-May-03 7:24 
GeneralDialog application Pin
K. Shaffer21-May-03 5:01
K. Shaffer21-May-03 5:01 
GeneralRe: Dialog application Pin
RChin21-May-03 5:20
RChin21-May-03 5:20 
GeneralRe: Dialog application Pin
RChin21-May-03 5:24
RChin21-May-03 5:24 
GeneralRe: Dialog application Pin
K. Shaffer21-May-03 5:27
K. Shaffer21-May-03 5:27 
GeneralDialog Toolbar Button Size Pin
Kyudos21-May-03 4:54
Kyudos21-May-03 4:54 
Generalsilly question! Pin
flora_k21-May-03 3:01
flora_k21-May-03 3:01 
GeneralRe: silly question! Pin
Maximilien21-May-03 3:17
Maximilien21-May-03 3:17 

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.