• <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 閱讀(1185) 評論(0)  編輯 收藏 引用

            久久电影网一区| 久久精品国产免费一区| 2021国产精品午夜久久| 一本色道久久88—综合亚洲精品| 亚洲精品NV久久久久久久久久| 久久久久久久精品成人热色戒| 欧美日韩精品久久免费| 色综合久久久久无码专区 | 久久99国产一区二区三区| 久久精品国产一区二区电影| 一本色道久久88精品综合| 国产精品无码久久四虎| 性做久久久久久久| 久久青青草原精品国产不卡| 国内精品久久久人妻中文字幕 | 久久国产劲爆AV内射—百度| 久久国产精品久久久| 亚洲国产欧洲综合997久久| 久久精品国产第一区二区| 麻豆亚洲AV永久无码精品久久| 国内精品免费久久影院| 国产婷婷成人久久Av免费高清| 免费一级欧美大片久久网| 97热久久免费频精品99| 18禁黄久久久AAA片| 久久婷婷五月综合成人D啪| 久久久久亚洲av无码专区喷水| 性做久久久久久免费观看 | 久久综合亚洲色HEZYO国产| 久久久精品一区二区三区| 综合久久国产九一剧情麻豆 | 日韩av无码久久精品免费| 亚洲日本va午夜中文字幕久久| 国产三级精品久久| 精品99久久aaa一级毛片| 亚洲综合精品香蕉久久网97 | 天天爽天天爽天天片a久久网| 国产精品免费看久久久| 久久精品中文闷骚内射| 久久人人爽人人爽人人片AV高清 | 久久这里有精品|