Article View: cn.bbs.comp.program
Article #1550���Owl��������
From: Wang Zhuo
Date: Thu, 02 Apr 1998 00:00
Date: Thu, 02 Apr 1998 00:00
26 lines
1185 bytes
1185 bytes
С����Owl��TMDIClient����MDI���棬�������к������MDI�Ӵ��ڣ���������
�����
class MyClient:public TMDIClient
{
protected:
TMDIChild *InitChild()
{
//TMDIChild *child=new TMDIChild(*this,"Color Popup",new
ColorWindow());
//return child;
return new TMDIChild(*this,"Color Popup",new ColorWindow());
}
void CmChildClose();
void CmChildCloseEnable(TCommandEnabler& ce);
DECLARE_RESPONSE_TABLE(MyClient);
};
class PopupMenuApp:public TApplication
{
protected:
void InitMainWindow()
{
MainWindow=new TMDIFrame("OWL Popup",IDM_MDIMENU,*new MyClient());
}
};
Technical Details
Message-ID:
<35238BCA.65CA@public3.bta.net.cn>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,GB X-Google-Thread: fc86e,a1264eb4c9e4443f,start X-Google-Attributes: gidfc86e,public From: Wang Zhuo <cdbc@public3.bta.net.cn> Subject: ���Owl�������� Date: 1998/04/02 Message-ID: <35238BCA.65CA@public3.bta.net.cn> X-Deja-AN: 340171178 Content-Transfer-Encoding: 8bit Mime-Version: 1.0 Reply-To: cdbc@public3.bta.net.cn Content-Type: text/plain; charset=gb2312 Organization: Lab NetTech Newsgroups: cn.bbs.comp.program