• <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)

               被光標(biāo)的位置,折騰了大半天.
               問題,在程序中客戶區(qū)設(shè)置光標(biāo)變?yōu)榉糯?Zoom out)光標(biāo).當(dāng)放大光標(biāo)(Zoom out)從客戶區(qū)接近到Scrollview 的ScrollBar時,應(yīng)該變成普通的Arrow 光標(biāo).但奇怪的是,非但沒變,反而是越過Scrollbar ,才變成普通的Arrow 光標(biāo).
              查看代碼中的OnSetCursor,SetCurosr 都不是問題,MSDN,Goole 一圈也沒發(fā)現(xiàn),有人遇到此問題.
              分析下,以為是光標(biāo)大小問題,使用VC調(diào)整 Cursor資源,意外發(fā)現(xiàn)hot spot這個屬性,將放大光標(biāo)(Zoom out)的hot spot從(0,0)調(diào)整到最下面的點(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 閱讀(1206) 評論(0)  編輯 收藏 引用


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


            久久综合九色综合网站| 亚洲AV日韩精品久久久久| 久久国产综合精品五月天| 中文精品久久久久人妻| 欧美熟妇另类久久久久久不卡| 国产精品久久久久无码av | 狠狠色综合网站久久久久久久高清| 亚洲中文久久精品无码ww16| 国产精品女同一区二区久久| av色综合久久天堂av色综合在| 久久九九全国免费| 97久久国产露脸精品国产| 理论片午午伦夜理片久久| …久久精品99久久香蕉国产| 久久夜色精品国产亚洲| 久久本道综合久久伊人| 久久亚洲国产中v天仙www| 久久发布国产伦子伦精品| 欧美日韩精品久久免费| 日韩中文久久| 无码任你躁久久久久久| 久久无码AV中文出轨人妻| 99精品伊人久久久大香线蕉| 久久99国产精品久久久| 国产精品久久久久久福利69堂| 亚洲精品乱码久久久久久蜜桃不卡 | 无码人妻久久一区二区三区 | 久久棈精品久久久久久噜噜| 怡红院日本一道日本久久 | 久久精品www人人爽人人| 久久精品国产99国产精品亚洲| 欧美国产成人久久精品| 色天使久久综合网天天| 欧美日韩成人精品久久久免费看| 国产99久久久国产精免费| 国内精品久久久久影院网站| 久久精品国产国产精品四凭| 久久久久人妻一区精品果冻| 亚洲午夜精品久久久久久app| 久久国产AVJUST麻豆| 久久久久亚洲AV无码永不|