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

KHYPH

列挙型
基底型i4

メンバー 7

名前10進16進説明
khyphNil00x0ハイフネーションは許可されません。
khyphNormal10x1ハイフネーション時に文字を変更しません。
khyphAddBefore20x2ハイフネーション マークの前に文字を追加します。
khyphChangeBefore30x3ハイフネーション マークの前の文字を変更します。
khyphDeleteBefore40x4ハイフネーション マークの前の文字を削除します。
khyphChangeAfter50x5ハイフネーション マークの後の文字を変更します。
khyphDelAndChange60x6ハイフネーション マークの前の 2 文字が 1 文字に置き換えられます。HYPHRESULTchHyph メンバーを参照してください。

公式ドキュメント

リッチ エディット コントロールでハイフネーションを行う方法を指定するために使用する値が含まれます。HyphenateProc コールバック関数はこの列挙型を使用します。

解説(Remarks)

ハイフネーションの規則は言語ごとに異なり、特定の言語ではすべてのハイフネーションの種類が有効とは限りません。

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

各言語での定義

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

typedef enum KHYPH : int {
    khyphNil = 0,
    khyphNormal = 1,
    khyphAddBefore = 2,
    khyphChangeBefore = 3,
    khyphDeleteBefore = 4,
    khyphChangeAfter = 5,
    khyphDelAndChange = 6
} KHYPH;
public enum KHYPH : int
{
    khyphNil = 0,
    khyphNormal = 1,
    khyphAddBefore = 2,
    khyphChangeBefore = 3,
    khyphDeleteBefore = 4,
    khyphChangeAfter = 5,
    khyphDelAndChange = 6,
}
Public Enum KHYPH As Integer
    khyphNil = 0
    khyphNormal = 1
    khyphAddBefore = 2
    khyphChangeBefore = 3
    khyphDeleteBefore = 4
    khyphChangeAfter = 5
    khyphDelAndChange = 6
End Enum
import enum

class KHYPH(enum.IntEnum):
    khyphNil = 0
    khyphNormal = 1
    khyphAddBefore = 2
    khyphChangeBefore = 3
    khyphDeleteBefore = 4
    khyphChangeAfter = 5
    khyphDelAndChange = 6
// KHYPH
pub const khyphNil: i32 = 0;
pub const khyphNormal: i32 = 1;
pub const khyphAddBefore: i32 = 2;
pub const khyphChangeBefore: i32 = 3;
pub const khyphDeleteBefore: i32 = 4;
pub const khyphChangeAfter: i32 = 5;
pub const khyphDelAndChange: i32 = 6;
// KHYPH
const (
	khyphNil int32 = 0
	khyphNormal int32 = 1
	khyphAddBefore int32 = 2
	khyphChangeBefore int32 = 3
	khyphDeleteBefore int32 = 4
	khyphChangeAfter int32 = 5
	khyphDelAndChange int32 = 6
)
const
  khyphNil = 0;
  khyphNormal = 1;
  khyphAddBefore = 2;
  khyphChangeBefore = 3;
  khyphDeleteBefore = 4;
  khyphChangeAfter = 5;
  khyphDelAndChange = 6;
// KHYPH
pub const khyphNil: i32 = 0;
pub const khyphNormal: i32 = 1;
pub const khyphAddBefore: i32 = 2;
pub const khyphChangeBefore: i32 = 3;
pub const khyphDeleteBefore: i32 = 4;
pub const khyphChangeAfter: i32 = 5;
pub const khyphDelAndChange: i32 = 6;
const
  khyphNil* = 0
  khyphNormal* = 1
  khyphAddBefore* = 2
  khyphChangeBefore* = 3
  khyphDeleteBefore* = 4
  khyphChangeAfter* = 5
  khyphDelAndChange* = 6
enum KHYPH : int {
    khyphNil = 0,
    khyphNormal = 1,
    khyphAddBefore = 2,
    khyphChangeBefore = 3,
    khyphDeleteBefore = 4,
    khyphChangeAfter = 5,
    khyphDelAndChange = 6,
}
#define global khyphNil          0x0
#define global khyphNormal       0x1
#define global khyphAddBefore    0x2
#define global khyphChangeBefore 0x3
#define global khyphDeleteBefore 0x4
#define global khyphChangeAfter  0x5
#define global khyphDelAndChange 0x6