动态创建CEdit类

//this 为parent窗口的指针   
CEdit* pEdit = new CEdit;
pEdit->Create(ES_MULTILINE | WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER,
        CRect(10, 10, 100, 100), this, 1);
posted @ 2009-08-05 16:16  eric_lgf  阅读(915)  评论(0编辑  收藏  举报