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 » CExtGridWnd in a CView Collapse All
Subject Author Date
Simon DESEE Sep 4, 2005 - 5:44 AM

Hello all,


I need to insert a CExtGridWnd on a CView with splitters.


How can I do this please ?


Thanks.

Technical Support Sep 4, 2005 - 11:23 AM

Just create an instance of CExtGridWnd inside the splitter window. Please note that the dialog control identifier value of the grid window depends on the grid location in the splitter window. You should invoke the CSplitterWnd::IdFromRowCol() method to the the dialog control identifier for the window inserted into splitter. Of course, we can provide you with a start-up sample application if you let us know all the details about it.

Simon DESEE Sep 26, 2005 - 2:28 AM

Hello,


I want that the user can edit CExtGridWnd numeric data and show at the bottom different calculates value (depends of the number written in the grid).


The grid will have one column with ComboBox and antoher with checkbox (I use your SimpleGrid sample).


At the left, I place a CExtResizableDialog (like CProfStudioHelpIndexView of the ProfStudio sample).


Regards,

Technical Support Sep 26, 2005 - 9:57 AM

We coded a sample application which implements the features you requested. This is a simple SDI application with a grid view window. The grid consists of two columns with check box cells and combo box cells. There is also a total bottom line, in which we sum all values of checked rows.