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 » Report Grid Window Collapse All
Subject Author Date
Manish Singh Feb 7, 2011 - 3:21 AM

how  we can set  margin from left or right  into report grid cell?? 


Please help me out. earlier response would be appreciated.

Technical Support Feb 11, 2011 - 12:38 AM

If you have a CExtGridCell*** pointer, then you cannot get its row/column indexes. You never need to compute them. All the virtual methods notifying about grid events always provide row/column indexes.

Manish Singh Feb 10, 2011 - 1:03 AM

Thanks For your support.. may i know is there any api  by which we can get Row no and Column No of particular cell.

Technical Support Feb 10, 2011 - 8:57 AM

If you have a CExtGridCell*** pointer, then you cannot get its row/column indexes. You never need to compute them. All the virtual methods notifying about grid events always provide row/column indexes.

Technical Support Feb 9, 2011 - 11:51 AM

Each grid cell has two rectangles: an outer extra rectangle and an inner cell rectangle. In most cases for most grid cells these two rectangles are equal. But it’s possible to make the inner cell rectangle smaller and reserve some space for some specific cell parts like a tree outline. The following virtual method controls the inner cell rectangle:

void OnGbwAdjustRects(
    LONG nColNo,
    LONG nRowNo,
    INT nColType,
    INT nRowType,
    RECT & rcCellExtraA,
    RECT & rcCellA
    ) const;

Manish Singh Feb 9, 2011 - 3:43 AM

how  we can set  margin from left or right  into report grid cell??