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

CXTPControlGallery::SetControlSize

 Post Reply Post Reply
Author
Message
Dan View Drop Down
Groupie
Groupie


Joined: 11 June 2014
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dan Quote  Post ReplyReply Direct Link To This Post Topic: CXTPControlGallery::SetControlSize
    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
Back to Top
mcmastl View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 April 2015
Status: Offline
Points: 79
Post Options Post Options   Thanks (0) Thanks(0)   Quote mcmastl Quote  Post ReplyReply Direct Link To This Post 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
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.141 seconds.