how to call a user defined dialog from the menu like from file,new ........
解决方案 »
- fat32 分区格式化,盘的容量大小在fat32的哪个扇区的哪个位置?
- 为啥 EnableMenuItem()函数不起作用?
- VC操作Excel的问题
- 请问如何取得IE控件发出HTTP请求后,服务器返回的回应消息的HTTP头??
- gdi+操作tiff问题,为什么我用gdi读取tiff,即使马上存成文件,也有颜色丢失问题
- VC6中邪了。。55555
- DECLARE_CLASSFACTORY_SINGLETON(CFileManager)时,就算在同一账号下运行也不能保证只有一个实例?
- convert 'char [256]' to 'const unsigned short *'
- 学会vc,至少要用多长时间?
- vs2010数据库开发,推荐款比较好的表格控件
- 如何知道没有释放内存。
- 请问用什么方法可以获得指定进程的句柄?
attach this dialog to a CDialog class;
in the function of the menuitem like new, add the following code:
CYourDialog dlg;
int ret = dlg.DoModal();
if( ret == IDOK )
...
else
...