Altalus Posted March 15, 2006 Share Posted March 15, 2006 First here is what Richtext box I'm speaking of : Custom Richtext boxTwo questions here :"> 1- How could I retreive the data (text and format, but at least the text) from the box ?2- How can I set the text & format in the box ? I know of the function to set the text but how about I want the newly inserted text to be let say... bold Both questions so I can "update" the box with new text, which might have a different formatting that the old text Oh, and if possible I'm looking for the carriage return... seems like @CRLF doesn't works. This is what I tried in vain $edit = _GuiCtrlRichEditCreate ($GOOEY, 5, 5, 490, 350, BitOR($ES_READONLY, $ES_AUTOVSCROLL), BitOR($WS_EX_TOOLWINDOW, $WS_EX_STATICEDGE)) _GuiCtrlRichEditSetText ($edit, GUICtrlRead($edit) & $text & @CRLF) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now