<< Return to Main Index

< Return to Class Index

class CGXPageBreakPlugin : public CWnd

This plugin add page break UI support for Objective Grid. To use the plugin, you need to put an instance of this class in your CGXGridView derivative class, then typically, in your OnInitialUpdate function of your view class, call the plugin function of this class with your view class as the single argument. You can change the page break line color and page label text color. There are two types of break lines. One is the customer break line, the other is the lines created by the Grid system. They are drawn using two different color. When you drag a break line created by the Grid system, this line will become a customer break line. Currently, Grid doesn't do scaling. So when user resize the page and the page is too big for Grid system to draw it on one page, the grid system will automatic add some page break lines for you.

CGXPageBreakPlugin

Class Members