CEikEdwin 的 flag 的所有值
这个摘自 sdk ,为了方便查阅,放到这来
Flag | Meaning |
---|---|
EkeepDocument |
The EDWIN does not destroy its content on destruction. |
ESegmentedStorage |
The content buffer uses segmented storage (see CEditableText::ESegmentedStorage ). Segmented storage places the data in more than one heap location. Each forms a part of the buffer. When this flag is not used, the content buffer is stored in one memory location (referred to as a flat buffer). Segmented memory tends to be more flexible in memory allocation, but is slower in operation than flat buffering. |
EWidthInPixels |
The size specified in the resource used to construct the object is given in pixels, not characters. |
ENoAutoSelection |
No automatic selection takes place. Typically, the entire text is selected as one operation whenever the EDWIN is created, resized, or has its text set. |
EJustAutoCurEnd |
When the control is activated, the cursor is moved to the end of the text. |
ENoWrap |
Do not wrap the text being edited. |
ELineCursor |
Use a line cursor instead of a block cursor. |
ENoHorizScrolling |
Horizontal scrolling is disabled. |
EInclusiveSizeFixed |
If set, scrollbars for long documents appear inside the EDWIN , reducing the area available to the EDWIN . If not set, scrollbars appear outside the EDWIN . This does not affect the TSize values returned by the method MinimumSize() . |
EUserSuppliedText |
Sets the height of the EDWIN in lines, according to text supplied by the user. |
EOwnsWindow |
The EDWIN is a window-owning control. |
EDisplayOnly |
The EDWIN does not respond to user input. |
EAlwaysShowSelection |
If the EDWIN loses focus, do not hide the selection. |
EReadOnly |
The EDWIN is read-only. Attempting to add text displays a message to say it is read-only. |
EAllowPictures |
No special attempt to delete embedded pictures cleanly will be made. This flag does not apply to EDWIN s that do not edit rich text. |
EAllowUndo |
Enable undo operations. |
ENoLineOrParaBreaks |
Do not allow line or paragraph breaks in the text being edited. |
EOnlyASCIIChars |
Allow only ASCII characters. |
EResizable |
The EDWIN control is resizable, for example, when contained in a parent control. Should the parent control be required to resize itself, the image of the EDWIN control that is displayed can be resized to fit within the parent control. This does not affect the maximum width of the EDWIN control. |
EIgnoreVirtualCursor |
The EDWIN ignores the virtual cursor. Note: Touchscreen devices do not use the virtual cursor. |
ENoCustomDraw |
No custom draw is done. |
EAvkonEditor |
Changes layout to AVKON style. |
EAvkonDisableCursor |
Hides cursor. |
EAvkonNotEditable |
Changes text editor to non-editable mode. |
EEdwinAlternativeWrapping |
Sets the S60 style wrapping on. |
安平2009@原创
qi_jianzhou@126.com