(1) 是不是每创建一个对话框资源都的从CDialog派生一个类?然后让它和这个派生的类相关联呢? (2)CDialogBar的函数 BOOL Create( CWnd* pParentWnd, UINT nIDTemplate, UINT nStyle, UINT nID ); nID The control ID of the dialog bar. nIDTemplate The resource ID of the CDialogBar object’s dialog-box template. 哪位大哥给解释一下他们的区别.我从网上看见一篇文章说他俩一般不一样.
http://www.cadhelp.net/bbs/dispbbs.asp?boardID=5&ID=1492&page=1
DialogBar实际上是把对话框放到工具条上,所以需要两个ID