_GUICtrlRichEdit_AppendText($g_hRichEdit, & $TextCourier) _GUICtrlRichEdit_SetFont($g_hRichEdit, 8, 'Courier New') change font to 8pt, Courier New $g_idLblMsg = GUICtrlCreateLabel('', 10, 235, 300, -1, -1) set selection behind last CHAR in RTF_EDIT
$g_hRichEdit = _GUICtrlRichEdit_Create($hGui, $TextDefault, 10, 10, 300, 220, BitOR($ES_MULTILINE, $WS_VSCROLL, $ES_AUTOVSCROLL)) Local $hGui, $iMsg, $idBtnNext, $iStep = 0 MsgBox(0, 'Rich Text copied', 'Formatted Text put to clipboard') '(Default Font and font size)', 'This text is formatted differently')
From other postings here as a start I'm quite Close to my Goal of putting formatted text to the clipboard:Įxample('The first text will be formatted ''as is''' & & _