• <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   管理


            怡红院日本一道日本久久| 国产精品久久99| 一级女性全黄久久生活片免费| 久久精品国产精品亚洲精品| 欧美一区二区三区久久综 | 久久免费高清视频| 久久久久久国产精品无码下载| 国内精品久久久久久久涩爱| 亚洲&#228;v永久无码精品天堂久久 | 日本精品久久久久久久久免费| 色播久久人人爽人人爽人人片aV| 久久人人爽人人爽人人片AV不| 久久久久久亚洲AV无码专区| 久久99精品国产| 狠狠色婷婷久久一区二区| 国产亚洲欧美精品久久久| 久久午夜福利电影| 99久久精品国产麻豆| 久久久亚洲欧洲日产国码是AV| 久久青草国产手机看片福利盒子| 亚洲伊人久久成综合人影院| 精品永久久福利一区二区| 色婷婷久久久SWAG精品| yellow中文字幕久久网| 久久精品国产亚洲av水果派| 日本亚洲色大成网站WWW久久| 国产亚洲色婷婷久久99精品| 国产成人无码精品久久久性色| 97久久精品人妻人人搡人人玩| 久久天天婷婷五月俺也去| 日本精品久久久久中文字幕8| 久久久噜噜噜久久中文字幕色伊伊| AV无码久久久久不卡网站下载| 亚洲中文字幕无码久久精品1| 亚洲AⅤ优女AV综合久久久| 人人狠狠综合88综合久久| 亚洲欧洲久久久精品| 亚洲七七久久精品中文国产| 久久综合五月丁香久久激情| 无码国内精品久久人妻麻豆按摩| 亚洲午夜精品久久久久久人妖|