Documentation/Flags
module

Flags

Flags.js:1
enum

AlbumArtId

Flags.js:968

Values number

NameValueDescription
front0
back1
disc2
icon3
artist4
enum

AttachImage2Codec

Flags.js:1413

Image codecs used in AttachImage2

Values number

NameValueDescription
Jpeg0

lossy, maximum compatibility

WebP1

WebP lossless if quality = 100, otherwise WebP lossy

Png2

always lossless, compatibility-first

enum

BrushType

Flags.js:1305

Values number

NameValueDescription
Solid0
LinearGradient1
RadialGradient2
Bitmap3
enum

BrushWrapMode

Flags.js:1317

Brush wrap modes used in GdiBrush.WrapMode and D2DBrush.WrapMode
Behavior of the modes may differ between GDI+ and Direct2D

Values number

NameValueDescription
Tile0

Specifies tiling without flipping.

TileFlipX1

Specifies that tiles are flipped horizontally as you move from one tile to the next in a row.

TileFlipY2

Specifies that tiles are flipped vertically as you move from one tile to the next in a column.

TileFlipXY3

Specifies that tiles are flipped horizontally as you move along a row and flipped vertically as you move along a column.

Clamp4

Specifies that no tiling takes place. In D2D mode extends the edges of the source out by clamping sample points outside the source to the edges. In GDI: simply stops the output and for linear gradient brushes is not valid parameter.

enum

CapStyle

Flags.js:1238

Used as a line drawing startCap and endCap parameter value in DrawLine

Values number

NameValueDescription
Flat0
Square1
Round2
Triangle3
enum

ColourTypeCUI

Flags.js:981

Values number

NameValueDescription
text0
selection_text1
inactive_selection_text2
background3
selection_background4
inactive_selection_background5
active_item_frame6
enum

ColourTypeDUI

Flags.js:1006

Values number

NameValueDescription
text0
background1
highlight2
selection3
enum

CompositeMode

Flags.js:1284

Composition mode flags for DrawEffect

Values number

NameValueDescription
SourceOver0
DestinationOver1
SourceIn2
DestinationIn3
SourceOut4
DestinationOut5
SourceAtop6
DestinationAtop7
Xor8
Plus9
SourceCopy10
BoundedSourceCopy11
MaskInvert12
enum

D2DCompileFlags

Flags.js:1250

Compilation flags for d2d.Compile

Values number

NameValueDescription
D3DCOMPILE_DEBUG1
D3DCOMPILE_SKIP_VALIDATION2
D3DCOMPILE_SKIP_OPTIMIZATION4
D3DCOMPILE_PACK_MATRIX_ROW_MAJOR8
D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR16
D3DCOMPILE_PARTIAL_PRECISION32
D3DCOMPILE_FORCE_VS_SOFTWARE_NO_OPT64
D3DCOMPILE_FORCE_PS_SOFTWARE_NO_OPT128
D3DCOMPILE_NO_PRESHADER256
D3DCOMPILE_AVOID_FLOW_CONTROL512
D3DCOMPILE_PREFER_FLOW_CONTROL1024
D3DCOMPILE_ENABLE_STRICTNESS2048
D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY4096
D3DCOMPILE_IEEE_STRICTNESS8192
D3DCOMPILE_OPTIMIZATION_LEVEL016384
D3DCOMPILE_OPTIMIZATION_LEVEL10
D3DCOMPILE_OPTIMIZATION_LEVEL249152
D3DCOMPILE_OPTIMIZATION_LEVEL332768
D3DCOMPILE_RESERVED1665536
D3DCOMPILE_RESERVED17131072
D3DCOMPILE_WARNINGS_ARE_ERRORS262144
D3DCOMPILE_RESOURCES_MAY_ALIAS524288
D3DCOMPILE_ENABLE_UNBOUNDED_DESCRIPTOR_TABLES1048576
D3DCOMPILE_ALL_RESOURCES_BOUND2097152
D3DCOMPILE_DEBUG_NAME_FOR_SOURCE4194304
D3DCOMPILE_DEBUG_NAME_FOR_BINARY8388608
enum

DashStyle

Flags.js:1219

Used as a line drawing style parameter value in:
DrawLine
DrawRect
DrawRoundRect
DrawEllipse
DrawPolygon
DrawLines

Values number

NameValueDescription
Solid0
Dash1
Dot2
DashDot3
DashDotDot4
enum

DialogResult

Flags.js:1394

Dialog result codes used in utils.MessageBox

Values number

NameValueDescription
None0
OK1
Cancel2
Abort3
Retry4
Ignore5
Yes6
No7
TryAgain10
Continue11
enum

FontStyle

Flags.js:832

Used in gdi.Font, can be combined.
For more information, see: http://msdn.microsoft.com/en-us/library/ms534124(VS.85).aspx

Values number

NameValueDescription
Regular0
Bold1
Italic2
BoldItalic3
Underline4
Strikeout8
enum

FontTypeCUI

Flags.js:996

Values number

NameValueDescription
items0
labels1
enum

FontTypeDUI

Flags.js:1018

Values number

NameValueDescription
defaults0
tabs1
lists2
playlists3
statusbar4
console5
enum

InterpolationMode

Flags.js:877

Values number

NameValueDescription
Invalid-1
Default0
LowQuality1
HighQuality2
Bilinear3
Bicubic4
NearestNeighbor5
HighQualityBilinear6
HighQualityBicubic7
enum

MessageBoxButtons

Flags.js:1337

Message box buttons used in utils.MessageBox

Values number

NameValueDescription
OK0

The message box contains an OK button.

OKCancel1

The message box contains OK and Cancel buttons.

AbortRetryIgnore2

The message box contains Abort, Retry, and Ignore buttons.

YesNoCancel3

The message box contains Yes, No, and Cancel buttons.

YesNo4

The message box contains Yes and No buttons.

RetryCancel5

The message box contains Retry and Cancel buttons.

CancelTryContinue6

Specifies that the message box contains Cancel, Try Again, and Continue buttons.

enum

MessageBoxDefaultButton

Flags.js:1381

Message box default button flags used in utils.MessageBox

Values number

NameValueDescription
Button10
Button2256
Button3512
Button4768
enum

MessageBoxIcon

Flags.js:1360

Message box icons used in utils.MessageBox
Exclamation: The message box contains a symbol consisting of an exclamation point in a triangle with a yellow background.

Values number

NameValueDescription
None0

The message box contains no symbols.

Error16

The message box contains a symbol consisting of white X in a circle with a red background.

Stop16

The same as Error.

Question32
Warning48

The same as Exclamation.

Information64

The message box contains a symbol consisting of a lowercase letter i in a circle.

enum

PlaybackOrder

Flags.js:1032

Values number

NameValueDescription
Default0
RepeatPlaylist1
RepeatTrack2
Random3
ShuffleTracks4
ShuffleAlbums5
ShuffleFolders6
enum

PlaybackStartCmd

Flags.js:1058

Values number

NameValueDescription
Default0
Play1
PlayNext2
PlayPrevious3
SetTrack4
PlayRandom5
Resume6
enum

PlaybackStopReason

Flags.js:1073

Values number

NameValueDescription
InvokedByUser0
EndOfFile1
StartingAnotherTrack2
PlayerShutDown3
enum

QueueChangeOrigin

Flags.js:1047

Values number

NameValueDescription
UserAdded0
UserRemoved1
PlaybackAdvance2
enum

ReplayGainMode

Flags.js:1085

Values number

NameValueDescription
None0
Track1
Album2
TrackAlbumByPlaybackOrder3
enum

RotateFlipType

Flags.js:895

Values number

NameValueDescription
RotateNoneFlipNone0
Rotate90FlipNone1
Rotate180FlipNone2
Rotate270FlipNone3
RotateNoneFlipX4
Rotate90FlipX5
Rotate180FlipX6
Rotate270FlipX7
RotateNoneFlipY6
Rotate90FlipY7
Rotate180FlipY4
Rotate270FlipY5
RotateNoneFlipXY2
Rotate90FlipXY3
Rotate180FlipXY0
Rotate270FlipXY1
enum

RunVerb

Flags.js:1459

Used in utils.Run A string, referred to as a verb, that specifies the action to be performed.
The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs.
This parameter can be empty, in which case the default verb is used if available. If not, the ":::no-loc text="open"::" verb is used.
If neither verb is available, the system uses the first verb listed in the registry.
The following verbs are commonly used:

Values string

NameValueDescription
Default""
Open"open"

Opens the file specified by the lpFile parameter. The file can be an executable file, a document file, or a folder.

Edit"edit"

Launches an editor and opens the document for editing. If target is not a document file, the function will fail.

Explore"explore"

Explores the folder specified by lpFile.

Find"find"

Initiates a search starting from the specified directory.

OpenAs"openas"

Launches a picker UI allowing the user to select an app with which to open the file specified by the target parameter.

Print"print"

Prints the document file specified by lpFile. If lpFile is not a document file, the function will fail.

Properties"properties"

Displays the file or folder's properties.

RunAs"runas"

Launches an application as Administrator. User Account Control (UAC) will prompt the user for consent to run the application elevated or enter the credentials of an administrator account used to run the application.

enum

SelectionType

Flags.js:1097

Used as a result of fb.GetSelectionType

Values number

NameValueDescription
Undefined0
ActivePlaylistSelection1
CallerActivePlaylist2
PlaylistManager3
NowPlaying4
KeyboardShortcutList5
MediaLibraryViewer6
enum

ShowWindow

Flags.js:1427

Controls how the window is to be shown. Used in utils.Run

Values number

NameValueDescription
Hide0

Hides the window and activates another window.

Normal1

Activates and displays a window. If the window is minimized, maximized, or arranged, the system restores it to its original size and position. An application should specify this flag when displaying the window for the first time.

Minimized2

Activates the window and displays it as a minimized window.

Maximized3

Activates the window and displays it as a maximized window.

NoActivate4

Displays a window in its most recent size and position. This value is similar to Normal, except that the window is not activated.

Show5

Activates the window and displays it in its current size and position.

Minimize6

Minimizes the specified window and activates the next top-level window in the Z order.

MinNoActive7

Displays the window as a minimized window. This value is similar to Minimized, except the window is not activated.

NA8

Displays the window in its current size and position. This value is similar to Show, except that the window is not activated.

Restore9

Activates and displays the window. If the window is minimized, maximized, or arranged, the system restores it to its original size and position. An application should specify this flag when restoring a minimized window.

Default10

Sets the show state based on the ShowWindow value specified in the STARTUPINFO structure passed to the CreateProcess function by the program that started the application.

ForceMinimize11

Minimizes a window, even if the thread that owns the window is not responding. This flag should only be used when minimizing windows from a different thread.

enum

SmoothingMode

Flags.js:862

Values number

NameValueDescription
Invalid-1
Default0
HighSpeed1
HighQuality2
None3
AntiAlias4
enum

StringAlignment

Flags.js:923

h_align/v_align:
For more information, see: http://msdn.microsoft.com/en-us/library/ms534177(VS.85).aspx

Values number

NameValueDescription
Near0
Center1
Far2
enum

StringFormatFlags

Flags.js:950

flags for StringFormat (helpers) can be combined of:
For more information, see: http://msdn.microsoft.com/en-us/library/ms534181(VS.85).aspx

Values number

NameValueDescription
DirectionRightToLeft0x00000001
DirectionVertical0x00000002
NoFitBlackBox0x00000004
DisplayFormatControl0x00000020
NoFontFallback0x00000400
MeasureTrailingSpaces0x00000800
NoWrap0x00001000
LineLimit0x00002000
NoClip0x00004000
enum

StringTrimming

Flags.js:935

Values number

NameValueDescription
None0
Character1
Word2
EllipsisCharacter3
EllipsisWord4
EllipsisPath5
enum

TextRenderingHint

Flags.js:847

Values number

NameValueDescription
SystemDefault0
SingleBitPerPixelGridFit1
SingleBitPerPixel2
AntiAliasGridFit3
AntiAlias4
ClearTypeGridFit5
enum

UIInstanceType

Flags.js:1209

Used as a result of window.InstanceType

Values number

NameValueDescription
ColumnsUI0
DefaultUI1
constant

DLGC_BUTTON

Flags.js:667
const DLGC_BUTTON = 0x2000

With window.DlgCode, can be combined.
For more information, see: https://learn.microsoft.com/en-us/windows/win32/dlgbox/wm-getdlgcode If you don't know what they mean, igonre them.

Default

0x2000
constant

DLGC_DEFPUSHBUTTON

Flags.js:627
const DLGC_DEFPUSHBUTTON = 0x0010

With window.DlgCode, can be combined.
For more information, see: https://learn.microsoft.com/en-us/windows/win32/dlgbox/wm-getdlgcode If you don't know what they mean, igonre them.

Default

0x0010
constant

DLGC_HASSETSEL

Flags.js:619
const DLGC_HASSETSEL = 0x0008

With window.DlgCode, can be combined.
For more information, see: https://learn.microsoft.com/en-us/windows/win32/dlgbox/wm-getdlgcode If you don't know what they mean, igonre them.

Default

0x0008
constant

DLGC_RADIOBUTTON

Flags.js:643
const DLGC_RADIOBUTTON = 0x0040

With window.DlgCode, can be combined.
For more information, see: https://learn.microsoft.com/en-us/windows/win32/dlgbox/wm-getdlgcode If you don't know what they mean, igonre them.

Default

0x0040
constant

DLGC_STATIC

Flags.js:659
const DLGC_STATIC = 0x0100

With window.DlgCode, can be combined.
For more information, see: https://learn.microsoft.com/en-us/windows/win32/dlgbox/wm-getdlgcode If you don't know what they mean, igonre them.

Default

0x0100
constant

DLGC_UNDEFPUSHBUTTON

Flags.js:635
const DLGC_UNDEFPUSHBUTTON = 0x0020

With window.DlgCode, can be combined.
For more information, see: https://learn.microsoft.com/en-us/windows/win32/dlgbox/wm-getdlgcode If you don't know what they mean, igonre them.

Default

0x0020
constant

DLGC_WANTALLKEYS

Flags.js:603
const DLGC_WANTALLKEYS = 0x0004

With window.DlgCode, can be combined.
For more information, see: https://learn.microsoft.com/en-us/windows/win32/dlgbox/wm-getdlgcode If you don't know what they mean, igonre them.

Default

0x0004
constant

DLGC_WANTARROWS

Flags.js:587
const DLGC_WANTARROWS = 0x0001

With window.DlgCode, can be combined.
For more information, see: https://learn.microsoft.com/en-us/windows/win32/dlgbox/wm-getdlgcode If you don't know what they mean, igonre them.

Default

0x0001
constant

DLGC_WANTCHARS

Flags.js:651
const DLGC_WANTCHARS = 0x0080

With window.DlgCode, can be combined.
For more information, see: https://learn.microsoft.com/en-us/windows/win32/dlgbox/wm-getdlgcode If you don't know what they mean, igonre them.

Default

0x0080
constant

DLGC_WANTMESSAGE

Flags.js:611
const DLGC_WANTMESSAGE = 0x0004

With window.DlgCode, can be combined.
For more information, see: https://learn.microsoft.com/en-us/windows/win32/dlgbox/wm-getdlgcode If you don't know what they mean, igonre them.

Default

0x0004
constant

DLGC_WANTTAB

Flags.js:595
const DLGC_WANTTAB = 0x0002

With window.DlgCode, can be combined.
For more information, see: https://learn.microsoft.com/en-us/windows/win32/dlgbox/wm-getdlgcode If you don't know what they mean, igonre them.

Default

0x0002
constant

DT_BOTTOM

Flags.js:40
const DT_BOTTOM = 0x00000008

Default

0x00000008
constant

DT_CALCRECT

Flags.js:89
const DT_CALCRECT = 0x00000400

Default

0x00000400
constant

DT_CENTER

Flags.js:19
const DT_CENTER = 0x00000001

Default

0x00000001
constant

DT_EDITCONTROL

Flags.js:111
const DT_EDITCONTROL = 0x00002000

Default

0x00002000
constant

DT_END_ELLIPSIS

Flags.js:125
const DT_END_ELLIPSIS = 0x00008000

Default

0x00008000
constant

DT_EXPANDTABS

Flags.js:61
const DT_EXPANDTABS = 0x00000040

Default

0x00000040
constant

DT_EXTERNALLEADING

Flags.js:82
const DT_EXTERNALLEADING = 0x00000200

Default

0x00000200
constant

DT_HIDEPREFIX

Flags.js:161
const DT_HIDEPREFIX = 0x00100000

Default

0x00100000
constant

DT_INTERNAL

Flags.js:104
const DT_INTERNAL = 0x00001000

Default

0x00001000
constant

DT_LEFT

Flags.js:12
const DT_LEFT = 0x00000000

Default

0x00000000
constant

DT_MODIFYSTRING

Flags.js:132
const DT_MODIFYSTRING = 0x00010000

Flag used with GdiDrawText
For more information, see: http://msdn.microsoft.com/en-us/library/dd162498(VS.85).aspx
DO NOT USE

Default

0x00010000
constant

DT_NOCLIP

Flags.js:75
const DT_NOCLIP = 0x00000100

Default

0x00000100
constant

DT_NOFULLWIDTHCHARBREAK

Flags.js:154
const DT_NOFULLWIDTHCHARBREAK = 0x00080000

Default

0x00080000
constant

DT_NOPREFIX

Flags.js:96
const DT_NOPREFIX = 0x00000800

Flag used with GdiDrawText
For more information, see: http://msdn.microsoft.com/en-us/library/dd162498(VS.85).aspx
NOTE: Please use this flag, or a '&' character will become an underline '_'

Default

0x00000800
constant

DT_PATH_ELLIPSIS

Flags.js:118
const DT_PATH_ELLIPSIS = 0x00004000

Default

0x00004000
constant

DT_PREFIXONLY

Flags.js:168
const DT_PREFIXONLY = 0x00200000

Default

0x00200000
constant

DT_RIGHT

Flags.js:26
const DT_RIGHT = 0x00000002

Default

0x00000002
constant

DT_RTLREADING

Flags.js:140
const DT_RTLREADING = 0x00020000

Default

0x00020000
constant

DT_SINGLELINE

Flags.js:54
const DT_SINGLELINE = 0x00000020

Default

0x00000020
constant

DT_TABSTOP

Flags.js:68
const DT_TABSTOP = 0x00000080

Default

0x00000080
constant

DT_TOP

Flags.js:5
const DT_TOP = 0x00000000

Default

0x00000000
constant

DT_VCENTER

Flags.js:33
const DT_VCENTER = 0x00000004

Default

0x00000004
constant

DT_WORD_ELLIPSIS

Flags.js:147
const DT_WORD_ELLIPSIS = 0x00040000

Default

0x00040000
constant

DT_WORDBREAK

Flags.js:47
const DT_WORDBREAK = 0x00000010

Default

0x00000010
constant

FILE_ATTRIBUTE_ARCHIVE

Flags.js:523
const FILE_ATTRIBUTE_ARCHIVE = 0x00000020

Default

0x00000020
constant

FILE_ATTRIBUTE_COMPRESSED

Flags.js:558
const FILE_ATTRIBUTE_COMPRESSED = 0x00000800

Default

0x00000800
constant

FILE_ATTRIBUTE_DIRECTORY

Flags.js:516
const FILE_ATTRIBUTE_DIRECTORY = 0x00000010

Default

0x00000010
constant

FILE_ATTRIBUTE_ENCRYPTED

Flags.js:579
const FILE_ATTRIBUTE_ENCRYPTED = 0x00004000

Default

0x00004000
constant

FILE_ATTRIBUTE_HIDDEN

Flags.js:502
const FILE_ATTRIBUTE_HIDDEN = 0x00000002

Default

0x00000002
constant

FILE_ATTRIBUTE_NORMAL

Flags.js:530
const FILE_ATTRIBUTE_NORMAL = 0x00000080

Default

0x00000080
constant

FILE_ATTRIBUTE_NOT_CONTENT_INDEXED

Flags.js:572
const FILE_ATTRIBUTE_NOT_CONTENT_INDEXED = 0x00002000

Default

0x00002000
constant

FILE_ATTRIBUTE_OFFLINE

Flags.js:565
const FILE_ATTRIBUTE_OFFLINE = 0x00001000

Default

0x00001000
constant

FILE_ATTRIBUTE_READONLY

Flags.js:495
const FILE_ATTRIBUTE_READONLY = 0x00000001

Default

0x00000001
constant

FILE_ATTRIBUTE_REPARSE_POINT

Flags.js:551
const FILE_ATTRIBUTE_REPARSE_POINT = 0x00000400

Default

0x00000400
constant

FILE_ATTRIBUTE_SPARSE_FILE

Flags.js:544
const FILE_ATTRIBUTE_SPARSE_FILE = 0x00000200

Default

0x00000200
constant

FILE_ATTRIBUTE_SYSTEM

Flags.js:509
const FILE_ATTRIBUTE_SYSTEM = 0x00000004

Default

0x00000004
constant

FILE_ATTRIBUTE_TEMPORARY

Flags.js:537
const FILE_ATTRIBUTE_TEMPORARY = 0x00000100

Default

0x00000100
constant

IDC_APPSTARTING

Flags.js:473
const IDC_APPSTARTING = 32650

Default

32650
constant

IDC_ARROW

Flags.js:382
const IDC_ARROW = 32512

Default

32512
constant

IDC_CROSS

Flags.js:403
const IDC_CROSS = 32515

Default

32515
constant

IDC_HAND

Flags.js:480
const IDC_HAND = 32649

Default

32649
constant

IDC_HELP

Flags.js:487
const IDC_HELP = 32651

Default

32651
constant

IDC_IBEAM

Flags.js:389
const IDC_IBEAM = 32513

Default

32513
constant

IDC_ICON

Flags.js:424
const IDC_ICON = 32641

Default

32641
constant

IDC_NO

Flags.js:466
const IDC_NO = 32648

Default

32648
constant

IDC_SIZE

Flags.js:417
const IDC_SIZE = 32640

Default

32640
constant

IDC_SIZEALL

Flags.js:459
const IDC_SIZEALL = 32646

Default

32646
constant

IDC_SIZENESW

Flags.js:438
const IDC_SIZENESW = 32643

Default

32643
constant

IDC_SIZENS

Flags.js:452
const IDC_SIZENS = 32645

Default

32645
constant

IDC_SIZENWSE

Flags.js:431
const IDC_SIZENWSE = 32642

Default

32642
constant

IDC_SIZEWE

Flags.js:445
const IDC_SIZEWE = 32644

Default

32644
constant

IDC_UPARROW

Flags.js:410
const IDC_UPARROW = 32516

Default

32516
constant

IDC_WAIT

Flags.js:396
const IDC_WAIT = 32514

Default

32514
constant

LCMAP_BYTEREV

Flags.js:1144
const LCMAP_BYTEREV = 0x00000800

Default

0x00000800
constant

LCMAP_FULLWIDTH

Flags.js:1176
const LCMAP_FULLWIDTH = 0x00800000

map single byte to double byte
Flag used with utils.MapString
For more information, see: https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-lcmapstringex

Default

0x00800000
constant

LCMAP_HALFWIDTH

Flags.js:1168
const LCMAP_HALFWIDTH = 0x00400000

map double byte to single byte
Flag used with utils.MapString
For more information, see: https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-lcmapstringex

Default

0x00400000
constant

LCMAP_HIRAGANA

Flags.js:1152
const LCMAP_HIRAGANA = 0x00100000

map katakana to hiragana
Flag used with utils.MapString
For more information, see: https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-lcmapstringex

Default

0x00100000
constant

LCMAP_KATAKANA

Flags.js:1160
const LCMAP_KATAKANA = 0x00200000

map hiragana to katakana
Flag used with utils.MapString
For more information, see: https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-lcmapstringex

Default

0x00200000
constant

LCMAP_LINGUISTIC_CASING

Flags.js:1184
const LCMAP_LINGUISTIC_CASING = 0x01000000

use linguistic rules for casing
Flag used with utils.MapString
For more information, see: https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-lcmapstringex

Default

0x01000000
constant

LCMAP_LOWERCASE

Flags.js:1112
const LCMAP_LOWERCASE = 0x00000100

Default

0x00000100
constant

LCMAP_SIMPLIFIED_CHINESE

Flags.js:1192
const LCMAP_SIMPLIFIED_CHINESE = 0x02000000

map traditional chinese to simplified chinese
Flag used with utils.MapString
For more information, see: https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-lcmapstringex

Default

0x02000000
constant

LCMAP_SORTKEY

Flags.js:1136
const LCMAP_SORTKEY = 0x00000400

WC sort key (normalize)
Flag used with utils.MapString
For more information, see: https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-lcmapstringex

Default

0x00000400
constant

LCMAP_TITLECASE

Flags.js:1128
const LCMAP_TITLECASE = 0x00000300

Default

0x00000300
constant

LCMAP_TRADITIONAL_CHINESE

Flags.js:1200
const LCMAP_TRADITIONAL_CHINESE = 0x04000000

map simplified chinese to traditional chinese
Flag used with utils.MapString
For more information, see: https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-lcmapstringex

Default

0x04000000
constant

LCMAP_UPPERCASE

Flags.js:1120
const LCMAP_UPPERCASE = 0x00000200

Default

0x00000200
constant

MF_CHECKED

Flags.js:211
const MF_CHECKED = 0x00000008

Default

0x00000008
constant

MF_DISABLED

Flags.js:197
const MF_DISABLED = 0x00000002

Default

0x00000002
constant

MF_ENABLED

Flags.js:183
const MF_ENABLED = 0x00000000

Default

0x00000000
constant

MF_GRAYED

Flags.js:190
const MF_GRAYED = 0x00000001

Default

0x00000001
constant

MF_MENUBARBREAK

Flags.js:225
const MF_MENUBARBREAK = 0x00000020

Default

0x00000020
constant

MF_MENUBREAK

Flags.js:232
const MF_MENUBREAK = 0x00000040

Default

0x00000040
constant

MF_SEPARATOR

Flags.js:176
const MF_SEPARATOR = 0x00000800

Default

0x00000800
constant

MF_STRING

Flags.js:218
const MF_STRING = 0x00000000

Default

0x00000000
constant

MF_UNCHECKED

Flags.js:204
const MF_UNCHECKED = 0x00000000

Default

0x00000000
constant

MK_CONTROL

Flags.js:357
const MK_CONTROL = 0x0008

Mask for mouse callbacks (on_mouse_*)

Default

0x0008
constant

MK_LBUTTON

Flags.js:339
const MK_LBUTTON = 0x0001

Mask for mouse callbacks (on_mouse_*)

Default

0x0001
constant

MK_MBUTTON

Flags.js:363
const MK_MBUTTON = 0x0010

Mask for mouse callbacks (on_mouse_*)

Default

0x0010
constant

MK_RBUTTON

Flags.js:345
const MK_RBUTTON = 0x0002

Mask for mouse callbacks (on_mouse_*)

Default

0x0002
constant

MK_SHIFT

Flags.js:351
const MK_SHIFT = 0x0004

Mask for mouse callbacks (on_mouse_*)

Default

0x0004
constant

MK_XBUTTON1

Flags.js:369
const MK_XBUTTON1 = 0x0020

Mask for mouse callbacks (on_mouse_*)

Default

0x0020
constant

MK_XBUTTON2

Flags.js:375
const MK_XBUTTON2 = 0x0040

Mask for mouse callbacks (on_mouse_*)

Default

0x0040
constant

TPM_BOTTOMALIGN

Flags.js:275
const TPM_BOTTOMALIGN = 0x0020

Default

0x0020
constant

TPM_CENTERALIGN

Flags.js:247
const TPM_CENTERALIGN = 0x0004

Default

0x0004
constant

TPM_HORIZONTAL

Flags.js:282
const TPM_HORIZONTAL = 0x0000

Default

0x0000
constant

TPM_HORNEGANIMATION

Flags.js:306
const TPM_HORNEGANIMATION = 0x0800

Default

0x0800
constant

TPM_HORPOSANIMATION

Flags.js:298
const TPM_HORPOSANIMATION = 0x0400

Default

0x0400
constant

TPM_LEFTALIGN

Flags.js:240
const TPM_LEFTALIGN = 0x0000

Default

0x0000
constant

TPM_NOANIMATION

Flags.js:330
const TPM_NOANIMATION = 0x4000

Default

0x4000
constant

TPM_RIGHTALIGN

Flags.js:254
const TPM_RIGHTALIGN = 0x0008

Default

0x0008
constant

TPM_TOPALIGN

Flags.js:261
const TPM_TOPALIGN = 0x0000

Default

0x0000
constant

TPM_VCENTERALIGN

Flags.js:268
const TPM_VCENTERALIGN = 0x0010

Default

0x0010
constant

TPM_VERNEGANIMATION

Flags.js:322
const TPM_VERNEGANIMATION = 0x2000

Default

0x2000
constant

TPM_VERPOSANIMATION

Flags.js:314
const TPM_VERPOSANIMATION = 0x1000

Default

0x1000
constant

TPM_VERTICAL

Flags.js:289
const TPM_VERTICAL = 0x0040

Used in TrackPopupMenu
For more information, see: http://msdn.microsoft.com/en-us/library/ms648002(VS.85).aspx
NOTE: Vert alignment matters more

Default

0x0040
constant

TTDT_AUTOMATIC

Flags.js:803
const TTDT_AUTOMATIC = 0

Default

0
constant

TTDT_AUTOPOP

Flags.js:817
const TTDT_AUTOPOP = 2

Default

2
constant

TTDT_INITIAL

Flags.js:824
const TTDT_INITIAL = 3

Default

3
constant

TTDT_RESHOW

Flags.js:810
const TTDT_RESHOW = 1

Default

1
constant

VK_ALT

Flags.js:711
const VK_ALT = 0x12

Default

0x12
constant

VK_BACK

Flags.js:676
const VK_BACK = 0x08

Default

0x08
constant

VK_CONTROL

Flags.js:704
const VK_CONTROL = 0x11

Default

0x11
constant

VK_DELETE

Flags.js:788
const VK_DELETE = 0x2E

Default

0x2E
constant

VK_DOWN

Flags.js:774
const VK_DOWN = 0x28

Default

0x28
constant

VK_END

Flags.js:739
const VK_END = 0x23

Default

0x23
constant

VK_ESCAPE

Flags.js:718
const VK_ESCAPE = 0x1B

Default

0x1B
constant

VK_HOME

Flags.js:746
const VK_HOME = 0x24

Default

0x24
constant

VK_INSERT

Flags.js:781
const VK_INSERT = 0x2D

Default

0x2D
constant

VK_LEFT

Flags.js:753
const VK_LEFT = 0x25

Default

0x25
constant

VK_PGDN

Flags.js:732
const VK_PGDN = 0x22

Default

0x22
constant

VK_PGUP

Flags.js:725
const VK_PGUP = 0x21

Default

0x21
constant

VK_RETURN

Flags.js:690
const VK_RETURN = 0x0D

Default

0x0D
constant

VK_RIGHT

Flags.js:767
const VK_RIGHT = 0x27

Default

0x27
constant

VK_SHIFT

Flags.js:697
const VK_SHIFT = 0x10

Default

0x10
constant

VK_SPACEBAR

Flags.js:795
const VK_SPACEBAR = 0x20

Default

0x20
constant

VK_TAB

Flags.js:683
const VK_TAB = 0x09

Default

0x09
constant

VK_UP

Flags.js:760
const VK_UP = 0x26

Default

0x26