ITextDocument2::GetCaretType メソッド (tom.h)

キャレット型を取得します。

構文

HRESULT GetCaretType(
  [out, retval] long *pValue
);

パラメーター

[out, retval] pValue

種類: long*

キャレット型。 次のいずれかの値を指定できます。

tomKoreanBlockCaret

tomNormalCaret

tomNullCaret

戻り値

種類: HRESULT

メソッドが成功すると、 NOERROR が返されます。 そうでない場合は、HRESULT エラー コードを返します。

要件

   
サポートされている最小のクライアント Windows 8 [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2012 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー tom.h
[DLL] Msftedit.dll

関連項目

ITextDocument2

ITextDocument2::SetCaretType