VBFlagAttribute Statement

The VBFlagAttribute statement describes a bit flag used in a bit flag field for a visual, nonvisual, or class interface part.

{ //VBFlagAttribute: typeName, flagName, displayName? }

typeName
The bit flag field type that the bit flag applies to, such as IWindow::Style. The type must match the type specified with a VBFlagInfo statement for the bit flag field.

flagName
The name of a C++ bit flag for a bit in the bit flag field.

displayName
Optional display name that identifies the bit flag. The display name is used in the part property sheet. If a display name is not specified, flagName is used.

( "descriptive name" | (resourceId, resourceDll) )

resourceId
Optional resource number of the descriptive name. If you specify a resource ID, you must also specify the resource DLL name.

resourceDll
Optional resource DLL name containing the descriptive name. You must specify the DLL name if you specify a resource ID. Do not include the .dll extension.


Related procedures
Defining the Part Interface Using Part Information Statements

Related references
Visual Part Information Statements
Nonvisual Part Information Statements
Class Interface Part Information Statements
Part Information Statement Descriptions
Part Information Statement Examples