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

ITEMSTATES

列挙型
基底型i4

メンバー 4

名前10進16進
LBPSI_HOT10x1
LBPSI_HOTSELECTED20x2
LBPSI_SELECTED30x3
LBPSI_SELECTEDNOTFOCUS40x4

各言語での定義

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

typedef enum ITEMSTATES : int {
    LBPSI_HOT = 1,
    LBPSI_HOTSELECTED = 2,
    LBPSI_SELECTED = 3,
    LBPSI_SELECTEDNOTFOCUS = 4
} ITEMSTATES;
public enum ITEMSTATES : int
{
    LBPSI_HOT = 1,
    LBPSI_HOTSELECTED = 2,
    LBPSI_SELECTED = 3,
    LBPSI_SELECTEDNOTFOCUS = 4,
}
Public Enum ITEMSTATES As Integer
    LBPSI_HOT = 1
    LBPSI_HOTSELECTED = 2
    LBPSI_SELECTED = 3
    LBPSI_SELECTEDNOTFOCUS = 4
End Enum
import enum

class ITEMSTATES(enum.IntEnum):
    LBPSI_HOT = 1
    LBPSI_HOTSELECTED = 2
    LBPSI_SELECTED = 3
    LBPSI_SELECTEDNOTFOCUS = 4
// ITEMSTATES
pub const LBPSI_HOT: i32 = 1;
pub const LBPSI_HOTSELECTED: i32 = 2;
pub const LBPSI_SELECTED: i32 = 3;
pub const LBPSI_SELECTEDNOTFOCUS: i32 = 4;
// ITEMSTATES
const (
	LBPSI_HOT int32 = 1
	LBPSI_HOTSELECTED int32 = 2
	LBPSI_SELECTED int32 = 3
	LBPSI_SELECTEDNOTFOCUS int32 = 4
)
const
  LBPSI_HOT = 1;
  LBPSI_HOTSELECTED = 2;
  LBPSI_SELECTED = 3;
  LBPSI_SELECTEDNOTFOCUS = 4;
// ITEMSTATES
pub const LBPSI_HOT: i32 = 1;
pub const LBPSI_HOTSELECTED: i32 = 2;
pub const LBPSI_SELECTED: i32 = 3;
pub const LBPSI_SELECTEDNOTFOCUS: i32 = 4;
const
  LBPSI_HOT* = 1
  LBPSI_HOTSELECTED* = 2
  LBPSI_SELECTED* = 3
  LBPSI_SELECTEDNOTFOCUS* = 4
enum ITEMSTATES : int {
    LBPSI_HOT = 1,
    LBPSI_HOTSELECTED = 2,
    LBPSI_SELECTED = 3,
    LBPSI_SELECTEDNOTFOCUS = 4,
}
#define global LBPSI_HOT              0x1
#define global LBPSI_HOTSELECTED      0x2
#define global LBPSI_SELECTED         0x3
#define global LBPSI_SELECTEDNOTFOCUS 0x4