Print Page | Close Window

MarkupStatic in a PropertySheet problem

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=17365
Printed Date: 20 June 2025 at 5:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MarkupStatic in a PropertySheet problem
Posted By: evoX
Subject: MarkupStatic in a PropertySheet problem
Date Posted: 02 October 2010 at 5:06pm
I have added a hyperlink handler to markupstatic which is inside a propertysheet->propertypage, when onmouseover the cursor does not change to hyperlink hand and when you click the hyperlink nothing happens.

m_stSysInfo.AddHandler(CXTPMarkupHyperlink::m_pClickEvent, CreateMarkupClassDelegate(this, &CPage1Main::OnHyperlinkClick));

//////// and this is the markup line which is displayed correctly, but the link is not clickable
 
                            <TextBlock Margin="3,3,0,2" TextTrimming="CharacterEllipsis" HorizontalAlignment="Left"><Run Foreground="Red">Not Installed.</Run> <Hyperlink Tag='ASLink'>Click Here</Hyperlink></TextBlock>


-------------
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit
Language: Visual C++ (VS 2019)



Replies:
Posted By: cpede
Date Posted: 03 October 2010 at 5:04am
Did you remember to set Notify to true for the static resource?
The SS_NOTIFY static style.
 


-------------
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)


Posted By: evoX
Date Posted: 03 October 2010 at 5:47am

I did not know about SS_NOTIFY Ermm

I have set the notify to true from dialog editor and now it works! Thank you!


-------------
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit
Language: Visual C++ (VS 2019)



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