Button Masks

 

The ButtonMasks are used to specify which buttons are displayed in the Title/Tool Bar via the ButtonMask property. They are also used by the ButtonEnabledMask property to reflect the logical enabled state of the toolbar buttons.

 

HomeButtonMask

&H0001

OpenButtonMask

&H0002

HistoryButtonMask

&H0004

CheckButtonMask

&H0008

SaveButtonMask

&H0010

BackButtonMask

&H0020

ForthButtonMask

&H0040

StopGoButtonMask

&H0080

MovieButtonMask

&H0100

URLButtonMask

&H0200

TitleVisibleMask

&H0400

PrintButtonMaskMask

&H0800

OpenShortcutButtonMask

&1000

NewShortcutButtonMask

&2000

CopyButtonMask

&4000

FindButtonMask

&8000

 

Remarks

 

In the ButtonMask property, a 1 bit in the bitmask displays the corresponding button, a 0 hides it.

 

In the ButtonEnabledMask property, a 1 bit in the bitmask indicates that the corresponding button is logically enabled (regardless of visibility setting), a 0 indicates that the button is logically disabled.

 

Use the TitleWindowStyle property to show the Title/Tool Bar at the top or bottom of the control window, or to hide it completely.