Public Member Functions | |
| CDragSource (const CGrid &grid, ContextType contextType, Handles &items, const CHeader *header) | |
| Constructor. | |
| virtual | ~CDragSource () |
| Virtual destructor. | |
| CDragImage | SetDragImage (const CDragImage &dragImage) |
| Sets new drag image. | |
Get- methods | |
| const CGrid & | GetGrid () const |
| Gets a reference to the grid from which data is taken. | |
| ContextType | GetContextType () const |
| Gets the context where the drag operation occurs. | |
| Handles & | GetItems () |
| Gets a list of handles to be serialized to the clipboard. | |
| const Handles & | GetItems () const |
| Gets a list of handles to be serialized to the clipboard. Const version. | |
| CDragImage | GetDragImage () const |
| Gets an image of dragged items. | |
| const CHeader * | GetHeader () const |
| Gets a header of the grid. | |
Set- methods | |
| void | SetContextType (ContextType contextType) |
| Sets a new context type(s). | |
| void | SetHeader (const CHeader *header) |
| Sets a new header. | |
| CDragSource | ( | const CGrid & | grid, | |
| ContextType | contextType, | |||
| Handles & | items, | |||
| const CHeader * | header | |||
| ) |
Constructor.
| [in] | grid | A Reference to the grid |
| [in] | contextType | Context where the drag operation is occurred. |
| [in] | items | List of handles to be serialized to the clipboard. |
| [in] | header | Header of the grid. |
| ~CDragSource | ( | ) | [virtual] |
Virtual destructor.
Frees all resources. Deletes a bitmap object if it exists.
| const CGrid & GetGrid | ( | ) | const |
Gets a reference to the grid from which data is taken.
| ContextType GetContextType | ( | ) | const |
Gets the context where the drag operation occurs.
| Handles & GetItems | ( | ) |
Gets a list of handles to be serialized to the clipboard.
| const Handles & GetItems | ( | ) | const |
Gets a list of handles to be serialized to the clipboard. Const version.
| CDragImage GetDragImage | ( | ) | const |
Gets an image of dragged items.
| const CHeader * GetHeader | ( | ) | const |
Gets a header of the grid.
| CDragImage SetDragImage | ( | const CDragImage & | dragImage | ) |
Sets new drag image.
| [in] | dragImage | A new drag image |
| void SetContextType | ( | ContextType | contextType | ) |
Sets a new context type(s).
| [in] | contextType | A new context where the drag operation is occurred. |
| void SetHeader | ( | const CHeader * | header | ) |
Sets a new header.
| [in] | header | A new header to be used in the drag operation. |
| Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |