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 » How to set the string content to the fixed column(GridCellGetOuterAtLeft) Collapse All
Subject Author Date
zhang jin Dec 10, 2012 - 7:19 PM

Hi,


I use the following code to set the string to a fixed column(OuterColumn).


CExtGridCell * pCell = GridCellGetOuterAtLeft( 0L, nRowIndex, RUNTIME_CLASS(CExtGridCellHeader) );

 if (NULL != pCell)

 {

         pCell->ModifyStyle( __EGCS_TA_HORZ_CENTER | __EGCS_TA_VERT_CENTER | __EGCS_TEXT_ELLIPSIS,__EGCS_HDR_ROW_COLUMN_NUMBER);

  pCell->TextSet(strFillText);

  OnSwInvalidate(true);

  OnSwUpdateScrollBars();

 }


but, the result is still A, B, C, D. ..., rather than the expected string. Please give me some ideas.


Thanks

zhang jin Dec 27, 2012 - 8:04 PM

Is there anything else I need to do in order to show my string in Left ? What style should I need to add or remove? such as  __EGCS_HDR_ROW_COLUMN_NUMBER

married Dec 17, 2012 - 1:00 AM

Dear Zhang Jin,  we are very sorry about the break in the technical support of our products. Currently, work has started with a new team and our work will resume in full soon. We are still working with your request. We ask for your forgiveness. A solution will be found soon.



Prof-UIS Team