UIHost::TextSink struct

Text input and clipboard.

Tells the platform when a window's document wants typed text and where its caret is (physical pixels in the window), so text is delivered and the IME window is placed beside it. Called on Encoder.

Public variables

void* Context
void(* SetTextInput
window's document wants typed text (bOn), with its caret at this rect; or no longer does.
void(* Copy
Put text on the clipboard.
void(* AskPaste
Fetch the clipboard text; call RoutePaste with tag when it is available.

Variable documentation

void* UIHost::TextSink::Context

passed to each function