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

UPSTATES

列挙型
基底型i4

メンバー 4

名前10進16進
UPS_NORMAL10x1
UPS_HOT20x2
UPS_PRESSED30x3
UPS_DISABLED40x4

各言語での定義

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

typedef enum UPSTATES : int {
    UPS_NORMAL = 1,
    UPS_HOT = 2,
    UPS_PRESSED = 3,
    UPS_DISABLED = 4
} UPSTATES;
public enum UPSTATES : int
{
    UPS_NORMAL = 1,
    UPS_HOT = 2,
    UPS_PRESSED = 3,
    UPS_DISABLED = 4,
}
Public Enum UPSTATES As Integer
    UPS_NORMAL = 1
    UPS_HOT = 2
    UPS_PRESSED = 3
    UPS_DISABLED = 4
End Enum
import enum

class UPSTATES(enum.IntEnum):
    UPS_NORMAL = 1
    UPS_HOT = 2
    UPS_PRESSED = 3
    UPS_DISABLED = 4
// UPSTATES
pub const UPS_NORMAL: i32 = 1;
pub const UPS_HOT: i32 = 2;
pub const UPS_PRESSED: i32 = 3;
pub const UPS_DISABLED: i32 = 4;
// UPSTATES
const (
	UPS_NORMAL int32 = 1
	UPS_HOT int32 = 2
	UPS_PRESSED int32 = 3
	UPS_DISABLED int32 = 4
)
const
  UPS_NORMAL = 1;
  UPS_HOT = 2;
  UPS_PRESSED = 3;
  UPS_DISABLED = 4;
// UPSTATES
pub const UPS_NORMAL: i32 = 1;
pub const UPS_HOT: i32 = 2;
pub const UPS_PRESSED: i32 = 3;
pub const UPS_DISABLED: i32 = 4;
const
  UPS_NORMAL* = 1
  UPS_HOT* = 2
  UPS_PRESSED* = 3
  UPS_DISABLED* = 4
enum UPSTATES : int {
    UPS_NORMAL = 1,
    UPS_HOT = 2,
    UPS_PRESSED = 3,
    UPS_DISABLED = 4,
}
#define global UPS_NORMAL   0x1
#define global UPS_HOT      0x2
#define global UPS_PRESSED  0x3
#define global UPS_DISABLED 0x4