<tfoot id='gUdJ4'></tfoot>

    <small id='gUdJ4'></small><noframes id='gUdJ4'>

    <legend id='gUdJ4'><style id='gUdJ4'><dir id='gUdJ4'><q id='gUdJ4'></q></dir></style></legend>

        <bdo id='gUdJ4'></bdo><ul id='gUdJ4'></ul>
      <i id='gUdJ4'><tr id='gUdJ4'><dt id='gUdJ4'><q id='gUdJ4'><span id='gUdJ4'><b id='gUdJ4'><form id='gUdJ4'><ins id='gUdJ4'></ins><ul id='gUdJ4'></ul><sub id='gUdJ4'></sub></form><legend id='gUdJ4'></legend><bdo id='gUdJ4'><pre id='gUdJ4'><center id='gUdJ4'></center></pre></bdo></b><th id='gUdJ4'></th></span></q></dt></tr></i><div id='gUdJ4'><tfoot id='gUdJ4'></tfoot><dl id='gUdJ4'><fieldset id='gUdJ4'></fieldset></dl></div>

        在 Windows 7 中保留屏幕区域

        Reserve screen area in Windows 7(在 Windows 7 中保留屏幕区域)
        <tfoot id='T2FlU'></tfoot>
        <legend id='T2FlU'><style id='T2FlU'><dir id='T2FlU'><q id='T2FlU'></q></dir></style></legend>

        <i id='T2FlU'><tr id='T2FlU'><dt id='T2FlU'><q id='T2FlU'><span id='T2FlU'><b id='T2FlU'><form id='T2FlU'><ins id='T2FlU'></ins><ul id='T2FlU'></ul><sub id='T2FlU'></sub></form><legend id='T2FlU'></legend><bdo id='T2FlU'><pre id='T2FlU'><center id='T2FlU'></center></pre></bdo></b><th id='T2FlU'></th></span></q></dt></tr></i><div id='T2FlU'><tfoot id='T2FlU'></tfoot><dl id='T2FlU'><fieldset id='T2FlU'></fieldset></dl></div>
            <tbody id='T2FlU'></tbody>

          <small id='T2FlU'></small><noframes id='T2FlU'>

              <bdo id='T2FlU'></bdo><ul id='T2FlU'></ul>

                1. 本文介绍了在 Windows 7 中保留屏幕区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  是否可以在 Windows 7 中为您的应用保留屏幕边缘附近的屏幕区域?它的行为类似于 Windows 任务栏(即最大化的窗口不会与其重叠).

                  Is it possible to reserve a screen area near an edge of the screen for your app in Windows 7? It would behave similar to the Windows taskbar (i.e. maximized windows would not overlap with it).

                  我正在编写一个适当支持多显示器的任务栏应用程序.主要目的是在每个屏幕上显示一个任务栏,其中仅包含该屏幕上的应用程序.没有现有的解决方案(Ulltramon、DisplayFusion) 我知道 Win 7 的工作,没有一个是开源的.

                  I'm writing a taskbar app with proper support for multiple monitors. The primary purpose is to show a taskbar on each screen containing only the apps on that screen. None of the existing solutions (Ulltramon, DisplayFusion) I know of work for Win 7, and none are open source.

                  C# 代码会很好,但也欢迎任何提示.

                  C# code would be nice, but any hints are appreciated as well.

                  推荐答案

                  我不确定如何直接在 C# 中执行此操作,但在本机代码中您可以使用 SPI_SETWORKAREA 调用 SystemParametersInfo.这就是任务栏、侧边栏等应用程序可以防止最大化窗口重叠的方式.

                  I'm unsure of how to do this directly in C#, but in native code you can call SystemParametersInfo with SPI_SETWORKAREA. This is how apps like the taskbar, sidebar, and so on can prevent maximized windows from overlapping them.

                  http://msdn.microsoft.com/en-us/library/ms724947.aspx 是 SystemParametersInfo 的文档.

                  http://msdn.microsoft.com/en-us/library/ms724947.aspx is the documentation for SystemParametersInfo.

                  http://social.msdn.microsoft.com/forums/en-US/winforms/thread/9fe831e5-ccfb-4e8d-a129-68c301c83acb/显示此方法的 P/Invoke 签名.

                  http://social.msdn.microsoft.com/forums/en-US/winforms/thread/9fe831e5-ccfb-4e8d-a129-68c301c83acb/ shows P/Invoke signatures for this method.

                  这篇关于在 Windows 7 中保留屏幕区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Adding and removing users from Active Directory groups in .NET(在 .NET 中的 Active Directory 组中添加和删除用户)
                  set equality in linq(在 linq 中设置相等)
                  HashSet conversion to List(HashSet 转换为 List)
                  How to set timeout for webBrowser navigate event(如何为 webBrowser 导航事件设置超时)
                  Test whether two IEnumerablelt;Tgt; have the same values with the same frequencies(测试两个IEnumerablelt;Tgt;具有相同频率的相同值)
                  How do you determine if two HashSets are equal (by value, not by reference)?(您如何确定两个 HashSet 是否相等(按值,而不是按引用)?)

                      • <bdo id='MNp2Y'></bdo><ul id='MNp2Y'></ul>
                            <tbody id='MNp2Y'></tbody>

                            <legend id='MNp2Y'><style id='MNp2Y'><dir id='MNp2Y'><q id='MNp2Y'></q></dir></style></legend>

                            <small id='MNp2Y'></small><noframes id='MNp2Y'>

                            <i id='MNp2Y'><tr id='MNp2Y'><dt id='MNp2Y'><q id='MNp2Y'><span id='MNp2Y'><b id='MNp2Y'><form id='MNp2Y'><ins id='MNp2Y'></ins><ul id='MNp2Y'></ul><sub id='MNp2Y'></sub></form><legend id='MNp2Y'></legend><bdo id='MNp2Y'><pre id='MNp2Y'><center id='MNp2Y'></center></pre></bdo></b><th id='MNp2Y'></th></span></q></dt></tr></i><div id='MNp2Y'><tfoot id='MNp2Y'></tfoot><dl id='MNp2Y'><fieldset id='MNp2Y'></fieldset></dl></div>
                          1. <tfoot id='MNp2Y'></tfoot>