Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Dropping files....
Dropping files.... [message #9460] |
Wed, 09 May 2007 11:25 |
 |
mirek
Messages: 14265 Registered: November 2005
|
Ultimate Member |
|
|
Support for file explorer drops was added as demostrated in UWord example; this time it is really quite simple to use:
void UWord::DragAndDrop(Point, PasteClip& d)
{
if(AcceptFiles(d)) {
Vector<String> fn = GetFiles(d);
for(int i = 0; i < fn.GetCount(); i++)
if(FileExists(fn[i]))
OpenFile(fn[i]);
}
}
|
|
|
Goto Forum:
Current Time: Mon Jul 07 19:20:25 CEST 2025
Total time taken to generate the page: 0.02976 seconds
|