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 » And another bug in cell joining...? Collapse All
Subject Author Date
Offer Har Feb 3, 2009 - 4:54 PM

I try to merge two cells in the header columns, the two left-most cells:


 


+---+---+---+---+
|   |   |   |   |
+   +---+---+---+
|   |   |   |   |
+---+---+---+---+

But this what happens (the text there is Type...):



This is my code:



    pCellHdr = (CExtGridCellHeader*)GridCellGetOuterAtTop(0, 0, RUNTIME_CLASS(CExtGridCellHeader));
    pCellHdr->TextSet(_T("Type"));
    pCellHdr->ExtentSet(100);
    pCellHdr->ModifyStyle(__EGCS_TA_HORZ_CENTER);
    GridCellJoinSet(CSize(1,2), 0, 0, 0 , -1);

Please help...


Thanks,


Ron.