如何在Windows Vista及更高版本上进入Windows Flip 3D模式?
发布时间:2021-05-24 03:53:01 所属栏目:Windows 来源:网络整理
导读:可以通过编程方式在 Windows Vista以上的系统上触发 Flip 3D mode 吗? 它与您手动按CTRL WIN TAB一样 Shell 对象具有可以调用此模式的 WindowSwitcher 方法. 这里是Delphi的代码示例: uses ComObj;procedure EnterWindowSwitcherMode;var Shell: OleVari
可以通过编程方式在
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; (编辑:海南站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Windows 10电脑用三年都不会卡,秘诀在这里!
- win10开机登录密码怎么关闭 win10开机登录密码取消方法
- 在Linux中安全且轻松地管理Cron定时任务
- windows-cluster – 如何使群集感知的Windows服务具有高可用
- windows-7 – RoboCopy的作业和监控选项
- 以Windows Phone之死 看华为“鸿蒙”初开
- 微软将改进Win11应用商店搜索算法 更高质量应用程序排名靠前
- 通过Internet在Windows上安装Linux文件系统的最佳方法?
- windows-server-2008-r2 – 重新启动后,Windows 2008 R2会忘
- Windows 11全新安全功能,可让CPU倒退!关闭后性能提高25%
站长推荐
热点阅读