Tuesday, December 11, 2007

How to specify the kind of Message Box

How to specify the kind of Message Box

To specify the kind of Message Box

Below is the functionality of different values on a Message Box:

Value

Functionality

0

Display Ok Button only

1

Display Ok and Cancel Button

2

Display Abort, Retry, and Ignore Button

3

Display Yes, No and Cancel Button

4

Display Yes and No Button

5

Display Retry and Cancel Button

16

Display Critical Message icon

32

Display Warning Query icon

48

Display Warning Message icon

64

Display Information Message icon

No comments: