Принять файл

Скриншоты:

Отсутствуют.

Описание:
Рус Отстутствует  
Англ This class manages for you drag & drop of files over your windows.
Simply do this:
CmaxAcceptFiles e1;
then:
e1.set(YourWindowHwnd)
and by default class uses SetWindowText to write in your
window the name of the first file you have dropped, or…
class A : public CmaxAcceptFiles {
public:
A() {}
~A(){}
virtual bool AddFunc(const char *File) {
msgbox(File);
return true;
}
};
by overriding virtual function AddFunc, your derived class will manage
file dropping, by returning true other dropped files will be sent to
function (if any), by returning false function call will stop.
You can also choose if your window will accept folders.


Поделиться ссылочкой: