Public Types | |
enum | PasteType { pasteAsFirstClild, pasteAsLastClild, pasteAfterFocusedRow, pasteAsRootItem } |
Paste placement. More... | |
enum | EnsureVisibleMode { ensureVisibleNone, ensureVisibleFirstInserted, ensureVisibleLastInserted, ensureVisibleFocusedRow } |
Scrolling & visibility ensuring. More... | |
enum | FocusMode { focusRemove, focusFirstInserted, focusLastInserted, focusFlatLastInserted } |
Focus manipulation. More... | |
Public Member Functions | |
CCopyPasteSettings () | |
Constructor. | |
CCopyPasteSettings (const CCopyPasteSettings &settings) | |
Copy constructor. | |
~CCopyPasteSettings () | |
Destructor. | |
void | Serialize (CArchive &ar) |
Serializes/deserializes object to/from the archive. | |
Get- methods | |
bool | CanCopyFromFixedContext () const |
Indicates whether items can be copied from fixed context. | |
bool | CanCopyFromScrollableContext () const |
Indicates whether items can be copied from scrollable context. | |
bool | CanCopyNonSelectedChildren () const |
Indicates whether non-selected children can be copied with their parent. | |
bool | CanCopyFilteredChildren () const |
Indicates whether CGrid can copy the items, filtered by IGridFilter interface. | |
bool | CanCutFromFixedContext () const |
Indicates whether items can be cut from fixed context. | |
bool | CanCutFromScrollableContext () const |
Indicates whether items can be cut from scrollable context. | |
bool | CanPasteToFixedContext () const |
Indicates whether items can be pasted to fixed context. | |
bool | CanPasteToScrollableContext () const |
Indicates whether items can be pasted to scrollable context. | |
bool | CanPasteWhenNoFocus () const |
Indicates whether a paste operation is possible if CGrid doesn't have a focused line. | |
bool | CanPasteWhenNoFocusToEnd () const |
Indicates that CGrid pastes items to the end of the scrollable (if cannot to the fixed) context if there is no focus. | |
bool | CanImportDataFromAnotherApplication () const |
Indicates whether CGrid can import data from other applications. | |
PasteType | GetPasteType () const |
Gets paste position. | |
EnsureVisibleMode | GetEnsureVisibleMode () const |
Visibility ensuring operations to be performed. | |
FocusMode | GetFocusMode () const |
Focus displacement. | |
Set- methods | |
void | EnableCopyFromFixedContext (bool bEnable) |
Enables copying from fixed context. | |
void | EnableCopyFromScrollableContext (bool bEnable) |
Enables copying from scrollable context. | |
void | EnableCopyNonSelectedChildren (bool bEnable) |
Enables copying non-selected children with their parent. | |
void | EnableCopyFilteredChildren (bool bEnable) |
Enables copying items, filtered by IGridFilter interface. | |
void | EnableCutFromFixedContext (bool bEnable) |
Enables cutting from fixed context. | |
void | EnableCutFromScrollableContext (bool bEnable) |
Enables cutting from scrollable context. | |
void | EnablePasteToFixedContext (bool bEnable) |
Enables pasting to fixed context. | |
void | EnablePasteToScrollableContext (bool bEnable) |
Enables pasting to scrollable context. | |
void | EnablePasteWhenNoFocus (bool bEnable) |
Enables pasting when CGrid doesn't have a focused line. | |
void | EnablePasteWhenNoFocusToEnd (bool bEnable) |
Permits CGrid to paste items to the end of scrollable context (if cannot paste to fixed contex)if there is no focus. | |
void | EnableImportDataFromAnotherApplication (bool bEnable) |
Enables copying data from other applications. | |
void | SetPasteType (PasteType pasteType) |
Sets a new paste position. | |
void | SetEnsureVisibleMode (EnsureVisibleMode ensureVisibleMode) |
Sets new visibility ensuring operations to be performed. | |
void | SetFocusMode (FocusMode focusMode) |
Sets a new focus displacement mode. | |
Static Public Member Functions | |
static int | GetSerializeVertion () |
Serialization version. |
enum PasteType |
Paste placement.
enum EnsureVisibleMode |
enum FocusMode |
bool CanCopyFromFixedContext | ( | ) | const |
Indicates whether items can be copied from fixed context.
bool CanCopyFromScrollableContext | ( | ) | const |
Indicates whether items can be copied from scrollable context.
bool CanCopyNonSelectedChildren | ( | ) | const |
Indicates whether non-selected children can be copied with their parent.
bool CanCopyFilteredChildren | ( | ) | const |
Indicates whether CGrid can copy the items, filtered by IGridFilter interface.
bool CanCutFromFixedContext | ( | ) | const |
Indicates whether items can be cut from fixed context.
bool CanCutFromScrollableContext | ( | ) | const |
Indicates whether items can be cut from scrollable context.
bool CanPasteToFixedContext | ( | ) | const |
Indicates whether items can be pasted to fixed context.
bool CanPasteToScrollableContext | ( | ) | const |
Indicates whether items can be pasted to scrollable context.
bool CanPasteWhenNoFocus | ( | ) | const |
bool CanPasteWhenNoFocusToEnd | ( | ) | const |
bool CanImportDataFromAnotherApplication | ( | ) | const |
CCopyPasteSettings::PasteType GetPasteType | ( | ) | const |
Gets paste position.
CCopyPasteSettings::EnsureVisibleMode GetEnsureVisibleMode | ( | ) | const |
Visibility ensuring operations to be performed.
CCopyPasteSettings::FocusMode GetFocusMode | ( | ) | const |
Focus displacement.
void EnableCopyFromFixedContext | ( | bool | bEnable | ) |
Enables copying from fixed context.
[in] | bEnable | Enables to copy from the fixed context |
void EnableCopyFromScrollableContext | ( | bool | bEnable | ) |
Enables copying from scrollable context.
[in] | bEnable | Enables to copy from the scrollable context |
void EnableCopyNonSelectedChildren | ( | bool | bEnable | ) |
Enables copying non-selected children with their parent.
[in] | bEnable | Enables to copy non-selected children with their parent |
void EnableCopyFilteredChildren | ( | bool | bEnable | ) |
Enables copying items, filtered by IGridFilter interface.
[in] | bEnable | Enables to copy the items, filtered by IGridFilter interface |
void EnableCutFromFixedContext | ( | bool | bEnable | ) |
Enables cutting from fixed context.
[in] | bEnable | Enables to cut from the fixed context |
void EnableCutFromScrollableContext | ( | bool | bEnable | ) |
Enables cutting from scrollable context.
[in] | bEnable | Enables to cut from the scrollable context |
void EnablePasteToFixedContext | ( | bool | bEnable | ) |
Enables pasting to fixed context.
[in] | bEnable | Enables to paste to the fixed context |
void EnablePasteToScrollableContext | ( | bool | bEnable | ) |
Enables pasting to scrollable context.
[in] | bEnable | Enables to paste to the scrollable context |
void EnablePasteWhenNoFocus | ( | bool | bEnable | ) |
void EnablePasteWhenNoFocusToEnd | ( | bool | bEnable | ) |
void EnableImportDataFromAnotherApplication | ( | bool | bEnable | ) |
Enables copying data from other applications.
[in] | bEnable | Enables to copy data from other applications |
void SetPasteType | ( | PasteType | pasteType | ) |
Sets a new paste position.
[in] | pasteType | A new paste position |
void SetEnsureVisibleMode | ( | EnsureVisibleMode | ensureVisibleMode | ) |
Sets new visibility ensuring operations to be performed.
[in] | ensureVisibleMode | New visibility ensuring operations to be performed |
void SetFocusMode | ( | FocusMode | focusMode | ) |
Sets a new focus displacement mode.
[in] | focusMode | A new focus displacement mode |
int GetSerializeVertion | ( | ) | [static] |
Serialization version.
void Serialize | ( | CArchive & | ar | ) |
Serializes/deserializes 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 |