You've already forked lazarus-ccr
aarre
applications
bindings
components
ZVDateTimeCtrls
aboutcomponent
acs
beepfp
chelper
cmdline
cmdlinecfg
colorpalette
csvdocument
epiktimer
fpsound
fpspreadsheet
fractions
freetypepascal
geckoport
gradcontrols
iosdesigner
iphonelazext
jujiboutils
jvcllaz
kcontrols
lazbarcodes
lclextensions
longtimer
manualdock
mplayer
multithreadprocs
nvidia-widgets
onguard
orpheus
playsoundpackage
poweredby
powerpdf
rgbgraphics
richmemo
richview
rtfview
sample
overview.rtf
project1.lpi
project1.lpr
unit1.lfm
unit1.lrs
unit1.pas
COPYING.LGPL
COPYING.modifiedLGPL
README.txt
rtfdata.inc
rtfparspre211.pp
rtfview.lrs
rtfview.pas
rtfviewpkg.lpk
rtfviewpkg.pas
trtfview.xpm
rx
scrolltext
smnetgradient
spktoolbar
svn
tdi
thtmlport
tparadoxdataset
tvplanit
virtualtreeview
virtualtreeview-new
xdev_toolkit
zlibar
examples
lclbindings
wst
17 lines
2.2 KiB
Plaintext
17 lines
2.2 KiB
Plaintext
![]() |
{\rtf1\ansi\deff0\deftab720{\fonttbl{\f0\fswiss MS Sans Serif;}{\f1\froman\fcharset2 Symbol;}{\f2\fswiss Arial;}}
|
||
|
{\colortbl\red0\green0\blue0;\red255\green0\blue0;}
|
||
|
\deflang1033\pard\qc\plain\f2\fs32\cf1\b Rich Edit Control Overview
|
||
|
\par \plain\f2\fs16\cf0\b (from Win32SDK Help)
|
||
|
\par \pard\plain\f2\fs20\cf0
|
||
|
\par \pard\li500\ri840\fi-20\plain\f2\fs20\cf0 A rich edit control is a window in which the user can enter and edit text. The text can be assigned character and paragraph formatting, and can include embedded OLE objects. Rich edit controls provide a programming interface for formatting text. However, an application must implement any user interface components necessary to make formatting operations available to the user.
|
||
|
\par \pard\li480\ri840\plain\f2\fs20\cf0
|
||
|
\par Rich edit controls support almost all of the messages and notification messages used with multiline edit controls. Thus, applications that already use edit controls can be easily changed to use rich edit controls. Additional messages and notifications enable applications to access the functionality unique to rich edit controls. For information about edit controls, see \plain\f2\fs20\cf0\i Edit Controls\plain\f2\fs20\cf0 .
|
||
|
\par
|
||
|
\par An application can send messages to a rich edit control to perform such operations as formatting text, printing, and saving. An application can process notification messages to monitor events in a rich edit control. For example, an application can process notifications to filter keyboard and mouse input, to permit or deny changes to protected text, or to resize the control as needed to fit its content.
|
||
|
\par
|
||
|
\par You create a rich edit control by using the \plain\f2\fs20\cf0\b\ul CreateWindowEx\plain\f2\fs20\cf0 function, specifying the "RichEdit" window class. Because the common control library registers this window class, you must call the \plain\f2\fs20\cf0\b\ul InitCommonControls\plain\f2\fs20\cf0 function to ensure that the library is loaded before the rich edit control is created.
|
||
|
\par
|
||
|
\par Rich edit controls support most of the window styles used with edit controls as well as additional styles. You should specify the \plain\f2\fs20\cf0\b ES_MULTILINE\plain\f2\fs20\cf0 window style if you want to allow more than one line of text in the control.
|
||
|
\par }
|
||
|
|