Print Page | Close Window

BUG: CXTPPropertyPage scrollbars!

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=13859
Printed Date: 22 June 2025 at 8:12pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUG: CXTPPropertyPage scrollbars!
Posted By: znakeeye
Subject: BUG: CXTPPropertyPage scrollbars!
Date 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/



Replies:
Posted By: Oleg
Date 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


Posted By: znakeeye
Date 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/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net