[TDragColor] [Index] [TDragContext]

Class TDragContext


File: <toad/dragndrop.hh>

This is the base class for classes like TDragString or TDragColor.
When an application wants to invoke dragging, it creates a drag context to take up the data it wants to drag and start the drag with TWindow::StartDrag(TDragContext*). Return a list of types the drag contexts data can be transformed into.

Super Classes

TOADBase

Attributes

protected unsigned char *w_data
protected ulong w_len

Methods

CreateWireData
public virtual void CreateWireData(ulong type)
Request to store the data as a byte string of type t in unsigned char* TDragContext::w_data and strings len in w_len.
DeleteWireData
public virtual void DeleteWireData()
GetTargetList
public virtual TTargetList * GetTargetList()
TDragContext
public TDragContext()
WireData
public unsigned char * WireData()
WireLen
public ulong WireLen()

This page was generated with Stupid -- Another stupid C++ to HTML generator
Written 1998,99 by The Wizards of Zilog
Copyright © 1998,99 by the TOAD Project