![]() |
MarkupStatic in a PropertySheet problem |
Post Reply ![]() |
Author | |
evoX ![]() Senior Member ![]() ![]() Joined: 25 July 2007 Status: Offline Points: 207 |
![]() ![]() ![]() ![]() ![]() 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) |
|
![]() |
|
cpede ![]() Senior Member ![]() Joined: 13 August 2004 Location: Denmark Status: Offline Points: 680 |
![]() ![]() ![]() ![]() ![]() |
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++) |
|
![]() |
|
evoX ![]() Senior Member ![]() ![]() Joined: 25 July 2007 Status: Offline Points: 207 |
![]() ![]() ![]() ![]() ![]() |
I did not know about SS_NOTIFY 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) |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |