如何在Windows Vista及更高版本上进入Windows Flip 3D模式?
发布时间:2021-05-24 06:35:40 所属栏目:Windows 来源:网络整理
导读:可以通过编程方式在 Windows Vista以上的系统上触发 Flip 3D mode 吗? 它与您手动按CTRL WIN TAB一样 Shell 对象具有可以调用此模式的 WindowSwitcher 方法. 这里是Delphi的代码示例: uses ComObj;procedure EnterWindowSwitcherMode;var Shell: OleVarian
可以通过编程方式在
Windows Vista以上的系统上触发
它与您手动按CTRL WIN TAB一样 Shell 对象具有可以调用此模式的
WindowSwitcher 方法.
这里是Delphi的代码示例: uses ComObj; procedure EnterWindowSwitcherMode; var Shell: OleVariant; begin try Shell := CreateOleObject('Shell.Application'); Shell.WindowSwitcher; finally Shell := Unassigned; end; end; procedure TForm1.Button1Click(Sender: TObject); begin if Win32MajorVersion >= 6 then // are we at least on Windows Vista ? begin try EnterWindowSwitcherMode; except on E: Exception do ShowMessage(E.ClassName + ': ' + E.Message); end; end; end; 更新: 或者在这里提到的Norbert Willhelm,还有 以下代码需要Shell32_TLB.pas单元,您可以在Delphi中创建这样的方式(请注意,您必须至少具有第一次使用 >转到菜单Component / Import Component 和代码: uses Shell32_TLB; procedure EnterWindowSwitcherMode; var // on Windows Vista and Windows 7 (at this time :) // is Shell declared as IShellDispatch5 object interface AShell: Shell; begin try AShell := CoShell.Create; AShell.WindowSwitcher; finally AShell := nil; end; end; (编辑:湘西站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
站长推荐
- 电脑win10降win7系统怎样操作
- Windows 10任务管理器的N多技巧:老鸟也未必知道
- windows – 如何让SQL Server释放内存?
- 倒计时 Windows 7距离彻底被淘汰只剩不到100天了
- 微软 Win11 风格 Microsoft Defender 预览版上线
- 微软确定Windows11存在图像编辑器颜色渲染问题
- 开源 BeOS 操作系统 Haiku R1/beta1 发布
- 如何拥有一个Windows 10和Debian 10的双系统
- windows-7 – 如何通过GPO禁用Windows 7中的Tcp
- hyper-v-server-2012-r2 – Windows 10更新后无法
热点阅读