Table of contents
TOC
折叠目录
展开目录

Window.Hwnd 属性 (发布服务器)Window.Hwnd Property (Publisher)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回Long值,表明 Microsoft Publisher 应用程序窗口的句柄。只读的。Returns a Long indicating the handle to the Microsoft Publisher application window. Read-only.

语法Syntax

表达式Hwndexpression. Hwnd

_expression_A 表示一个窗口对象的变量。_expression_A variable that represents a Window object.

返回值Return Value

LongLong

示例Example

以下示例显示 Publisher 应用程序窗口的句柄。The following example displays the handle to the Publisher application window.

MsgBox "The handle to the Publisher application window is " &; _ 
 Application.ActiveWindow.Hwnd
© 2018 Microsoft