Print Page | Close Window

CXTHyperLink

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=69
Printed Date: 22 December 2024 at 10:01pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTHyperLink
Posted By: rasshu
Subject: CXTHyperLink
Date 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

 




Replies:
Posted By: Picahulu
Date Posted: 03 July 2003 at 9:25am

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.



Posted By: kstowell
Date Posted: 02 November 2003 at 2:57pm

Hello,

These problems have been corrected with the current 4.1 release of the toolkit

Cheers,
Codejock Support




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net