在MFC(VC ++)中不支持超过1238/738像素的更高分辨率 [英] Not supporting higher resolution more than 1238/738 pixels in MFC(VC++)

查看:190
本文介绍了在MFC(VC ++)中不支持超过1238/738像素的更高分辨率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用程序仅支持1238 x 738像素.高达1238/738的分辨率,如果我减小分辨率,页面尺寸将减小,而通过增加分辨率,页面尺寸将增大,这是正确的工作方式

但是,如果系统像素大小大于1238/738,则会以相反的方式工作.

并且在代码中没有与分辨率相关的内容.请建议我该怎么做,即需要做什么才能甚至支持1238/738以上的高分辨率.

Application is supporting up to 1238 by 738 pixels only. Up to 1238/738 resolution, if i decrease the resolution page size is getting decreased and by increasing the resolution page size is getting increased which is the correct way it should work

But if the system pixel size is more than 1238/738 it is working in reverse manner.

And in code there is nothing related to resolution.Please suggest me what to do i.e what needs to be done to support even fo high resolution more than 1238/738.

推荐答案

这不是分辨率",而是以像素为单位的屏幕尺寸,或其他客户区域的尺寸. 对窗口大小或与屏幕大小有关的内容没有任何实际的上限或系统限制.

这意味着您正在谈论的问题确实不存在.只有一个(完全是人为的)问题:您有一些应用程序在执行愚蠢的事情.我们不知道确切是什么,但是可以确定您不需要这样做.不要在程序中创建这样的限制,并且要开心.

如果您在实施这样的设计时遇到任何特殊问题(如果以正确的方式进行设计,这很容易实现),我们将很乐意为您提供帮助.要获得这种帮助,您将需要更加具体.

—SA
This is not "resolution", this is a screen size in pixels, or a size of something else, client area. There are no any practically significant upper limits or system limitations on the windows size or something related to the screen size.

It means that the problem you are talking does not really exist. There is only one — totally artificial — problem: you have some application which does silly things. We don''t know what exactly, but it is certain that you don''t need to do such things. Don''t create such limitations in your program and be happy.

If you have any particular problems implementing design like that (which is pretty easy to achieve if you approach the design in a right way), we will gladly help you. To get this kind of help, you will need to be more specific.

—SA


这篇关于在MFC(VC ++)中不支持超过1238/738像素的更高分辨率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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