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 » NoHideSelectionSet des not work Collapse All
Subject Author Date
Offer Har May 9, 2010 - 6:40 AM

Dear Support,

I added to my grid initialization this line:

    NoHideSelectionSet(true, false);

I clicked on a cell, which gives it focus, and then I click on another control, the blue-background of the cell did not remain

Please fix.



Technical Support May 11, 2010 - 12:53 PM

We cannot confirm this. The un-focused grid control should display selected cells with a dark gray background. If you need a blue background, then please override the CExtScrollItemWnd::OnSiwQueryFocusedControlState() virtual method in your grid class and simply return true from it.

Offer Har May 23, 2010 - 5:29 AM

Dear Support,

Can you please tell me where I can find a sample of this feature working? I could not make it work...



Technical Support May 25, 2010 - 1:38 AM

The grid control on the Grid dialog page in the ProfUIS_Controls sample application highlights the selected cells even when the CExtGridWnd window is not focused because the CPageGrid::OnInitDialog() method contains the following line of code:

   m_wndGrid.NoHideSelectionSet( true, false );