救急!!!怎样动态生成按钮? 怎样动态生成按钮? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 place this code in .h fileCButton m_button;place this code in where you need create the buttn m_button.Create(...........want detail plase find from MSDN ,there has the samples! 记得在不需要的时候调用DestroyWindow 大概就这意思: CButton* m_pButton; m_pButton =new CButton; ASSERT_VALID (m_pButton); m_pButton->Create (_T ("中文") , WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON, CRect ( 0, 0, 100 , 16) , this , WM_USER+88 ); 在OnInitDialog里写就可以了,最后销毁的时候delete 不一定在OnInitdialog里咯,什么地方都可以就是创建窗口的方法了,newcreateshowwindowupdatewindow 有没人在XP下开发WIN7的? vc2005 GDI+怎么贴动态的gif图片 打开数据库连接时的First-chance Exception 请问--画图的时候 点的算法如何设计? 能修改宏定义FD_SETSIZE吗? 请教一个查询语句,我要查A表中有某个关键值,而B表中没有对应的关键值的记录出来 急!!!! 如何实现高速动画? 高分求助,请问我只是想接收串口数据该怎么做? 初学~~~自己有一个很菜的问题~~~~~~ WM_PAINT消息的困惑。。。。 一个对话框与一个类的问题
m_button.Create(...........want detail plase find from MSDN ,there has the samples!
CRect ( 0, 0, 100 , 16) , this , WM_USER+88 );
就是创建窗口的方法了,
new
create
showwindow
updatewindow