Tables can be inserted into canvas using the integrated dialog box or directly from program code. Frames and shading can be applied to cells and the cell contents can be formatted using any of E-XD++ You can also add the table shape into the canvas by using a drop picker like Microsoft Word. Cells can be full formatted, you can join all the selected cells to one single cell or split the select cell to multiple cells. Table cells can be accessed in a grid-like manner, enabling developers to fill in their contents from a database and perform calculations on the contents of rows and columns. By default the following features is shipped:
1).
Insert one row before
the select row.
The class of this table shape is CFOPTableShape Steps: 1. Create drop - down table selector window:
m_wndToolBar.ChangeToDropTablePickerButton(ID_FO_DRAW_TABLE_SHAPE,ID_FO_DRAWTABLE_ARROW, 2. Send table selection message: ON_MESSAGE(WM_FO_SETPARAMS, OnTableSelectOK) LONG CMainFrame::OnTableSelectOK(UINT wParam, LONG lParam) { CView* pView = FOGetActiveView(); if(pView != NULL) { pView->PostMessage(WM_FO_SETPARAMS,wParam,lParam); } return 0L; } |
Copyright ?1998-2007 UCanCode.Net Software, all rights reserved.
Other product and company names herein may be the trademarks of their respective owners.
Please direct your questions or comments to webmaster@ucancode.com