|
#include <Dapfor/GUI/EditInPlaceSettings.h>
Public Types | |
| enum | ActivationType { mouseClick, mouseDblClick } |
| Action type that begins edit in place in a cell. More... | |
Public Member Functions | |
| CEditInPlaceSettings () | |
| Constructor. | |
| bool | IsEnabled () const |
| Indicates whether edit in place is enabled. | |
| ActivationType | GetActivationType () const |
| Gets an activation type. | |
| bool | CanActivateOnThumbClick () const |
| Indicates, whether CGrid can start edit in place in a cell on the control thumb click. | |
| bool | CanDrawHotFrame () const |
| Indicates that CGrid can draw a frame around a hot editable cell. | |
| bool | CanDrawHotThumb () const |
| Indicates that CGrid can draw a specified picture in a hot editable cell. | |
| bool | CanDrawThumbsAlways () const |
| Indicates that CGrid can draw control-specified pictures for all editable controls. | |
| COLORREF | GetFrameColor () const |
| Gets a frame color. | |
| bool | CanUseNavigation () const |
| Indicates whether CGrid can use navigation between editable controls. | |
| void | SetEnabled (bool bEnable) |
| Enables edit in place. | |
| void | SetActivationType (ActivationType type) |
| Sets a new activation type. | |
| void | SetActivateOnThumbClick (bool bCan) |
| Enables activation when the user clicks on the control thumb. | |
| void | SetDrawHotFrame (bool bCan) |
| Enables to draw a frame around a hot cell. | |
| void | SetDrawHotThumb (bool bCan) |
| Enables to draw control-specified thumbs. | |
| void | SetDrawThumbsAlways (bool bCan) |
| Enables to draw control-specified thumbs in each editable cell. | |
| void | SetFrameColor (COLORREF color) |
| Sets a frame color. | |
| void | SetUseNavigation (bool bUse) |
| Enables to navigate between editable controls. | |
| void | Serialize (CArchive &ar) |
| Serializes/deserializes data to/from the archive. | |
Static Public Member Functions | |
| static int | GetSerializeVertion () |
| Gets a serialization version. | |
| enum ActivationType |
| bool IsEnabled | ( | ) | const [inline] |
Indicates whether edit in place is enabled.
| CEditInPlaceSettings::ActivationType GetActivationType | ( | ) | const [inline] |
Gets an activation type.
| bool CanActivateOnThumbClick | ( | ) | const [inline] |
Indicates, whether CGrid can start edit in place in a cell on the control thumb click.
CGrid can start edit in a cell, if the user clicks on the control-depended area inside of the cell. For comboboxes it may be dropdown button or spin button for other controls, etc.
| bool CanDrawHotFrame | ( | ) | const [inline] |
| bool CanDrawHotThumb | ( | ) | const [inline] |
| bool CanDrawThumbsAlways | ( | ) | const [inline] |
Indicates that CGrid can draw control-specified pictures for all editable controls.
| COLORREF GetFrameColor | ( | ) | const [inline] |
Gets a frame color.
| bool CanUseNavigation | ( | ) | const [inline] |
| void SetEnabled | ( | bool | bEnable | ) | [inline] |
Enables edit in place.
| [in] | bEnable | True to enable editing in cells. Otherwise false. |
| void SetActivationType | ( | ActivationType | type | ) | [inline] |
Sets a new activation type.
| [in] | type | Indicates how the user can start edit in a cell. |
| void SetActivateOnThumbClick | ( | bool | bCan | ) | [inline] |
Enables activation when the user clicks on the control thumb.
| [in] | bCan | Allows activation of edit in place control if the user clicks on the control-depended area inside of the cell. For comboboxes it may be a dropdown button or spin button for other controls, etc. |
| void SetDrawHotFrame | ( | bool | bCan | ) | [inline] |
Enables to draw a frame around a hot cell.
| [in] | bCan | Allows to draw a frame when the mouse cursor is over an editable cell. |
| void SetDrawHotThumb | ( | bool | bCan | ) | [inline] |
Enables to draw control-specified thumbs.
| [in] | bCan | Allows to draw a control-specified picture (for ex. dropdown button for comboboxes) when a mouse cursor is over an editable cell. |
| void SetDrawThumbsAlways | ( | bool | bCan | ) | [inline] |
Enables to draw control-specified thumbs in each editable cell.
| [in] | bCan | Forces the thumb for drawing in editable cells. |
| void SetFrameColor | ( | COLORREF | color | ) | [inline] |
Sets a frame color.
| [in] | color | Sets a new hot frame color |
| void SetUseNavigation | ( | bool | bUse | ) | [inline] |
Enables to navigate between editable controls.
| [in] | bUse | Allows to use navigation between editable controls. |
| int GetSerializeVertion | ( | ) | [static] |
Gets a serialization version.
| void Serialize | ( | CArchive & | ar | ) |
Serializes/deserializes data to/from the archive.
| [in] | ar | Archive, where the object is serialized/deserialized. |
| Copyright Dapfor 2007-2009 | Generated on Sat Jan 30 15:01:26 2010 for MFCGrid by 1.5.5 |