m_nTopIndex in CXTPPropertyGridUpdateContext |
Post Reply |
Author | |
Barto
Groupie Joined: 27 February 2005 Location: Germany Status: Offline Points: 60 |
Post Options
Thanks(0)
Posted: 01 February 2008 at 9:36am |
Hi, currently the algorithm in CXTPPropertyGrid::BeginUpdate/EndUpdate and SaveExpandingState for storing/restoring the scroll position/top index of the property grid works by storing the ID of the top-most item. However in many cases this item may not have a ID (e.g. child items of PropertyGridItemFlags, etc.) so in this case the scroll position is reset to 0.
I think you should add a flag that the top-index is stored/restored "raw", i.e. just using PropertyGrid->GetTopIndex/SetTopIndex. I really don't like to modify the toolkit library sources. BeginUpdate/EndUpdate is not even virtual.....
|
|
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 |