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 » CExtGridBaseWnd, grid lines Collapse All
Subject Author Date
a a Apr 5, 2006 - 8:21 PM

Is it possible to make the datagrid extend grid lines at the right side and at the bottom of the grid?

I’m migrating from CListCtrl to CExtGridWnd in a project, and those grid lines were meaningful because there’s a control at the right side of the list
with the same alignment, and those controls are interacting each other (it’s a composite control).

Thanks.

Technical Support Apr 6, 2006 - 11:52 AM

There is a OuterColumnWidthSet() method in the CExtGridWnd class which sets the width, in pixels, of the outer column on the left/right:

 virtual void OuterColumnWidthSet(
  bool bLeft,
  LONG nColNo,
  INT nWidth
  );

a a Apr 6, 2006 - 9:05 PM

Hmm...

In fact I was just looking for the equivalent of CListCtrl’s LVS_EX_GRIDLINES flag,
which makes the grid lines visible (even where there’s no string set).

Is there a similar flag in the data grid? If there is none it’s ok, it is not really important.

Technical Support Apr 7, 2006 - 10:47 AM

No, we do not support such a flag.