<< Return to Main Index

< Return to Class Index

CGXGridCore::UpdateZoom

virtual void UpdateZoom(int nOldZoom, UINT flags, BOOL bCreateHint = FALSE);?

nOldZoom

Specifies the old zooming-factor before StoreZoom has been called.

flags

Specifies the update technique. This parameter is passed to Redraw.

bCreateHint

Specifies if a hint should be created.

Remarks

Overridable method which redraws the view after changing the zoom-factor.

The method creates the following hint:

   CGXGridHint hint(gxHintUpdateZoom, m_nViewID);
   hint.lParam = nOldZoom;
   hint.flags  = flags;

You can override this method if you need to change the hint.

See Also

CGXGridCore::SetZoom CGXGridHint

CGXGridCore

Class Overview | Class Members