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

OrientationType

列挙型
基底型i4

メンバー 3

名前10進16進説明
OrientationType_None00x0コントロールに向きはありません。
OrientationType_Horizontal10x1コントロールは水平方向の向きを持ちます。
OrientationType_Vertical20x2コントロールは垂直方向の向きを持ちます。

公式ドキュメント

コントロールの向きを指定する値が含まれます。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

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

typedef enum OrientationType : int {
    OrientationType_None = 0,
    OrientationType_Horizontal = 1,
    OrientationType_Vertical = 2
} OrientationType;
public enum OrientationType : int
{
    OrientationType_None = 0,
    OrientationType_Horizontal = 1,
    OrientationType_Vertical = 2,
}
Public Enum OrientationType As Integer
    OrientationType_None = 0
    OrientationType_Horizontal = 1
    OrientationType_Vertical = 2
End Enum
import enum

class OrientationType(enum.IntEnum):
    OrientationType_None = 0
    OrientationType_Horizontal = 1
    OrientationType_Vertical = 2
// OrientationType
pub const OrientationType_None: i32 = 0;
pub const OrientationType_Horizontal: i32 = 1;
pub const OrientationType_Vertical: i32 = 2;
// OrientationType
const (
	OrientationType_None int32 = 0
	OrientationType_Horizontal int32 = 1
	OrientationType_Vertical int32 = 2
)
const
  OrientationType_None = 0;
  OrientationType_Horizontal = 1;
  OrientationType_Vertical = 2;
// OrientationType
pub const OrientationType_None: i32 = 0;
pub const OrientationType_Horizontal: i32 = 1;
pub const OrientationType_Vertical: i32 = 2;
const
  OrientationType_None* = 0
  OrientationType_Horizontal* = 1
  OrientationType_Vertical* = 2
enum OrientationType : int {
    OrientationType_None = 0,
    OrientationType_Horizontal = 1,
    OrientationType_Vertical = 2,
}
#define global OrientationType_None       0x0
#define global OrientationType_Horizontal 0x1
#define global OrientationType_Vertical   0x2