Help Center

CTextDocument2.GetWindowmethod

Gets the handle of the window that the Text Object Model (TOM) engine is using to display output.

Windowsmethoddoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION GetWindow () AS __int64

Return value

The handle of the window that the TOM engine is using.

Description

Gets the handle of the window that the Text Object Model (TOM) engine is using to display output.

Remarks

A rich edit control doesn't need to own the window that the TOM engine is using. For example, the rich edit control might be windowless.

The Input Method Editor (IME) needs the handle of the window that is receiving keyboard messages. This method retrieves that handle.

Reference