• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            Make Oneself More Strong

            mcs51a( 高興就寫點:-),不高興就不寫 )

            VC cursor的位置(hot spot)

               被光標的位置,折騰了大半天.
               問題,在程序中客戶區設置光標變為放大(Zoom out)光標.當放大光標(Zoom out)從客戶區接近到Scrollview 的ScrollBar時,應該變成普通的Arrow 光標.但奇怪的是,非但沒變,反而是越過Scrollbar ,才變成普通的Arrow 光標.
              查看代碼中的OnSetCursor,SetCurosr 都不是問題,MSDN,Goole 一圈也沒發現,有人遇到此問題.
              分析下,以為是光標大小問題,使用VC調整 Cursor資源,意外發現hot spot這個屬性,將放大光標(Zoom out)的hot spot從(0,0)調整到最下面的點(28,28)位置,運行程序,正常

            MSDN 上的介紹,

              
            Setting a Cursor's Hot Spot 

            The hot spot of a cursor is the point to which Windows refers in tracking the cursor's position. By default, the hot spot is set to the upper-left corner of the cursor (coordinates 0,0). The Hotspot property in the Properties window shows the hot spot coordinates.

            To set a cursor's hot spot

            1. On the Image Editor toolbar, click the Set Hotspot tool.

            2. Click the pixel you want to designate as the cursor's hot spot.

              The Hotspot property in the Properties window displays the new coordinates.

              NoteTip

              Tool tips appear when you hover your cursor over a toolbar button. These tips can help you identify the function of each button.

            For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

            Requirements

            None



            posted on 2010-08-11 09:22 mcs51a 閱讀(1190) 評論(0)  編輯 收藏 引用

            久久久精品日本一区二区三区| 久久精品国产亚洲AV香蕉| 久久精品视频网| 久久精品18| 99久久精品免费看国产一区二区三区 | 久久久久人妻一区精品| 久久久国产亚洲精品| 久久精品99久久香蕉国产色戒| 人人狠狠综合久久亚洲婷婷| 亚洲国产香蕉人人爽成AV片久久 | 欧美亚洲另类久久综合| 国内精品欧美久久精品| 欧美黑人激情性久久| 久久国产成人| av无码久久久久久不卡网站| 欧美性大战久久久久久| 久久久久亚洲AV无码麻豆| 久久久久无码中| 一级做a爰片久久毛片人呢| 99久久精品免费看国产一区二区三区| 亚洲乱亚洲乱淫久久| 亚洲av日韩精品久久久久久a | 无码日韩人妻精品久久蜜桃| 国产精品成人无码久久久久久| 亚洲AV无码久久| 久久精品国产亚洲AV影院| 久久AⅤ人妻少妇嫩草影院| 久久久精品午夜免费不卡| 久久精品天天中文字幕人妻| 中文字幕久久亚洲一区| 久久精品国产一区二区三区不卡| 国产午夜久久影院| 久久精品国产第一区二区三区| 麻豆精品久久久久久久99蜜桃| 久久青青草原精品国产软件| 2020最新久久久视精品爱| 久久99国产精品99久久| 久久免费小视频| 91久久精品国产免费直播| 国内精品久久久久影院网站| 久久精品国产精品亚洲下载|