Win32 API 日本語リファレンス
ホームUI.Shell › CM_STATE

CM_STATE

列挙型フラグ
基底型i4

メンバー 5

名前10進16進
CM_STATE_NONE00x0
CM_STATE_VISIBLE10x1
CM_STATE_FIXEDWIDTH20x2
CM_STATE_NOSORTBYFOLDERNESS40x4
CM_STATE_ALWAYSVISIBLE80x8

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum CM_STATE : int {
    CM_STATE_NONE = 0,
    CM_STATE_VISIBLE = 1,
    CM_STATE_FIXEDWIDTH = 2,
    CM_STATE_NOSORTBYFOLDERNESS = 4,
    CM_STATE_ALWAYSVISIBLE = 8
} CM_STATE;
[Flags]
public enum CM_STATE : int
{
    CM_STATE_NONE = 0,
    CM_STATE_VISIBLE = 1,
    CM_STATE_FIXEDWIDTH = 2,
    CM_STATE_NOSORTBYFOLDERNESS = 4,
    CM_STATE_ALWAYSVISIBLE = 8,
}
<Flags>
Public Enum CM_STATE As Integer
    CM_STATE_NONE = 0
    CM_STATE_VISIBLE = 1
    CM_STATE_FIXEDWIDTH = 2
    CM_STATE_NOSORTBYFOLDERNESS = 4
    CM_STATE_ALWAYSVISIBLE = 8
End Enum
import enum

class CM_STATE(enum.IntFlag):
    CM_STATE_NONE = 0
    CM_STATE_VISIBLE = 1
    CM_STATE_FIXEDWIDTH = 2
    CM_STATE_NOSORTBYFOLDERNESS = 4
    CM_STATE_ALWAYSVISIBLE = 8
// CM_STATE (flags)
pub const CM_STATE_NONE: i32 = 0;
pub const CM_STATE_VISIBLE: i32 = 1;
pub const CM_STATE_FIXEDWIDTH: i32 = 2;
pub const CM_STATE_NOSORTBYFOLDERNESS: i32 = 4;
pub const CM_STATE_ALWAYSVISIBLE: i32 = 8;
// CM_STATE
const (
	CM_STATE_NONE int32 = 0
	CM_STATE_VISIBLE int32 = 1
	CM_STATE_FIXEDWIDTH int32 = 2
	CM_STATE_NOSORTBYFOLDERNESS int32 = 4
	CM_STATE_ALWAYSVISIBLE int32 = 8
)
const
  CM_STATE_NONE = 0;
  CM_STATE_VISIBLE = 1;
  CM_STATE_FIXEDWIDTH = 2;
  CM_STATE_NOSORTBYFOLDERNESS = 4;
  CM_STATE_ALWAYSVISIBLE = 8;
// CM_STATE
pub const CM_STATE_NONE: i32 = 0;
pub const CM_STATE_VISIBLE: i32 = 1;
pub const CM_STATE_FIXEDWIDTH: i32 = 2;
pub const CM_STATE_NOSORTBYFOLDERNESS: i32 = 4;
pub const CM_STATE_ALWAYSVISIBLE: i32 = 8;
const
  CM_STATE_NONE* = 0
  CM_STATE_VISIBLE* = 1
  CM_STATE_FIXEDWIDTH* = 2
  CM_STATE_NOSORTBYFOLDERNESS* = 4
  CM_STATE_ALWAYSVISIBLE* = 8
enum CM_STATE : int {
    CM_STATE_NONE = 0,
    CM_STATE_VISIBLE = 1,
    CM_STATE_FIXEDWIDTH = 2,
    CM_STATE_NOSORTBYFOLDERNESS = 4,
    CM_STATE_ALWAYSVISIBLE = 8,
}
#define global CM_STATE_NONE               0x0
#define global CM_STATE_VISIBLE            0x1
#define global CM_STATE_FIXEDWIDTH         0x2
#define global CM_STATE_NOSORTBYFOLDERNESS 0x4
#define global CM_STATE_ALWAYSVISIBLE      0x8
; ※フラグ列挙型。ビットORで組み合わせ可(例: FOO|BAR)。