PyCView.OnUpdate Virtual

OnUpdate(sender, lHint , hint )

Called by the framework when a view needs updating.


sender : PyCView

lHint : int

hint : object


Typically you should not perform any drawing directly from OnUpdate. Instead, determine the rectangle describing, in device coordinates, the area that requires updating; pass this rectangle to PyCWnd::InvalidateRect. You can then paint the update next PyCView::OnDraw

See Also