![]() |
BUG: CXTPPropertyPage scrollbars! |
Post Reply
|
| Author | |
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
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/
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
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/
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |