[Wine] Links arent clickable in CRichEditCtrl with mask CFM_LINK

Ravinder Singh ravinderonly at gmail.com
Fri Jun 30 01:55:47 CDT 2006


Submitted an official bug on wine portal
http://bugs.winehq.org/show_bug.cgi?id=5562


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.



More information about the wine-users mailing list