Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS General Discussion » Resize cursor when hovering cell edge Collapse All
Subject Author Date
Bart Kampers Nov 16, 2010 - 5:02 AM

 


 I enabled column resizing in my CExtGridWnd by invoking  SiwModifyStyle(__EGBS_RESIZING_CELLS_OUTER_H | __EGBS_RESIZING_CELLS_INNER_H, 0, false);When user resizes the cell the cursor changes into a resize cursor. But the cursor does not change when a vertical edge of the cell is hovered.


 


In your examples FilteredGrids and ReportGrid the cursor does change when hovering but I cannot see how this is done. Could you please help?


 


Kind regards,


 


Bart.

Bart Kampers Nov 25, 2010 - 3:33 AM

Is it also possible to detect that the user has resized a column and perform additional actions?

Technical Support Nov 26, 2010 - 7:06 AM

You can do that by overriding the CExtGridBaseWnd::OnGbwResizingStateApply() virtual method.

Technical Support Nov 16, 2010 - 7:52 AM

The following line of code is very important:

   m_wndGrid.HoverEventsSet( true, true );

You should enable the hover events in your grid code.