IVsWindowFrame4 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
由 Visual Studio 环境在 IVsWindowFrame4 工具窗口和文档窗口的对象上实现。 此接口可由 QueryInterface 从 IVsWindowFrame 指针检索。
public interface class IVsWindowFrame4
public interface class IVsWindowFrame4
__interface IVsWindowFrame4
[System.Runtime.InteropServices.Guid("841F8242-83BB-4C6D-8357-E12C21BF6CAA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsWindowFrame4
[<System.Runtime.InteropServices.Guid("841F8242-83BB-4C6D-8357-E12C21BF6CAA")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsWindowFrame4 = interface
Public Interface IVsWindowFrame4
- 属性
方法
| GetWindowScreenRect(Int32, Int32, Int32, Int32) |
获取框架在屏幕坐标中的位置。 此矩形表示工具窗口内容部分的屏幕坐标(以像素为单位)。 此区域不包括标题区域,但包含窗口承载的所有工具栏。 无论窗口的停靠状态 (浮动、停靠、MDI) ,此函数的行为都相同。 如果可以准确计算帧的位置和大小,则 isOnScreen 返回值将设置为 true; 如果无法准确计算帧的位置或大小值,则设置为 false。 |