FixTime  FocusOnButtonDown

Chapter 3: Property Descriptions and Usage

Flags

Applies to

NotificationBubble objects

Description

Sets behavior changes for the notification bubble. Values are:

Value

Windows CE value

Description

0

(Default) No changes

1

Straight to tray

Hides initial display of the notification bubble, displaying it only as an icon

2

Critical

Highlights notification bubble borders and title

16

Display on

Forces the display to turn on for the notification (Pocket PC 2003 only)

32

Silent

Forces the notification to be silent and not vibrate regardless of system settings (Pocket PC 2003 only)

The value you set for the Flags property is additive. A value of 1, 3, 17, 19, 33, 35, 49, or 51 overrides the InitiallyIconic property, because the Flags value of 1 is set, meaning that the notification bubble will not display initially when a notification update occurs. A value of 16 or greater is valid only for Pocket PC 2003 operating systems.

Usage


In a painter

StepsTo set flags for a notification bubble:

  1. Enter the number you want in the Flags text box on the General page of the control’s Properties view.


In scripts

The Flags property takes a long. The following example sets the Flags property for a notification bubble to 3:

nb_myBubble.Flags = 3

In this example, the notification bubble is not displayed initially and when it is displayed, the bubble borders and title are highlighted to indicate a critical message.





Copyright © 2004. Sybase Inc. All rights reserved. FocusOnButtonDown

View this book as PDF