Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - BUG: CXTPPropertyPage scrollbars!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BUG: CXTPPropertyPage scrollbars!

 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: BUG: CXTPPropertyPage scrollbars!
    Posted: 30 March 2009 at 3:39pm

I have a pane with a CXTPPropertyPage-derived dialog. I initialize 'm_totalDev' to allow for scrollbars:

VERIFY(CXTPPropertyPage::OnInitDialog());
CDialogTemplate dt(m_hDialogTemplate);
dt.Load(m_lpszTemplateName);
CSize size(0, 0);
dt.GetSizeInPixels(&size);
m_totalDev.SetSize(size.cx, size.cy);
 
The scrollbars do appear as intended, but the arrows have inverted behavior! Example:
1) The dialog is obscured on the left, hence scrolled to the right.
When clicking the right-arrow, nothing happens.
When clicking the left-arrow, the window scrolls to the right!!
 
2) The dialog is obscured on the top, hence scrolled to the bottom.
When clicking the bottom-arrow, nothing happens.
When clicking the top-arrow, the window scrolls to the bottom!!
 
(I'm using XTP 13.0.0)
Please fix this inverted behavior in XTP 13.1.0!
PokerMemento - http://www.pokermemento.com/
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: 31 March 2009 at 2:12am
Hi,
 
Sorry, forgot - you also need setup m_lineDev
 
m_lineDev = CXTPDrawHelpers::Dlu2Pix(5, 5);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
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 Posted: 31 March 2009 at 3:11am
You mean that will solve the inverted behavior? Sounds weird :P
Will check later, thanks!
PokerMemento - http://www.pokermemento.com/
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.031 seconds.