戻る
以下で全部かどうかは知りません。
Publicで使うかPrivateで使うかはお好みで。
というかこんなもの使わずに数字直打ちでもいいんじゃないかと(何となく投げやり)
'CreatePenの第1引数で使用
Const PS_SOLID = 0
Const PS_DASH = 1
Const PS_DOT = 2
Const PS_DASHDOT = 3
Const PS_DASHDOTDOT = 4
Const PS_NULL = 5
Const PS_INSIDEFRAME = 6
'CreateFontの5番目の引数で使用
Const FW_DONTCARE = 0
Const FW_THIN = 100
Const FW_EXTRALIGHT = 200
Const FW_LIGHT = 300
Const FW_NORMAL = 400
Const FW_MEDIUM = 500
Const FW_SEMIBOLD = 600
Const FW_BOLD = 700
Const FW_EXTRABOLD = 800
Const FW_HEAVY = 900
'CreateFontの9番目の引数で使用
Const ANSI_CHARSET = 0
Const DEFAULT_CHARSET = 1
Const OEM_CHARSET = 255
Const SHIFTJIS_CHARSET = 128
Const SYMBOL_CHARSET = 2
Const BALTIC_CHARSET = 186
Const CHINESEBIG5_CHARSET = 136
Const EASTEUROPE_CHARSET = 238
Const GREEK_CHARSET = 161
Const HANGEUL_CHARSET = 129
Const MAC_CHARSET = 77
Const RUSSIAN_CHARSET = 204
Const TURKISH_CHARSET = 162
'CreateFontの10番目の引数で使用
Const OUT_CHARACTER_PRECIS = 2
Const OUT_DEFAULT_PRECIS = 0
Const OUT_DEVICE_PRECIS = 5
Const OUT_OUTLINE_PRECIS = 8
Const OUT_RASTER_PRECIS = 6
Const OUT_STRING_PRECIS = 1
Const OUT_STROKE_PRECIS = 3
Const OUT_TT_ONLY_PRECIS = 7
Const OUT_TT_PRECIS = 4
'CreateFontの11番目の引数で使用
Const CLIP_DEFAULT_PRECIS = 0
Const CLIP_EMBEDDED = 128
Const CLIP_LH_ANGLES = 16
Const CLIP_MASK = &HF
Const CLIP_STROKE_PRECIS = 2
Const CLIP_TO_PATH = 4097
Const CLIP_TT_ALWAYS = 32
'CreateFontの12番目の引数で使用
Const DEFAULT_QUALITY = 0
Const DRAFT_QUALITY = 1
Const PROOF_QUALITY = 2
'CreateFontの13番目の引数で使用
Const DEFAULT_PITCH = 0
Const FIXED_PITCH = 1
Const VARIABLE_PITCH = 2
Const FF_DECORATIVE = 80
Const FF_DONTCARE = 0
Const FF_MODERN = 48
Const FF_ROMAN = 16
Const FF_SCRIPT = 64
Const FF_SWISS = 32
'DrawTextの5番目の引数で使用
Const DT_BOTTOM = &H8
Const DT_CALCRECT = &H400
Const DT_CENTER = &H1
Const DT_CHARSTREAM = 4
Const DT_DISPFILE = 6
Const DT_EXPANDTABS = &H40
Const DT_EXTERNALLEADING = &H200
Const DT_INTERNAL = &H1000
Const DT_METAFILE = 5
Const DT_LEFT = &H0
Const DT_NOCLIP = &H100
Const DT_NOPREFIX = &H800
Const DT_PLOTTER = 0
Const DT_RASCAMERA = 3
Const DT_RASDISPLAY = 1
Const DT_RASPRINTER = 2
Const DT_RIGHT = &H2
Const DT_SINGLELINE = &H20
Const DT_TABSTOP = &H80
Const DT_TOP = &H0
Const DT_VCENTER = &H4
Const DT_WORDBREAK = &H10
'どこで使うか忘れた(たしか0と直打ちしちゃった)
Const DIB_RGB_COLORS = 0
Const DIB_PAL_COLORS = 1
Const DIB_PAL_INDICES = 2
'GetStockObjectの引数として使用
Const NULL_BRUSH = 5
Const BLACK_BRUSH = 4
Const DKGRAY_BRUSH = 3
Const GRAY_BRUSH = 2
Const HOLLOW_BRUSH = NULL_BRUSH
Const LTGRAY_BRUSH = 1
Const WHITE_BRUSH = 0
Const BLACK_PEN = 7
Const WHITE_PEN = 6
Const ANSI_FIXED_FONT = 11
Const ANSI_VAR_FONT = 12
Const DEVICE_DEFAULT_FONT = 14
Const DEFAULT_GUI_FONT = 17
Const OEM_FIXED_FONT = 10
Const SYSTEM_FONT = 13
Const SYSTEM_FIXED_FONT = 16
Const DEFAULT_PALETTE = 15