Public Member Functions | |
CDragDropSettings () | |
Default constructor. | |
CDragDropSettings (const CDragDropSettings &settings) | |
Copy constructor. | |
~CDragDropSettings () | |
Destructor. | |
void | Serialize (CArchive &ar) |
Serializes/Deserializes this object to/from the archive. | |
Get- methods | |
bool | CanDragFromFixedContext () const |
Indicates whether items can be dragged from fixed context. | |
bool | CanDragFromScrollableContext () const |
Indicates whether items can be dragged from scrollable context. | |
bool | CanDragNonSelectedChildren () const |
Indicates whether non-selected children can be dragged with their parent. | |
bool | CanDragFilteredChildren () const |
Indicates whether CGrid can drag the items, filtered by IGridFilter interface. | |
bool | CanDropToFixedContext () const |
Indicates whether items can be dropped to fixed context. | |
bool | CanDropToScrollableContext () const |
Indicates whether items can be dropped to scrollable context. | |
bool | CanLocalGridCopy () const |
Indicates whether CGrid can copy the clipboard content taken from the same grid. | |
bool | CanLocalGridMove () const |
Indicates whether CGrid can displace the items taken from the same grid via drag&drop operations. | |
bool | CanRemoteGridCopy () const |
Indicates whether CGrid can copy the clipboard content taken from other grids. | |
bool | CanRemoteGridMove () const |
Indicates whether CGrid can detach the items taken from other grids and attach them to their own contexts. | |
bool | CanImportDataFromAnotherApplication () const |
Indicates whether CGrid can import data from other applications. | |
bool | CanGenerateDragImage () const |
Indicates that CGrid creates an image of the clipboard content while dragging. | |
bool | CanHierarchicalDrop () const |
Indicates whether CGrid can drop a clipboard content on any level of hierarchy. | |
bool | MustKeepLevel () const |
Indicates whether dropping items can change their hierarchical level. | |
bool | MustKeepParent () const |
Indicates whether CGrid should drop the clipboard content keeping the hierarchical structure. | |
COLORREF | GetDropColor () const |
Gets a color of the indicators, that point to the dropping position and hierarchical level. | |
Set- methods | |
void | EnableDragFromFixedContext (bool bEnable) |
Enables items to be dragged from fixed context. | |
void | EnableDragFromScrollableContext (bool bEnable) |
Enables items to be dragged from scrollable context. | |
void | EnableDragNonSelectedChildren (bool bEnable) |
Enables non-selected children to be dragged with their parent. | |
void | EnableDragFilteredChildren (bool bEnable) |
Enables CGrid to drag the items, filtered by IGridFilter interface. | |
void | EnableDropToFixedContext (bool bEnable) |
Enables items to be dropped to fixed context. | |
void | EnableDropToScrollableContext (bool bEnable) |
Enables items to be dropped to scrollable context. | |
void | EnableLocalGridCopy (bool bEnable) |
Enables CGrid to copy the clipboard content taken from the same grid. | |
void | EnableLocalGridMove (bool bEnable) |
Enables CGrid to displace the items taken from the same grid via drag&drop operations. | |
void | EnableRemoteGridCopy (bool bEnable) |
Enables CGrid to copy the clipboard content taken from other grids. | |
void | EnableRemoteGridMove (bool bEnable) |
Enables CGrid to detach the items taken from other grids and attach them to their own contexts. | |
void | EnableImportDataFromAnotherApplication (bool bEnable) |
Enables CGrid to import data from other applications. | |
void | EnableGenerateDragImage (bool bEnable) |
Enables CGrid to create an image of the clipboard content while dragging. | |
void | EnableHierarchicalDrop (bool bEnable) |
Enables CGrid to drop a clipboard content on any level of hierarchy. | |
void | SetKeepLevel (bool bEnable) |
Forces item to be dropped only on the same hierarchical level. | |
void | SetKeepParent (bool bEnable) |
Enables CGrid to drop clipboard content while preserving the hierarchical structure. | |
void | SetDropColor (COLORREF color) |
Sets a new color of the indicators, that point to the dropping position and hierarchical level. | |
Static Public Member Functions | |
static int | GetSerializeVertion () |
Serialization version. |
CDragDropSettings | ( | const CDragDropSettings & | settings | ) |
Copy constructor.
[in] | settings | Drag & drop settings |
bool CanDragFromFixedContext | ( | ) | const |
Indicates whether items can be dragged from fixed context.
bool CanDragFromScrollableContext | ( | ) | const |
Indicates whether items can be dragged from scrollable context.
bool CanDragNonSelectedChildren | ( | ) | const |
Indicates whether non-selected children can be dragged with their parent.
bool CanDragFilteredChildren | ( | ) | const |
Indicates whether CGrid can drag the items, filtered by IGridFilter interface.
bool CanDropToFixedContext | ( | ) | const |
Indicates whether items can be dropped to fixed context.
bool CanDropToScrollableContext | ( | ) | const |
Indicates whether items can be dropped to scrollable context.
bool CanLocalGridCopy | ( | ) | const |
bool CanLocalGridMove | ( | ) | const |
bool CanRemoteGridCopy | ( | ) | const |
bool CanRemoteGridMove | ( | ) | const |
bool CanImportDataFromAnotherApplication | ( | ) | const |
bool CanGenerateDragImage | ( | ) | const |
bool CanHierarchicalDrop | ( | ) | const |
bool MustKeepLevel | ( | ) | const |
Indicates whether dropping items can change their hierarchical level.
The parent to which the item is attached can be changed to respect this rule
bool MustKeepParent | ( | ) | const |
COLORREF GetDropColor | ( | ) | const |
Gets a color of the indicators, that point to the dropping position and hierarchical level.
void EnableDragFromFixedContext | ( | bool | bEnable | ) |
Enables items to be dragged from fixed context.
[in] | bEnable | Enables items to be dragged from the fixed context |
void EnableDragFromScrollableContext | ( | bool | bEnable | ) |
Enables items to be dragged from scrollable context.
[in] | bEnable | Enables items to be dragged from the scrollable context |
void EnableDragNonSelectedChildren | ( | bool | bEnable | ) |
Enables non-selected children to be dragged with their parent.
[in] | bEnable | Enables non-selected children to be dragged with their parent |
void EnableDragFilteredChildren | ( | bool | bEnable | ) |
Enables CGrid to drag the items, filtered by IGridFilter interface.
[in] | bEnable | Enables CGrid to drag the items, filtered by IGridFilter interface |
void EnableDropToFixedContext | ( | bool | bEnable | ) |
Enables items to be dropped to fixed context.
[in] | bEnable | Enables items to be dropped to the fixed context |
void EnableDropToScrollableContext | ( | bool | bEnable | ) |
Enables items to be dropped to scrollable context.
[in] | bEnable | Enables items to be dropped to the scrollable context |
void EnableLocalGridCopy | ( | bool | bEnable | ) |
void EnableLocalGridMove | ( | bool | bEnable | ) |
void EnableRemoteGridCopy | ( | bool | bEnable | ) |
void EnableRemoteGridMove | ( | bool | bEnable | ) |
void EnableImportDataFromAnotherApplication | ( | bool | bEnable | ) |
void EnableGenerateDragImage | ( | bool | bEnable | ) |
void EnableHierarchicalDrop | ( | bool | bEnable | ) |
void SetKeepLevel | ( | bool | bEnable | ) |
Forces item to be dropped only on the same hierarchical level.
The parent to which the item is attached can be changed to respect this rule.
[in] | bEnable | Forces an item to be dropped only on the same hierarchical level. |
void SetKeepParent | ( | bool | bEnable | ) |
void SetDropColor | ( | COLORREF | color | ) |
Sets a new color of the indicators, that point to the dropping position and hierarchical level.
[in] | color | A new color of the indicators, that point to the dropping position and hierarchical level. |
int GetSerializeVertion | ( | ) | [static] |
Serialization version.
void Serialize | ( | CArchive & | ar | ) |
Serializes/Deserializes this object to/from the archive.
[in] | ar | Archive to serialize/deserialize this object |
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |