Windows经典模式 [英] Windows Classic Mode

查看:78
本文介绍了Windows经典模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

有什么方法可以在Win 7中以编程方式在Windows模式之间切换?

例如,如果我想从航空模式切换到经典模式,反之亦然?
更好的是,是否有任何方法可以在Windows 7中以编程方式减小活动标题栏"的大小和边框填充"?

我想很多人在将应用程序从Windows XP移植到Windows 7时会遇到这样的问题.

任何帮助将不胜感激.

亲切的问候,

Hey guys,

Is there any way to programatically toggle between windows modes in Win 7?

For instance if I want to switch from Aero mode to classic mode and vice versa?
Better still, is there any way to programatically decrease the "Active Title bar" size and "Border Padding" in windows 7?

I would imagine many people would be having such problems porting applications from Windows XP to Windows 7.

Any help would be appreciated.

Kindest Regards,

推荐答案

有许多程序,在运行时都以"Windows Classic应用程序"运行,但是当您退出它们时,Windows会还原为Aero.通过选择禁用视觉主题"和禁用桌面合成",也可以在.exe的兼容性"选项卡中完成此操作.

在程序控制下,必须有一种合法"的方法.
There are many programs, when run, run as a "Windows Classic application" but when you exit them, Windows reverts back to Aero. This can also be done in the "compatibility" tab of an .exe by selecting "Disable visual themes" and "disable desktop composition".

There has to be a "legal" way to do this under program control.


请参阅我对这个问题的评论,在这里我尝试解释我对这种移植"的看法.对我来说,这将是错误修复,而不是移植.根据我对您问题的理解,您希望通过强制关闭Aero样式来使一些旧代码在Windows 7上运行.您需要阐明这个想法,因为这将是对用户的犯罪.用户想要使用任何UI样式;并且您的应用程序应符合.更好地修复在Windows XP下开发过程中潜入的错误.如果您这样做,Aero会为您服务.

—SA
Please see my comments to the question where I try to explain what do I think about such "porting". To me, it would be bug fixing, not porting. From my understanding of your question, you hope to make some old code running on Windows 7 by forceful switching off the Aero style. You need to though out this idea, as it would be a crime against your user. The user wants to use any UI style; and your application should comply. Better fix your bugs sneaked in during development under Windows XP. If you do it, Aero will work for you.

—SA


谢谢您,先生,您的帮助最大.

顺便说一下,对于其他有类似问题的人,他们不想受到人身攻击,我一直在寻找的功能是

http://msdn.microsoft.com/zh-我们/library/windows/desktop/aa969510%28v=vs.85%29.aspx [
Thanks you sir, you have been most helpful.

By the way for other people with a similar problem, not looking to be personally attacked, the function that I was looking for is

http://msdn.microsoft.com/en-us/library/windows/desktop/aa969510%28v=vs.85%29.aspx[^]


Now I will do this in my application, and lets see if its a crime. You , dear sir , can take me to court if you wish.


这篇关于Windows经典模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆