Home » U++ Library support » U++ Library : Other (not classified elsewhere) » draganddrop does not work
Re: draganddrop does not work [message #49792 is a reply to message #49791] |
Mon, 07 May 2018 17:06 |
aftershock
Messages: 143 Registered: May 2008
|
Experienced Member |
|
|
Though there is one problem
void maintradetesterwindow::WithdataLayoutEx::DragAndDrop(Point p, PasteClip& d)
{
if(IsDragAndDropSource())
return;
Ctrl* c = GetDragAndDropTarget();
DUMP(c);
if (c!=nullptr)
if (c==&m->datasource_info.analyse)
{
if(AcceptFiles(d)) {
Vector<String> files2 = GetFiles(d);
m->analyse_a_file(files2[0]);
}
}
}
c is always null... I thought I could use to know where files are dropped.
[Updated on: Mon, 07 May 2018 17:06] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Apr 28 13:43:54 CEST 2024
Total time taken to generate the page: 0.04437 seconds
|