CompuServe Messages

Mod-2 DBuf

#: 117317 S12/Modula-2Forum unknown
    03-Apr-88 20:21:39
Sb: #117037-Mod-2 DBuf
Fm: Leon Frenkel 70701,62
To: Jim Vogel 73177,441

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

Hi Jim: The SimpleDBuf module works such that when you draw to the screen's RastPort the output goes to the alternate buffer. The FlipDBufScreen() procedure swaps the BitMap ptrs in the RastPort and ViewPort, however if you have opened a window the window's RastPort will not be swapped. My recomendation is to avoid using menus on double-buffered screens. If you decide to do it though make sure the window's RastPort BitMap ptr is set to the correct bitmap.