Expanding markup does not update control's height |
Post Reply |
Author | |
dennisV
Senior Member Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
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) |
|
dennisV
Senior Member Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
|
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) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |