2012年5月31日 星期四

CRichEditCtrl to show the hyperlink text

The key point is

CRichEditCtrl::SetAutoURLDetect

Sets the rich edit control to automatically detect a URL.


SetEventMask to ENM_LINK 



pmyRichEditCtrl->SetEventMask(pmyRichEditCtrl->GetEventMask() |
    ENM_CHANGE);



http://blogs.msdn.com/b/murrays/archive/2009/08/31/automatic-richedit-hyperlinks.aspx

沒有留言:

張貼留言