为什么我的视会是透明的??100分
我在CMainFrame::OnCreateClient有以下代码:
本来是想动态创建一个像资源浏览器左边的那个树视图,和右边一个动态Report列表视图的。但出来的却是透明视图,为什么?
if (!m_pMainView->CreateView(0,0,RUNTIME_CLASS(CFolderListView),
CSize(160, 0), pContext))
{
return FALSE;
}
if (!m_pMainView->CreateView(0, 1, RUNTIME_CLASS(CRunManView),
CSize(0, 300), pContext))
{
return FALSE;
}
还有在 CFolderListView::OnCreate中
ModifyStyleEx(WS_EX_CLIENTEDGE, 0);
你知道,哪儿有这样的代码吗?
网址....
我会给100$