如何在Windows Vista及更高版本上进入Windows Flip 3D模式?
发布时间:2020-12-13 20:00:54 所属栏目:Windows 来源:网络整理
导读:可以通过编程方式在 Windows Vista以上的系统上触发 Flip 3D mode 吗? 它与您手动按CTRL WIN TAB一样 Shell 对象具有可以调用此模式的 WindowSwitcher 方法. 这里是Delphi的代码示例: uses ComObj;procedure EnterWindowSwitcherMode;var Shell: OleVarian
可以通过编程方式在
Windows Vista以上的系统上触发
Flip 3D mode 吗?
它与您手动按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; (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- netcore开发windows普通服务(非Web)并一键发布到服务器
- active-directory – 失去与域的联系的计算机
- 在Windows下调试Android NDK
- 如何使用Win32调用在C#中关闭/打开控制台?
- Windows – GPO软件安装是否会从其他策略重新安装已安装的应
- windows-7 – Windows 7:从一台计算机拒绝访问一台服务器
- Windows Server 2012中的hyper-v – 4节点HyperV和共享存储
- f# – 需要澄清有关Microsoft.FSharp.Data.TypeProviders的
- microsoft-dynamics – Dynamics Nav(Navision)webservice
- 适用于Windows的免费WebDAV客户端?
推荐文章
站长推荐
- win10下pip3安装tesserocr时报错
- wix – RegistrySearch vs util:Burn中的Regist
- windows-server-2008 – 在Windows Server 2008
- windows-7 – 检查计算机是否已批量插入交流电源
- windows-phone-8.1 – Windows Phone 8.1中按钮的
- 最佳windows iphone app开发替代
- windows – 使用QNetworkAccessManager的post()方
- Windows API一日一练 67 SetTimer和KillTimer函数
- .net – Windows窗体应用程序的颜色选择器
- windows-services – 使用本地系统以外的帐户配置
热点阅读