Print Page | Close Window

Expanding markup does not update control's height

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=19907
Printed Date: 19 May 2024 at 6:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Expanding markup does not update control's height
Posted By: dennisV
Subject: Expanding markup does not update control's height
Date Posted: 30 June 2012 at 10:30am
Hello all,

I have markup items in the control that can be collapsed/expanded, but when they are expanded, the control's height is not recalculated and thus they push existing records off the view (the scroll bar is not updated).

I've tried using InvalidateMeasure() and other functions, but none seem to help.

Can you please advise on how to recalculate the markup element and tell the control to update itself properly?

Thanks!


-------------
// W7 64 Ultimate SP1
// VS 2008
// CodeJock 16.2.3 (MFC)



Replies:
Posted By: dennisV
Date Posted: 01 July 2012 at 9:10pm
I think I solved this myself. For anyone else wondering, see the AdjustLayout() and AdjustScrollbars() functions.

-------------
// W7 64 Ultimate SP1
// VS 2008
// CodeJock 16.2.3 (MFC)



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