т.е. это всё для этого (типа хвалюсь
)
)
Код: Выделить всё
#Include
#include
#include
$GUI = GUICreate("bye",700,500)
$hRichText = RichText_Create($GUI, 0, 0, 700, 500)
RichText_InsertText($hRichText, "Hello everybody")
GUISetState()
RichText_SetSel($hRichText, 6, 11); Pos 6 to 11 is 'every'
RichText_SetColor($hRichText, 0x0000FF, True); True = colorize selection, False = colorize all. !!! Color codes is BGR !!!
RichText_SetSel($hRichText, 0, 0); Set the selection to 0-0
RichText_SetFont($hRichText, "Comic Sans MS", $iSelec = True)
While 1
If GUIGetMsg() = $GUI_EVENT_CLOSE Then Exit
WEnd
Код: Выделить всё
RichText_SetFont($hRichText, "Comic Sans MS", $iSelec = True)
(некто незапрещал методом Русского тыка)