BOOL CxSplitterWnd::OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
// The code line below is necessary if using CxSplitterWnd in a regular dll
// AFX_MANAGE_STATE(AfxGetStaticModuleState());
return CWnd::OnWndMsg(message, wParam, lParam, pResult);
}
这样我们就可以在对话框中使用CxSplitterWnd类了。
to yintongshun(踏雪有痕) 我已经收到了,谢谢你给我发的程序.
我真正想要作的是如何在listView中显示缩略图.其实显示的图像不是现有的位图文件.是我用程序画出来的图像用自己的格式存储的.现在我看到了一个例子可以实现这个问题.他的做法是在出始化listView时动态创建ImageList图像列表.然后添加Item就可以实现了.
BOOL CxSplitterWnd::OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
// The code line below is necessary if using CxSplitterWnd in a regular dll
// AFX_MANAGE_STATE(AfxGetStaticModuleState());
return CWnd::OnWndMsg(message, wParam, lParam, pResult);
}
这样我们就可以在对话框中使用CxSplitterWnd类了。