Jump to content
Sign in to follow this  

Formating text

Recommended Posts


I´m trying to format a text in a WindowsForms10.RichEdit20W.app.0.13965fa_r26_ad1 to maintain always the same font, size and color, because if i paste text from another side, the box changes size or color when i´m writing. When i use the next code, the program always hangs. Regards.



Local $hRichEdit = ControlGetHandle("Test", "", "[NAME:test1]")

_GUICtrlRichEdit_SetSel($hRichEdit, 0, -1) ; select all
_GUICtrlRichEdit_Deselect($hRichEdit) ; deselect all


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...