• <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( 高興就寫點(diǎn):-),不高興就不寫 )

            VC cursor的位置(hot spot)

               被光標(biāo)的位置,折騰了大半天.
               問(wèn)題,在程序中客戶區(qū)設(shè)置光標(biāo)變?yōu)榉糯?Zoom out)光標(biāo).當(dāng)放大光標(biāo)(Zoom out)從客戶區(qū)接近到Scrollview 的ScrollBar時(shí),應(yīng)該變成普通的Arrow 光標(biāo).但奇怪的是,非但沒(méi)變,反而是越過(guò)Scrollbar ,才變成普通的Arrow 光標(biāo).
              查看代碼中的OnSetCursor,SetCurosr 都不是問(wèn)題,MSDN,Goole 一圈也沒(méi)發(fā)現(xiàn),有人遇到此問(wèn)題.
              分析下,以為是光標(biāo)大小問(wèn)題,使用VC調(diào)整 Cursor資源,意外發(fā)現(xiàn)hot spot這個(gè)屬性,將放大光標(biāo)(Zoom out)的hot spot從(0,0)調(diào)整到最下面的點(diǎn)(28,28)位置,運(yùn)行程序,正常

            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) 評(píng)論(0)  編輯 收藏 引用


            只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   Chat2DB   管理


            欧美亚洲日本久久精品| 久久无码中文字幕东京热| AV无码久久久久不卡网站下载| 久久成人小视频| 精品久久久久久| 四虎国产精品成人免费久久| 色婷婷久久综合中文久久蜜桃av | 亚洲成色999久久网站| 国产精品一区二区久久精品无码| 香蕉久久久久久狠狠色| 7777久久亚洲中文字幕| 久久国产三级无码一区二区| 奇米影视7777久久精品| 久久久WWW免费人成精品| 无码国产69精品久久久久网站| 国产福利电影一区二区三区久久老子无码午夜伦不| 久久久久国产精品麻豆AR影院| 久久综合狠狠综合久久| 香蕉久久永久视频| 国产999精品久久久久久| 亚洲精品蜜桃久久久久久| 国产精品嫩草影院久久| 丁香五月网久久综合| 伊人久久大香线蕉综合Av| 亚洲国产成人久久综合区| 国产日产久久高清欧美一区| 无码国内精品久久综合88| 久久夜色精品国产| 久久国产成人精品国产成人亚洲| 亚洲欧美伊人久久综合一区二区| 性做久久久久久免费观看| segui久久国产精品| 久久久精品午夜免费不卡| 精品久久久久久久无码| 国产亚洲精品自在久久| 精品无码久久久久国产| 麻豆一区二区99久久久久| 久久夜色精品国产噜噜噜亚洲AV| 97精品依人久久久大香线蕉97| 亚洲日本va午夜中文字幕久久| 久久人妻少妇嫩草AV蜜桃|