• <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>
            C++博客 聯(lián)系 聚合 管理  

            Blog Stats

            文章分類(17)

            收藏夾(2)

            文章檔案(18)

            相冊(cè)

            Blogs

            citywanderer



            ???????????????????????????????? (Figure 1-1.The Visual C++ MFC application build process. in 《inside vc.net》)
            From Figure1.1 above, we can see that resource.h is the bridge between MFC files and Resource file.?Any an ID value in resource.h corresponds to a control.
            1、If haven't Resouce file, we can also create a control by Create function. For instance:
            //in .h file
            CButton m_nRTButton;
            //in OnInitDialog() function
            m_nRTButton.Create("RunTime", WS_CHILD|WS_VISIBLE|BS_AUTO3STATE, CRect(0,0,100,20), this, 100);
            virtual BOOLCreate
            (
            LPCTSTRlpszCaption,
            DWORDdwStyle,
            constRECT&rect,
            CWnd*pParentWnd,
            UINTnID
            );
            nID can be any number if you will use it later, otherwise, the id number may conflict with
            others.
            2、If you want to change data between a control and a variable, here are three ways as
            follow:
            (1):DDX_Control(……)
            ……
            (2):object = (Class*)GetDlgItem(nID)
            The class must derive from CWND, and the data flow just from variable to control i think
            (3):Create(……)
            CButton m_nRTButton;
            m_nRTButton.Create("RunTime", WS_CHILD|WS_VISIBLE|BS_AUTO3STATE, CRect(0,0,100,20), this, 100);
            as above.
            (4):create an object of the class corresponding to a resource.
            Of cource if you want to generate a modeless dialog, you must use Create function, otherwise
            , you can
            posted on 2006-06-29 18:14 citywanderer 閱讀(304) 評(píng)論(0)  編輯 收藏 引用 所屬分類: C++
            一本久久免费视频| 亚洲精品乱码久久久久久 | 性高湖久久久久久久久AAAAA| 欧美国产精品久久高清| 少妇高潮惨叫久久久久久| 国产成人久久精品激情| 久久久久国产视频电影| 久久久精品2019免费观看| 中文字幕亚洲综合久久2| 久久99久久99精品免视看动漫 | 日韩电影久久久被窝网| 久久久亚洲欧洲日产国码aⅴ | 91精品久久久久久无码| 国产成人精品久久| 欧美久久久久久精选9999| 精品久久久无码人妻中文字幕豆芽| 久久精品视屏| 日本久久久精品中文字幕| 色综合久久无码中文字幕| 久久天天日天天操综合伊人av| 久久久久亚洲精品天堂| 久久99热这里只有精品66| 久久精品成人一区二区三区| 久久精品aⅴ无码中文字字幕重口 久久精品a亚洲国产v高清不卡 | 色综合久久综合中文综合网| 久久久久久午夜精品| 狠狠色伊人久久精品综合网 | 青青国产成人久久91网| 91久久婷婷国产综合精品青草| 国产69精品久久久久9999APGF | 久久天天躁狠狠躁夜夜2020 | 久久香蕉一级毛片| 一本久久a久久精品综合夜夜 | 国产精品美女久久久久网| 久久国产精品99国产精| 久久精品国产亚洲AV麻豆网站| 久久人人爽爽爽人久久久| 精品久久久久久国产91| 久久青青草原综合伊人| 一本大道加勒比久久综合| 久久午夜福利电影|