Print Page | Close Window

Markup hyperlink callback via ATL

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: MarkupLabel Control
Forum Description: Topics Related to Codejock MarkupLabel Control
URL: http://forum.codejock.com/forum_posts.asp?TID=24497
Printed Date: 18 September 2024 at 8:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Markup hyperlink callback via ATL
Posted By: JamesH
Subject: Markup hyperlink callback via ATL
Date Posted: 30 August 2024 at 1:27pm

Does anyone have an example of setting up a hyperlink callback when using ATL (ideally with C/C++)?

I’ve reviewed the VB example in the help file multiple times and can follow how the SetHandler call on the MarkupContext establishes the object receiving the callback, and how the markup text establishes the callback function name with “Click=’HyperClick’”  but I’m unclear how to setup this up when access is via ATL.  (Eg. What IDispatch* is passed to SetHandler, and what is the syntax/parameter list for the callback function?))

Thanks.




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