<< Return to Main Index

< Return to Class Index

CGXGridParam::SetSmartResize

void SetSmartResize(BOOL b);

b

TRUE if mode shall be enabled; FALSE otherwise.

Remarks

With smart resizing, the grid will only redraw those cells that were not visible before, when the user resizes the view.

Note: Smart resizing works fine with CMDIChildFrame, CFrameWnd, CGXTabWnd, GXRecordInfoWnd and CSplitterWnd. If you are using the grid in other frame windows, there may be glitches, and you should turn off smart resizing or take a look at how CGXTabWnd::OnSize is implemented to enable your specific frame window to support smart resizing for the grid. (You will need to send WM_GX_LOCKRESIZE messages to the grid).

CGXGridParam

Class Overview | Class Members