Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - <ScrollViewer> problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

<ScrollViewer> problem

 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: <ScrollViewer> problem
    Posted: 01 May 2008 at 9:52pm
I put my grid inside a <ScrollViewer>-tag, and then show it inside a CXTPPopupControl with a fixed height:
sz.cy = min(74, sz.cy);
SetPopupSize(CSize(sz.cx + 30, sz.cy + 20));
 
Now the scroll is cut off at the bottom, and I really don't understand its purpose. What's up?! What am I doing wrong?
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: 01 May 2008 at 10:07pm
The bug is located in XTPPopupItem.cpp(268):
 
// Third parameter becomes INT_MAX!
CSize sz = XTPMarkupMeasureElement(m_pUIElement, m_rcItem.Width());
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.191 seconds.