MM_FLAGS
列挙型フラグメンバー 3
| 名前 | 10進 | 16進 |
|---|---|---|
| MM_ADDSEPARATOR | 1 | 0x1 |
| MM_SUBMENUSHAVEIDS | 2 | 0x2 |
| MM_DONTREMOVESEPS | 4 | 0x4 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum MM_FLAGS : unsigned int {
MM_ADDSEPARATOR = 1,
MM_SUBMENUSHAVEIDS = 2,
MM_DONTREMOVESEPS = 4
} MM_FLAGS;[Flags]
public enum MM_FLAGS : uint
{
MM_ADDSEPARATOR = 1,
MM_SUBMENUSHAVEIDS = 2,
MM_DONTREMOVESEPS = 4,
}<Flags>
Public Enum MM_FLAGS As UInteger
MM_ADDSEPARATOR = 1
MM_SUBMENUSHAVEIDS = 2
MM_DONTREMOVESEPS = 4
End Enumimport enum
class MM_FLAGS(enum.IntFlag):
MM_ADDSEPARATOR = 1
MM_SUBMENUSHAVEIDS = 2
MM_DONTREMOVESEPS = 4// MM_FLAGS (flags)
pub const MM_ADDSEPARATOR: u32 = 1;
pub const MM_SUBMENUSHAVEIDS: u32 = 2;
pub const MM_DONTREMOVESEPS: u32 = 4;// MM_FLAGS
const (
MM_ADDSEPARATOR uint32 = 1
MM_SUBMENUSHAVEIDS uint32 = 2
MM_DONTREMOVESEPS uint32 = 4
)const
MM_ADDSEPARATOR = 1;
MM_SUBMENUSHAVEIDS = 2;
MM_DONTREMOVESEPS = 4;// MM_FLAGS
pub const MM_ADDSEPARATOR: u32 = 1;
pub const MM_SUBMENUSHAVEIDS: u32 = 2;
pub const MM_DONTREMOVESEPS: u32 = 4;const
MM_ADDSEPARATOR* = 1
MM_SUBMENUSHAVEIDS* = 2
MM_DONTREMOVESEPS* = 4enum MM_FLAGS : uint {
MM_ADDSEPARATOR = 1,
MM_SUBMENUSHAVEIDS = 2,
MM_DONTREMOVESEPS = 4,
}#define global MM_ADDSEPARATOR 0x1
#define global MM_SUBMENUSHAVEIDS 0x2
#define global MM_DONTREMOVESEPS 0x4
; ※フラグ列挙型。ビットORで組み合わせ可(例: FOO|BAR)。