Skip to content

UseSystemSaveBitsStyle Property

Description

Determines whether to use the CS_SAVEBITS class style for displaying popups and shadows.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property UseSystemSaveBitsStyle() As Boolean

Remarks

If UseSystemSaveBitsStyle is True, a bitmap copy of the screen image that the window will obscure is saved in memory when the window is displayed.

The bitmap is re-displayed at its original location and no paint messages are sent to the obscured windows if no other screen actions have invalidated the image that has been stored.

As a general rule, UseSystemSaveBitsStyle should not be set to True if the window will cover more than half the screen; a lot of memory is required to store color bitmaps. The window will take longer to be displayed because memory needs to be allocated. The bitmap also needs to be copied over each time the window is shown.

Use should be restricted to small windows that come up and are then removed before much other screen activity takes place. Any memory calls that will discard all discardable memory, and any actions that take place "under" the window, will invalidate the bitmap.

See Also

CommandBarsOptions Object


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.