我想询问如何在启动画面消失之前让主界面里的菜单全部是灰色,在启动画面消失之后菜单才可以是可用的??
解决方案 »
- unicode 版的 win32 application 程序提示 unresolved external symbol _wWinMain@16 ?
- 钩子函数里面能不能创建窗体
- 哪位高手用过pcausa的(pcamp50.sys,pcasp50.sys,w32n55)这些开发包??
- 编写的一个练习,希望高手能帮忙看一下
- MFC扩展dll的加载问题??????????
- 动态实现这两个数组应该怎么写?
- 如何知道一个线程有没有执行完
- 急问有关CRectTracker类的问题,马上结帖! ◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎
- 关于文件防拷贝程序各位有没有什么经验,来者有分
- 高手请进,Visual InterDev启动时出现:内存不能为read错,为什么?
- 帮忙看看slider bar 响应函数为什么出错
- vc 启动
{
if(!FinishedStarting){
pCmdUI->Enable(FALSE);
return;
};
//这里加其他代码
}
// 数据结构演示系统View.cpp : implementation of the CMyView class
//#include "stdafx.h"
#include "数据结构演示系统.h"#include "数据结构演示系统Doc.h"
#include "数据结构演示系统View.h"#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif/////////////////////////////////////////////////////////////////////////////
// CMyViewIMPLEMENT_DYNCREATE(CMyView, CView)BEGIN_MESSAGE_MAP(CMyView, CView)
//{{AFX_MSG_MAP(CMyView)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard printing commands
ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
END_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////
// CMyView construction/destructionCMyView::CMyView()
{
// TODO: add construction code here}CMyView::~CMyView()
{
}BOOL CMyView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs return CView::PreCreateWindow(cs);
}/////////////////////////////////////////////////////////////////////////////
// CMyView drawingvoid CMyView::OnDraw(CDC* pDC)
{
CMyDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw code for native data here
}/////////////////////////////////////////////////////////////////////////////
// CMyView printingBOOL CMyView::OnPreparePrinting(CPrintInfo* pInfo)
{
// default preparation
return DoPreparePrinting(pInfo);
}void CMyView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
// TODO: add extra initialization before printing
}void CMyView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
// TODO: add cleanup after printing
}/////////////////////////////////////////////////////////////////////////////
// CMyView diagnostics#ifdef _DEBUG
void CMyView::AssertValid() const
{
CView::AssertValid();
}void CMyView::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}CMyDoc* CMyView::GetDocument() // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMyDoc)));
return (CMyDoc*)m_pDocument;
}
#endif //_DEBUG/////////////////////////////////////////////////////////////////////////////
// CMyView message handlers
菜单的选项需要设置吗?