17#include <owl/except.rh>
52 InClientArea =
drop.DragQueryPoint(Point);
94 TDragQueryFile f = {Handle, index};
138std::pair<TPoint, bool>
143 return std::make_pair(p,
r);
160 *
this =
tm.GetFileTime();
169 *
this =
tm.GetFileTime();
198 const ULONG flags = 0;
#define PRECONDITION(condition)
TDropInfo is a simple class that supports file-name drag-and-drop operations using the WM_DROPFILES m...
tstring DragQueryFile(uint index) const
String-aware overload.
std::pair< TPoint, bool > DragQueryPoint() const
Functional-style overload.
uint DragQueryFileCount() const
Returns the number of dropped files in this TDropInfo object.
uint DragQueryFileNameLen(uint index) const
Returns the length of the name of the file in this TDropInfo object corresponding to the given index.
void DragFinish() const
Releases any memory allocated for the transferring of this TDropInfo object's files during drag opera...
~TFileDroplet()
The destructor for this class.
TFileDroplet(const tstring &fileName, const TPoint &p, bool inClient)
Supports drag and drop.
TFileTime is a class derived from the structure FILETIME.
TFileTime & operator=(const TTime &tm)
TFileTime()
Constructs a empty TFileTime object.
TPoint is a support class, derived from tagPOINT.
static void DragFinish(HDROP)
Invokes 'DragFinish' indirectly.
static BOOL DragQueryPoint(HDROP, LPPOINT)
Invokes 'DragQueryPoint' indirectly.
static UINT DragQueryFile(HDROP, UINT, TCHAR *, UINT)
Invokes 'DragQueryFile' indirectly.
The TTime class encapsulates time functions and characteristics.
static void Raise(const tstring &msg, uint resId=0)
Reliable platform independent header for common memory and string functions.
#define _USES_CONVERSION_A
char * strnewdup(const char *s, size_t minAllocSize=0)
Object Windows Library (OWLNext Core)
tstring CopyText(int size, TGetText get_text)
Copies text from a C-string (null-terminated character array) into a string object,...
General definitions used by all ObjectWindows programs.
Definitions of Win95 Shell Clases: TShellItem, TShellItemIterator, TPidl, TShellMalloc.
Classes for window system structure and type encapsulation.