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 » the problem of using CExtReportGridWnd Collapse All
Subject Author Date
L Freddi Dec 11, 2008 - 6:01 PM

Hi,


I want to create table like this in Dialog.


--------------------------------------------------------------------------------------


Input                           |             A             |            B           |        C         |


Sensor | Sensor 1   |   Combox Box  |   Check Box    |       text       |   


               | Sensor 2  |   Combox Box  |   Check Box    |       text       |


--------------------------------------------------------------------------------------


To coding, I search  UI method, I find ReportGrid using CExtReportGridWnd in Samples.


But It’s difficult and complex to me.


Please give me easy sample for making upper table.


 


 


 

Technical Support Dec 15, 2008 - 9:46 AM

The SynchronizedGrids sample and grid cell join feature require v.2.83. You should install v.2.83 first. Then you can join any cell areas in the grid controls in your application as it is demonstrated in the following test project:

http://www.prof-uis.com/download/forums/TestCellJoin_BIN.zip
http://www.prof-uis.com/download/forums/TestCellJoin_SRC.zip

If you need to join cells in a tree grid control, you should use v.2.84 which is to be released today. Here is the sample project demonstrating the new feature of tree grid control:
http://www.prof-uis.com/download/forums/TestTreeGridCellJoin_BIN.zip
http://www.prof-uis.com/download/forums/TestTreeGridCellJoin_SRC.zip

L Freddi Dec 14, 2008 - 6:32 PM

Thank you for your response.


You understood my task correctly, so I need Sample codes.


I have 2.8.2 Prof-UIS version but don’t find SynchronizedGrids Sample.


Can you upload Sample Codes ASAP please?


 


 

Technical Support Dec 14, 2008 - 7:00 AM

The Input grid cell occupies locations of two grid cells horizontally. The Sensor and Sensor 1 cells are at the bottom of it.

The Sensor grid cell occupies locations of two grid cells vertically. The Sensor 1 and Sensor 2 cells are at the right of it.

It looks like you need simple grid window with joined grid cells. Such grid window is demonstrated in the SynchronizedGrids sample application. You should use the CExtGridWnd window because the CExtReportGridWnd window does not support cell joining feature.

If we understood your task correctly, then we can provide you with the sample application. Please let us know details.

L Freddi Dec 15, 2008 - 10:52 PM

Dear Support,


I installed Prof-UIS v.2.83 Freeware in you MFC Downloads pages and  debug your sample, TestCellJoin_SRN.


But I have some errors "CExtPPVW : undeclared identifier" "CExtGridWnd : undeclared identifier", etc.


Why do I have this errors although I installed ver2.83.?


Please reply me ASAP. Thanks.

Technical Support Dec 18, 2008 - 11:37 AM

Both grid controls (the CExtGridWnd class and derived from it classes) and printing/previewing subsystem based on the CExtPPVW template class are not present in Prof-UIS freeware. You need the full or trial Prof-UIS to compile the test projects referred in our previous answer in this thread.

L Freddi Dec 14, 2008 - 6:37 PM

Thank you for your response.


 


You understood my task correctly, so I need Sample codes.


 


I have 2.8.2 Prof-UIS version but don’t find SynchronizedGrids Sample.


 


Can you upload Sample Codes ASAP please?