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

ITextInputPanel

COM
IID6b6a65a5-6af3-46c2-b6ea-56cd1f80df71継承元IUnknown自前メソッド開始 vtbl3

メソッド 25

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT get_AttachedEditWindow(HWND* AttachedEditWindow)
AttachedEditWindowHWND*out入力パネルが関連付けられている編集ウィンドウのハンドルを受け取る出力ポインタである。
vtbl 4 HRESULT put_AttachedEditWindow(HWND AttachedEditWindow)
AttachedEditWindowHWNDin入力パネルを関連付ける編集ウィンドウのハンドルを指定する。
vtbl 5 HRESULT get_CurrentInteractionMode(InteractionMode* CurrentInteractionMode)
CurrentInteractionModeInteractionMode*out入力パネルの現在の操作モード(In-Place か Docked か等)を受け取る出力ポインタである。
vtbl 6 HRESULT get_DefaultInPlaceState(InPlaceState* State)
StateInPlaceState*outインプレース入力パネルの既定の表示状態を受け取る出力ポインタである。
vtbl 7 HRESULT put_DefaultInPlaceState(InPlaceState State)
StateInPlaceStateinインプレース入力パネルの既定の表示状態を指定する。
vtbl 8 HRESULT get_CurrentInPlaceState(InPlaceState* State)
StateInPlaceState*outインプレース入力パネルの現在の表示状態を受け取る出力ポインタである。
vtbl 9 HRESULT get_DefaultInputArea(PanelInputArea* Area)
AreaPanelInputArea*out入力パネルの既定の入力領域(手書き入力や文字パッド等)を受け取る出力ポインタである。
vtbl 10 HRESULT put_DefaultInputArea(PanelInputArea Area)
AreaPanelInputAreain入力パネルの既定の入力領域を指定する。
vtbl 11 HRESULT get_CurrentInputArea(PanelInputArea* Area)
AreaPanelInputArea*out入力パネルで現在表示されている入力領域を受け取る出力ポインタである。
vtbl 12 HRESULT get_CurrentCorrectionMode(CorrectionMode* Mode)
ModeCorrectionMode*out入力パネルの現在の訂正(修正)モードを受け取る出力ポインタである。
vtbl 13 HRESULT get_PreferredInPlaceDirection(InPlaceDirection* Direction)
DirectionInPlaceDirection*outインプレース入力パネルを表示する優先方向を受け取る出力ポインタである。
vtbl 14 HRESULT put_PreferredInPlaceDirection(InPlaceDirection Direction)
DirectionInPlaceDirectioninインプレース入力パネルを表示する優先方向を指定する。
vtbl 15 HRESULT get_ExpandPostInsertionCorrection(BOOL* Expand)
ExpandBOOL*out挿入後の訂正領域を展開するかどうかを受け取る出力ポインタである。TRUE で展開する。
vtbl 16 HRESULT put_ExpandPostInsertionCorrection(BOOL Expand)
ExpandBOOLin挿入後の訂正領域を展開するかどうかを指定する。TRUE で展開する。
vtbl 17 HRESULT get_InPlaceVisibleOnFocus(BOOL* Visible)
VisibleBOOL*outフォーカス取得時にインプレース入力パネルを自動表示するかどうかを受け取る出力ポインタである。
vtbl 18 HRESULT put_InPlaceVisibleOnFocus(BOOL Visible)
VisibleBOOLinフォーカス取得時にインプレース入力パネルを自動表示するかどうかを指定する。
vtbl 19 HRESULT get_InPlaceBoundingRectangle(RECT* BoundingRectangle)
BoundingRectangleRECT*outインプレース入力パネルの境界矩形(画面座標)を受け取る出力ポインタである。
vtbl 20 HRESULT get_PopUpCorrectionHeight(INT* Height)
HeightINT*out上方向にポップアップする訂正領域の高さ(ピクセル単位)を受け取る出力ポインタである。
vtbl 21 HRESULT get_PopDownCorrectionHeight(INT* Height)
HeightINT*out下方向にポップダウンする訂正領域の高さ(ピクセル単位)を受け取る出力ポインタである。
vtbl 22 HRESULT CommitPendingInput()
vtbl 23 HRESULT SetInPlaceVisibility(BOOL Visible)
VisibleBOOLinインプレース入力パネルの表示・非表示を指定する。TRUE で表示する。
vtbl 24 HRESULT SetInPlacePosition(INT xPosition, INT yPosition, CorrectionPosition position)
xPositionINTinインプレース入力パネルの配置位置の X 座標(画面座標)を指定する。
yPositionINTinインプレース入力パネルの配置位置の Y 座標(画面座標)を指定する。
positionCorrectionPositionin指定座標を基準としたパネルの相対配置位置を指定する。
vtbl 25 HRESULT SetInPlaceHoverTargetPosition(INT xPosition, INT yPosition)
xPositionINTinホバー対象とする位置の X 座標(画面座標)を指定する。
yPositionINTinホバー対象とする位置の Y 座標(画面座標)を指定する。
vtbl 26 HRESULT Advise(ITextInputPanelEventSink* EventSink, DWORD EventMask)
EventSinkITextInputPanelEventSink*inoptional入力パネルのイベント通知を受け取るイベントシンクへのポインタである。
EventMaskDWORDin受け取るイベントの種類を示すマスクを指定する。
vtbl 27 HRESULT Unadvise(ITextInputPanelEventSink* EventSink)
EventSinkITextInputPanelEventSink*inoptional登録解除するイベントシンクへのポインタである。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_ITextInputPanel "{6B6A65A5-6AF3-46C2-B6EA-56CD1F80DF71}"
#usecom global ITextInputPanel IID_ITextInputPanel "{F9B189D7-228B-4F2B-8650-B97F59E02C8C}"
#comfunc global ITextInputPanel_get_AttachedEditWindow             3 sptr
#comfunc global ITextInputPanel_put_AttachedEditWindow             4 sptr
#comfunc global ITextInputPanel_get_CurrentInteractionMode         5 var
#comfunc global ITextInputPanel_get_DefaultInPlaceState            6 var
#comfunc global ITextInputPanel_put_DefaultInPlaceState            7 int
#comfunc global ITextInputPanel_get_CurrentInPlaceState            8 var
#comfunc global ITextInputPanel_get_DefaultInputArea               9 var
#comfunc global ITextInputPanel_put_DefaultInputArea               10 int
#comfunc global ITextInputPanel_get_CurrentInputArea               11 var
#comfunc global ITextInputPanel_get_CurrentCorrectionMode          12 var
#comfunc global ITextInputPanel_get_PreferredInPlaceDirection      13 var
#comfunc global ITextInputPanel_put_PreferredInPlaceDirection      14 int
#comfunc global ITextInputPanel_get_ExpandPostInsertionCorrection  15 var
#comfunc global ITextInputPanel_put_ExpandPostInsertionCorrection  16 int
#comfunc global ITextInputPanel_get_InPlaceVisibleOnFocus          17 var
#comfunc global ITextInputPanel_put_InPlaceVisibleOnFocus          18 int
#comfunc global ITextInputPanel_get_InPlaceBoundingRectangle       19 var
#comfunc global ITextInputPanel_get_PopUpCorrectionHeight          20 var
#comfunc global ITextInputPanel_get_PopDownCorrectionHeight        21 var
#comfunc global ITextInputPanel_CommitPendingInput                 22
#comfunc global ITextInputPanel_SetInPlaceVisibility               23 int
#comfunc global ITextInputPanel_SetInPlacePosition                 24 int,int,int
#comfunc global ITextInputPanel_SetInPlaceHoverTargetPosition      25 int,int
#comfunc global ITextInputPanel_Advise                             26 sptr,int
#comfunc global ITextInputPanel_Unadvise                           27 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。