Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello.
I'm use Richedit50 and class WTL::CRichEdit.
I'm want add rtf text to richedit.

ATL::CString strText = _T("{\\rtf {\\field{\\*\\fldinst HYPERLINK \"http://vk.com/\"}{\\fldrslt Click me!}}}");<br />
m_cRichEdit.SetTextEx(strText, ST_DEFAULT, CP_UTF8);<br />


This is code added text "{\rtf {\field{\*\fldinst HYPERLINK "http://vk.com/"}{\fldrslt Click me!}}}".

Tell me how to do it right?)
Thanks.
Posted
Updated 24-Jun-11 2:48am
v2

1 solution

{\rtf {\field{\*\fldinst HYPERLINK "http://vk.com/"}{\fldrslt Click me!}}}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900