Print Page | Close Window

Markup Hyperlink Handler

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=10900
Printed Date: 15 November 2025 at 4:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Markup Hyperlink Handler
Posted By: cpede
Subject: Markup Hyperlink Handler
Date Posted: 04 June 2008 at 8:51am
I'm creating a child window in an MDI. In the child I create a CTaskPanel and enables Markup. If I write a Hyperlink in the Markup text for an item and the text rendering works fine, but the link does not work.
 
From the Controls/Button example I now add the code:
 
GetMarkupContext()->AddHandle(
 CXTPMarkupHyperlink::m_pClickEvent,
 CreateMarkupClassDelegate(
this,
  &CMyClass::OnHyperlinkClick));
 
But it still does not work. Maybe it only works in Dialogs? What to do?
 
-cpede



Replies:
Posted By: Oleg
Date Posted: 04 June 2008 at 1:55pm
Hi.
 
Yes, TaskPanel now support only "Formatting" Markup. :-(   it don't catch messages and handle events :(


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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