Tree View gets grayed on Minimize-maximize
-
Hi, In my sdi application I have 2 tree views selectable by tabs. If I minimize and maximize the application the tree view looks grayed, only the selected node being visible. Can anyone tell me why and how to fix this?
There can be a range of issues here. Here are some things you can try: One, make sure when one is made visible, the other is made invisible. Two, the tab or the dialog may be drawing it's background on top of the tree controls. Try setting the tab or dialogs properties to clip children. Three, detect the WM_ACTIVATE and do a RedrawWindow on the visible tree. -- Joel Lucsy
-
There can be a range of issues here. Here are some things you can try: One, make sure when one is made visible, the other is made invisible. Two, the tab or the dialog may be drawing it's background on top of the tree controls. Try setting the tab or dialogs properties to clip children. Three, detect the WM_ACTIVATE and do a RedrawWindow on the visible tree. -- Joel Lucsy