Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - MarkupStatic in a PropertySheet problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MarkupStatic in a PropertySheet problem

 Post Reply Post Reply
Author
Message
evoX View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 July 2007
Status: Offline
Points: 207
Post Options Post Options   Thanks (0) Thanks(0)   Quote evoX Quote  Post ReplyReply Direct Link To This Post Topic: MarkupStatic in a PropertySheet problem
    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)
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 680
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post 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++)
Back to Top
evoX View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 July 2007
Status: Offline
Points: 207
Post Options Post Options   Thanks (0) Thanks(0)   Quote evoX Quote  Post ReplyReply Direct Link To This Post 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)
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.047 seconds.