• <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)  編輯 收藏 引用

            婷婷久久综合九色综合98| 精品久久综合1区2区3区激情| 日韩一区二区三区视频久久| 国内精品久久久久影院薰衣草| 亚洲中文久久精品无码| 久久青草国产精品一区| 免费精品久久久久久中文字幕| 午夜精品久久久久久久| 99久久亚洲综合精品网站| 久久亚洲国产成人影院| 99久久夜色精品国产网站| 久久久久国产精品熟女影院| 久久se这里只有精品| 国产99久久精品一区二区| 精品伊人久久久| 精品久久久久久国产牛牛app| 亚洲国产另类久久久精品| 久久精品国产精品亚洲艾草网美妙| 日韩人妻无码精品久久久不卡| 国产精品成人精品久久久| 精品久久久无码人妻中文字幕豆芽| 欧美激情精品久久久久久久九九九 | 免费久久人人爽人人爽av| 99久久精品无码一区二区毛片 | 国产精品久久久久久| 精品国产乱码久久久久久呢| 欧美日韩成人精品久久久免费看| 一本色道久久88加勒比—综合| 欧美熟妇另类久久久久久不卡 | 国产精品青草久久久久婷婷 | 2022年国产精品久久久久 | 久久精品国产久精国产思思| 免费精品久久天干天干| 思思久久99热只有频精品66| 四虎国产精品成人免费久久| 久久久久国产精品麻豆AR影院 | 97久久婷婷五月综合色d啪蜜芽| 亚洲美日韩Av中文字幕无码久久久妻妇 | 国产免费久久精品99久久| 国产99久久久国产精免费| 99久久亚洲综合精品成人|