谢谢!是要重写PreWindowCreate()吗?如何设置呢?
[/Quote]
对,重载PreWindowCreate函数
BOOL CXXView::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
cs.style |= WS_APPWINDOW;