• <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 閱讀(289) 評論(0)  編輯 收藏 引用 所屬分類: C++
            久久久久99精品成人片直播| 久久综合九色综合久99| 久久91精品国产91久久户| 久久亚洲精品无码aⅴ大香| 欧美日韩中文字幕久久久不卡| 亚洲国产天堂久久综合网站| 久久亚洲高清观看| 天天爽天天爽天天片a久久网| 国产日产久久高清欧美一区| 久久99国产精品二区不卡| 亚洲国产精品久久久久| 国产高清国内精品福利99久久| 国产精品九九久久精品女同亚洲欧美日韩综合区| 婷婷久久综合九色综合98| 伊人热人久久中文字幕| 久久99国产一区二区三区| 人妻中文久久久久| 一本色道久久88精品综合| 国产99久久精品一区二区| 久久九九青青国产精品| 久久久久久国产精品免费免费| 久久午夜免费视频| 久久婷婷激情综合色综合俺也去| 久久男人Av资源网站无码软件| 久久最近最新中文字幕大全| 久久久久亚洲精品男人的天堂| 亚洲欧美伊人久久综合一区二区| 国产精品一久久香蕉国产线看观看 | 精品国产一区二区三区久久久狼| 久久久精品免费国产四虎| 久久久免费观成人影院 | 久久久无码精品亚洲日韩蜜臀浪潮| 久久精品国产99国产精品亚洲| 国产午夜精品理论片久久影视| 久久精品国产一区二区| 色欲综合久久中文字幕网| 精品99久久aaa一级毛片| 午夜精品久久久久久中宇| 久久久久久久久久久免费精品| 少妇久久久久久久久久| 人人狠狠综合久久亚洲高清|