Skip to content

Latest commit

 

History

History
77 lines (61 loc) · 2.41 KB

nf-tom-itextdocument2-getwindow.md

File metadata and controls

77 lines (61 loc) · 2.41 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:tom.ITextDocument2.GetWindow
ITextDocument2::GetWindow (tom.h)
Gets the handle of the window that the Text Object Model (TOM) engine is using to display output.
GetWindow
GetWindow method [Windows Controls]
GetWindow method [Windows Controls]
ITextDocument2 interface
ITextDocument2 interface [Windows Controls]
GetWindow method
ITextDocument2.GetWindow
ITextDocument2::GetWindow
controls.itextdocument2_getwindow
tom/ITextDocument2::GetWindow
controls\itextdocument2_getwindow.htm
Controls
4bf5e644-292e-4847-8dad-71e8ccf86205
12/05/2018
GetWindow, GetWindow method [Windows Controls], GetWindow method [Windows Controls],ITextDocument2 interface, ITextDocument2 interface [Windows Controls],GetWindow method, ITextDocument2.GetWindow, ITextDocument2::GetWindow, controls.itextdocument2_getwindow, tom/ITextDocument2::GetWindow
tom.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextDocument2::GetWindow
tom/ITextDocument2::GetWindow
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextDocument2.GetWindow

ITextDocument2::GetWindow

-description

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

-parameters

-param pHwnd [out, retval]

Type: __int64*

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

-returns

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

-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.

-see-also

ITextDocument2