Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Remembering category expansion state
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Remembering category expansion state

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


Joined: 24 September 2007
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote andrewg Quote  Post ReplyReply Direct Link To This Post Topic: Remembering category expansion state
    Posted: 18 October 2007 at 10:36am
Is there any way to remember the expansion states of the items in a property grid? That way when a user returns to the program at a later time the propertygrid will be in the same state as he left it (all expanded, all collapsed, some expanded, etc...)
Back to Top
Barto View Drop Down
Groupie
Groupie


Joined: 27 February 2005
Location: Germany
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Barto Quote  Post ReplyReply Direct Link To This Post Posted: 23 October 2007 at 5:20am
have you looked at CXTPPropertyGridUpdateContext? The implementation is protected, but maybe it can give you some ideas...
Back to Top
andrewg View Drop Down
Groupie
Groupie


Joined: 24 September 2007
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote andrewg Quote  Post ReplyReply Direct Link To This Post Posted: 23 October 2007 at 9:37am
Originally posted by Barto Barto wrote:

have you looked at CXTPPropertyGridUpdateContext? The implementation is protected, but maybe it can give you some ideas...


I ended up making my own XML read/write class. Similar to what the CXTPPropExchangeXMLNode does. Just in case anyone was curious..
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.172 seconds.