 |
WinBeginPaint |
Function (ROM Call 0x500) |
Saves the current screen state of given window, and prepares the settings for drawing in the LCD memory.
WinBeginPaint just saves the current screen state in w->savedScrState
,
executes PortRestore and sets the current font to
w->CurFont
. So, emulating it on AMS 1.xx is easy.
WinBeginPaint is always paired with WinEndPaint which restores the screen state.
WinBeginPaint is commonly used to respond a CM_ACTIVATE message.
Uses: FontSetSys, PortRestore, SaveScrState
Used by: EV_quit, EV_defaultHandler
See also: WinEndPaint