CXTHyperLink |
Post Reply |
Author | |
rasshu
Newbie Joined: 16 June 2003 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 16 June 2003 at 12:42pm |
I am using the CXTHyperLink class for having linked text. I do not need to go to the web to so anything therefore I have SetShellExecute( false); The problem I am seeing is 1) The text in the label has reduced in size? It was set to be Tahoma 10 and it becomes like Tahoma 8. 2) It does not get the onclick notification. I have implemented each onClick events and still the control does not even enter that handler? Is this the standard way of functioning? I do not see any help on how to fix this problem. Can anyone help! Thanks, rasshu
|
|
Picahulu
Newbie Joined: 03 July 2003 Location: Germany Status: Offline Points: 6 |
Post Options
Thanks(0)
|
I had Problem 2) too when trying to handle the OnClick-Event from the Parent Window and i've found this solution: 1. derive your own class from CXTHyperlink 2. create an STN_CLICKED notification handler. the message map should look like this: BEGIN_MESSAGE_MAP(CMyOwnHyperLink, CXTHyperLink) ON_CONTROL_REFLECT(STN_CLICKED, OnStnClicked) END_MESSAGE_MAP() you'll have full flexibility if you provide a callback function to your class which will be called from OnStnClicked whenever the user clicks on the hyperlink. |
|
kstowell
Admin Group Joined: 25 January 2003 Location: MIchigan, USA Status: Offline Points: 496 |
Post Options
Thanks(0)
|
Hello, These problems have been corrected with the current 4.1 release of the toolkit Cheers, |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |