nw / repaint & blitting ?
Robert M. Münch
I don't understand how/where a repaint (window content update) is triggered in NW on Windows.
I assume that a WM_PAINT message is somewhen generated and that this will BitBlt a pre-pared bitmap. But where does the trigger for the WM_PAINT message happen and where is the actual BitBlt done?
WNDPROCis bound to
MessageRouter.procwhich calls the window's
__handle_message()method which calls the
WM_PAINT()method or the
on_paint()method. If you're using
CairoPanel, that descends from
BitmapPanelwhich defines the
on_paint()method. Hope this helps.