Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Possible bug in CXTPStatusBar?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Possible bug in CXTPStatusBar?

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

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Possible bug in CXTPStatusBar?
    Posted: 18 May 2009 at 8:05am
XTP 13.
When hovering the status bar button (to the left), it overlaps the divider as shown below:
 
 
Is this correct?
 
 
CXTPStatusBarPane* pPane = m_wndStatusBar.AddIndicator(ID_INDICATOR_MAX_HITS);
pPane->SetButton();
pPane->SetWidth(200);
pPane->SetPadding(8, 0, 8, 0);
pPane->SetText(_T("Maximum hits:"));
pPane = m_wndStatusBar.AddIndicator(ID_INDICATOR_NUMBER);
pPane->SetWidth(200);
pPane->SetPadding(8, 0, 8, 0);
pPane->SetText(_T("Number"));
pPane = m_wndStatusBar.AddIndicator(ID_INDICATOR_TOTAL);
pPane->SetWidth(250);
pPane->SetPadding(8, 0, 8, 0);
pPane->SetText(_T("Total"));
m_wndStatusBar.SetDrawDisabledText(FALSE);
CXTPToolTipContext* pToolTipContext = m_wndStatusBar.GetToolTipContext();
pToolTipContext->SetStyle(xtpToolTipOffice2007);
pToolTipContext->SetFont(m_wndStatusBar.GetPaintManager()->GetIconFont());
PokerMemento - http://www.pokermemento.com/
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

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: 20 May 2009 at 2:08am
Hi,
 
Please set Margin for last button.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.063 seconds.