Macaw OS C reference

Function pickfiles

#include <macawui.h>
int pickfiles(void);

Asks the person to pick files from their computer. Once they're copied in, they come to your ondrop function (or _drop), at -1, -1.

Parameters

It takes nothing.

Returns int

1 if it asked, or 0 where it can't (anywhere but the website).

In Drag and drop, with ondrop, canpickfiles, startdrag, putondesktop.