• <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++博客 聯系 聚合 管理  

            Blog Stats

            文章分類(17)

            收藏夾(2)

            文章檔案(18)

            相冊

            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 閱讀(295) 評論(0)  編輯 收藏 引用 所屬分類: C++
            色婷婷久久久SWAG精品| 国产产无码乱码精品久久鸭| 91秦先生久久久久久久| 久久国产成人午夜AV影院| 日韩久久无码免费毛片软件| 色妞色综合久久夜夜| 粉嫩小泬无遮挡久久久久久| 国产精品无码久久久久| 久久人妻AV中文字幕| 久久精品国产精品青草| 无码人妻少妇久久中文字幕| 2021久久国自产拍精品| 合区精品久久久中文字幕一区| 久久久久久久亚洲Av无码| 久久久久久久久久久免费精品| 亚洲va中文字幕无码久久不卡| Xx性欧美肥妇精品久久久久久| 开心久久婷婷综合中文字幕| 久久久精品人妻一区二区三区蜜桃| 久久福利片| 久久青草国产精品一区| 亚洲国产另类久久久精品小说| 久久久国产一区二区三区| AV狠狠色丁香婷婷综合久久| 国产精品久久久久久五月尺| 国产精品成人精品久久久| 国产婷婷成人久久Av免费高清| 亚洲а∨天堂久久精品9966| 国产伊人久久| 国产精品gz久久久| 伊人色综合久久| 国产精品久久亚洲不卡动漫| 久久婷婷激情综合色综合俺也去| 亚洲欧美久久久久9999| 四虎久久影院| 久久亚洲精品国产精品婷婷 | 久久精品视频一| 久久精品国产精品亜洲毛片| 国内精品久久久久久久久电影网| 中文字幕一区二区三区久久网站| 久久福利青草精品资源站|