Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - [SOLVED] v15.1.1 statusbar+markup
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] v15.1.1 statusbar+markup

 Post Reply Post Reply
Author
Message
xcentric View Drop Down
Groupie
Groupie


Joined: 04 September 2008
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote xcentric Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] v15.1.1 statusbar+markup
    Posted: 26 July 2011 at 5:36pm
Markup not works properly when used in more than one statusbar pane.
It renders properly but incorrectly handles mouse events.

For example add 2 panes like that:

m_wndStatusBar.EnableMarkup(TRUE);

pPane = m_wndStatusBar.AddIndicator(ID_INDICATOR_1, 0);
pPane->SetText(_T("<TextBlock VerticalAlignment='Center'><Hyperlink Tag='XXX'>Pane 1</Hyperlink></TextBlock>"));

pPane = m_wndStatusBar.AddIndicator(ID_INDICATOR_2, 1);
pPane->SetText(_T("<TextBlock VerticalAlignment='Center'><Hyperlink Tag='ZZZ'>Pane 2</Hyperlink></TextBlock>"));

You will see the first pane does not handle mouse events (it even does not change a cursor).

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2011 at 1:52am
Thanks, fixed for next update.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.109 seconds.