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 Tech Support » Is there a way to complete the grid's frame? Collapse All
Subject Author Date
Offer Har Mar 3, 2009 - 4:41 PM

Dear Support,


I have a grid with row & column header and top & left. The right & bottom sides looks as if they miss the frame that the top & left sides have. Is there an option to add those?



Thanks,


Ron.

Offer Har Mar 4, 2009 - 12:53 PM

Dear Support,


If I will add the scroll bars, I will have scroll-bars... I just want the lines to continue so it won’t look like something is missing.


Thansk,


Ron.

Technical Support Mar 5, 2009 - 3:05 AM

You should apply an appropriate set of the __EGBS_BSE_EX_EAL_*** styles using the CExtGridWnd::BseModifyStyleEx() method or the CExtGridWnd::GridEmptyAreaLines***Set() methods.

Offer Har Mar 5, 2009 - 11:08 AM

Dear Support,


This is not what I askded for - what I need is for the frame of the grid to continue on the right edge and on the bottom edge, and for that matter on every edge that does not have header cells.


Unless you have header rows on all sides, it looks as if the grid is not finished, as you can see in the screenshot above.


Completing the internal area with grid lines will only confuse our users thing that there are cells there, when there actualy are no cells.


Thanks,


Ron.

Technical Support Mar 4, 2009 - 12:49 PM

You can make the vertical scroll bar or both vertical and horizontal scroll bars persistently visible. You should create your grid window with the WS_VSCROLL style (or WS_HSCROLL|WS_VSCROLL styles) and apply the __ESIS_DISABLE_AUTOHIDE_SB_V style using the CExtScrollItemWnd::SiwModifyStyle() method (or the __ESIS_DISABLE_AUTOHIDE_SB_H| __ESIS_DISABLE_AUTOHIDE_SB_V styles).