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 » CExtGridCell question Collapse All
Subject Author Date
tera tera Sep 11, 2009 - 2:12 AM

Hello.


Cannot you display the following cells?


Technical Support Sep 11, 2009 - 7:21 AM

You can see the very similar menu in the FormulaGrid sample application.
You should initialize the button node for the right buttons collection, then insert the children CExtCustomizeCmdTreeNode nodes which represent the dropped menu.

tera tera Sep 13, 2009 - 6:11 PM

 


Please describe the comment precisely.


Thanks,


 

Technical Support Sep 14, 2009 - 6:26 AM

We are sorry, we misunderstood your question. The CExtGridCellButton class implements a push button like looking grid cell with the button shape covering entire grid cell’s area. Other buttons are unsupported by this grid cells. You can organize this two-button grid cell as two columns of grid cells.

Technical Support Sep 11, 2009 - 7:21 AM

It looks like a simple text grid cell (the CExtGridCellString class) with an icon and ellipsis button (the __EGCS_BUTTON_ELLIPSIS style).


tera tera Sep 13, 2009 - 6:58 PM

Beside a button, I cannot display __EGCS_BUTTON_ELLIPSIS.


 CMuGridCellButton * pGridCellButton;  pGridCellButton =   STATIC_DOWNCAST(      CMuGridCellButton,      m_pMuGrid->GridCellGet( 0, 9, 0, 0,     RUNTIME_CLASS(CMuGridCellButton)        )  );  pGridCellButton->TextSet(" button ");

 pGridCellButton->ModifyStyle( __EGCS_BUTTON_ELLIPSIS, 0L );