<< Return to Main Index

< Return to Class Index

CGXPageBreakPlugin::UpdatePageBreak

virtual void UpdatePageBreak(LPRECT pRect, int nHitTest, LPRECT pInitRect);

pRect

The new page break line position as a thin rectangle.

nHitTest

Hit test code. It can be HORZEDGE-horizontal break line, VERTEDGE-vertical break line, NONEEDGE-none.

pInitRect

The initial break line position as a thin rectangle.

Remarks

This function is called when user drags the page break line to a different position and release the mouse. This function will update the page break information as removing the old invalid page break index and add proper new page break index.

CGXPageBreakPlugin

Class Overview | Class Members