Important: The information in this document is obsolete and should not be used for new development.
DrawNew
The Window Manager uses theDrawNewprocedure to erase and update changed window regions.
PROCEDURE DrawNew (window: WindowPeek; update: Boolean);
window- A pointer to the window's complete window record.
update- A Boolean value that determines whether the regions are updated.
DESCRIPTION
TheDrawNewprocedure erases the parts of a window's structure and content regions that are part of the window's former state and part of its new state but not both. That is,
(OldStructure XOR NewStructure) UNION (OldContent XOR NewContent)If the update parameter is set to
TRUE,DrawNewalso updates the erased regions.
- WARNING
- In Pascal,
SaveOldandDrawNeware not nestable.![]()
ASSEMBLY-LANGUAGE INFORMATION
In assembly language, you can nestSaveOldandDrawNewif you save and restore the values of the global variablesOldStructureandOldContent.