Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > MarkupLabel Control
  New Posts New Posts RSS Feed - Link state not mantained after change to XAML
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Link state not mantained after change to XAML

 Post Reply Post Reply
Author
Message
franji1 View Drop Down
Groupie
Groupie
Avatar

Joined: 28 June 2005
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote franji1 Quote  Post ReplyReply Direct Link To This Post Topic: Link state not mantained after change to XAML
    Posted: 25 September 2015 at 2:14pm
We are utilizing Markup statics to report status. It is possible the text can change every few seconds. Most of them are or contain Hyperlinks.

When the mouse cursor is sitting on top of a Hyperlink, whose text gets changed asynchronously (but its still a Hyperlink), it loses the fact that it is a hyperlink (much of the hyperlink state information is handled when the mouse move occurs, especially into/out of the rect).

But since the mouse hasn't move, the color is not correctly reporting that you are hovering over a hyperlink, and more critical when you click, nothing happens.

We have tried emulating the Mouse Move event when we update the text so that the Hyperlink state can be set, but sometimes it doesn't behave quite right.

Is there a way to update the XAML text and to get the control to fully re-calculate its Hyperlink state via a method (vs. trying to emulate WM_MOUSEMOVE and et. al.)?
Back to Top
franji1 View Drop Down
Groupie
Groupie
Avatar

Joined: 28 June 2005
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote franji1 Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2015 at 5:09pm
We are using 13.2.1.5
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.141 seconds.