IAgentEx::ShowDefaultCharacterProperties

[从 Windows 7 开始,Microsoft 代理已弃用,可能在后续版本的 Windows 中不可用。]

HRESULT ShowDefaultCharacterProperties(
   short x,          // x-coordinate of window
   short y,          // y-coordinate of window
   long bUseDefault  // default position flag
);

显示默认字符属性窗口。

  • 返回指示操作成功的S_OK。

X

窗口的 x 坐标(以像素为单位),相对于屏幕原点 (左上角) 。

Y

窗口的 y 坐标(以像素为单位),相对于屏幕原点 (左上角) 。

bUseDefault

默认位置标志。 如果此参数为 True,Microsoft 代理将在最后一个位置显示默认字符的属性表窗口。

注意

对于 Windows 2000,可能需要调用新的 AllowSetForegroundWindow API,以确保此窗口成为前台窗口。 有关在 Windows 2000 下设置前台窗口的详细信息,请参阅平台 SDK 文档。

 

另请参阅

IAgentNotifySinkEx::D efaultCharacterChange