Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Markup Hyperlink Handler
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Markup Hyperlink Handler

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 683
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: Markup Hyperlink Handler
    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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.