Print Page | Close Window

CXTPControlGallery::SetControlSize

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=22323
Printed Date: 25 December 2024 at 12:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlGallery::SetControlSize
Posted By: Dan
Subject: CXTPControlGallery::SetControlSize
Date Posted: 11 June 2014 at 5:50am
Hi,

Not sure if this is the right place for this post, but I think there is a bug in the implementation of the CXTPControlGallery::SetControlSize function ...

...
m_nWidth = nRows*szItem.cx;
m_nHeight = nColumns * szItem.cy + nLabels * CXTPControlGalleryItem::GetDefaultHeight();

nRows and nColumns are being used the wrong way round.

m_nWidth = nColumns*szItem.cx;
m_nHeight = nRows * szItem.cy + nLabels * CXTPControlGalleryItem::GetDefaultHeight();

Dan



Replies:
Posted By: mcmastl
Date Posted: 15 April 2015 at 2:31pm
Dan, thank you for letting us know of this issue.  We have let our development team know to look further into the issue.  If the matter has been resolved please let us know. 

-------------
Luke McMasters, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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