http://bugs.winehq.org/show_bug.cgi?id=5562
Summary: Links arent clickable in CRichEditCtrl with mask CFM_LINK Product: Wine Version: 0.9.13. Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: test AssignedTo: wine-bugs@winehq.org ReportedBy: ravinderonline@yahoo.com CC: dank@kegel.com,infyquest@gmail.com
I am working with a Rich Edit Control in my VC++ application. I am changing the normal text to clickable hypertext link with the help of an event. This functionality is relevant to my application where user can click on an include file name and have it opened in one of the other file editors.
To set the hypertext link, I set the mask CFM_LINK as follows, which allows the clickable links.
CHARFORMAT m_cfLink; m_cfLink.dwMask = CFM_LINK; m_cfLink.dwEffects = CFE_LINK; m_Richer.SetSelectionCharFormat(m_cfLink); //m_Richer is the CRichEditCtrl object
This sample application is working fine under Windows Platform as shown in the snapshot that mean i am able to convert normal text in to clickable link. But in case of wine the hypertext does not show as such. All the other character formatting options work fine under wine.
Attachments: 1-> Snapshot of Application in Windows Platform after making it clickable 2-> Exe of Test Application 3-> Source Code of Test Application in VC++ Platform.