Can't get a PropertyGrid to refresh

  • Thread starter Thread starter Noah Stein
  • Start date Start date
N

Noah Stein

I've been fighting this for a solid 30 minutes now. When I change the value
of a property outside of the grid, I can't get the grid to change the
display. If I obscure the window behind another window and then return it to
the top, the grid displays the proper value. I call Refresh() on the
PropertyGrid. After that, I've attempted other calls to try to get the
display updated, but all to no avail. Invalidate() and Update(), even in
combination after Refresh(), don't cause the grid to display the new value.
I'm developing using Managed C++ in VS 2005. Does anybody have any ideas?


Thanks,
Noah
 
Noah,

Noah,

Are using the property grid inside VS (design time) or you are using the
PropertyGrid in you application (not related to VS)?
 
At runtime in my application.

This should have been in the controls group, but I didn't realize I'd
accidentally clicked on regular windowsforms.


-- Noah
 
Ignore my original posting. Something else in the system was intercepting
the repainting after the refresh. Thanks.
 
Back
Top