Called by the framework to prepare printing.
This function is called by the framework before CBCGPGridCtrl::OnBeginPrinting. The default implementation inits grid's structures before printing. By default the grid prints all grid items from first row to the last. Override this function if you want to specify the custom printed range.
- Parameters
-
pInfo | Points to a CPrintInfo structure that describes the current print job. |
nFirstItem | Specifies zero-based index of the first item to be printed |
nLastItem | Specifies zero-based index of the last item to be printed. |