Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
marc uchida
|
Sep 9, 2010 - 11:45 AM
|
I have a property grid with some string cells (CExtGridCellString) and 1 combo property. The string cells are read only. The values of the string cells reflects what was chosen from the combo property. I can update the values for the data members though the Apply of the combo property, because I have access to all the Property Values in my Property grid class, but the string cells DISPLAYED values do not update when I change their values programmatically in this way. I do use TextSet member of the string grid cells in question, but that does not force a refresh of the display. The same applies to changing the Style (like toggling read only trait) with the ModifyStyle member.
There is no equivalent behaviour in the PropertyGrid sample project.
I used to be able to get this behaviour pre version 283 by calling the property grid control’s PropertyStoreSynchronize() from the containing dialogs OnPaint, but since 283 the OnPaint no longer gets called automatically after an item in the property grid has been changed.
How am I suppose to handle this case? There does not appear to be a way, if the TextSet does not do it for me.
CExtGridCell does not appear to have an update display method.
I am running on Vista and XP with v290 currently.
thanks
marc
|
|
Technical Support
|
Sep 10, 2010 - 12:24 AM
|
|
|