Professional UI Solutions
Site Map   /  Register


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.

Forums » Prof-UIS Tech Support » TreeGrid Item expanding and focus Collapse All
Subject Author Date
Rado Manzela Jan 31, 2011 - 7:44 AM

When I have single item selected and focused, when I click to it’s expand button, you unset the focus and then set focus to the same item again. Why do you do that? It is causing unnecessary flashing in my other window which is showing some details for focused/selected item.

Technical Support Jan 31, 2011 - 11:17 AM

The CExtTreeGridWnd::ItemExpand() method performs these focused item manipulations. This is required to ensure the focused row in the CExtTreeGridWnd control is never under collapsed row. The focused row resetting is always performed without tree grid re-painting.

Rado Manzela Jan 31, 2011 - 3:11 PM

Can’t you check whether focus/selection really needs to be changed first? Tree is not redrawn, but my OnGbwSelectionChanged() is called twice, first with NULL focus, then with previous focus and my status window is flashing. It was not so bad in 2.87

Rado Manzela Jan 31, 2011 - 7:47 AM

it seems this issue appeared when I’ve upgraded from 2.87 to 2.92. an you check it please?