sy4
所属分类:界面编程
开发工具:Visual C++
文件大小:19KB
下载次数:10
上传日期:2012-01-01 16:36:31
上 传 者:
fateflv
说明: (1) 用GetMenu获取窗口主菜单句柄;
(2) 应用程序建立新菜单、加入菜单项并插入到主菜单的指定位置。在创建新的弹出式菜单后,应用程序还通过调用函数EnableMenuItem禁止“创建统计计算菜单项”并将其暗淡显示。
(3) 调用函数DrawMenuBar重新显示改变后的窗口主菜单。
(4) 实现“退出”菜单项功能。
(This is a simple program for study.
Only can exit.)
文件列表:
sy4\mainframe.cpp (3506, 2011-12-20)
sy4\mainframe.dsp (4266, 2011-12-01)
sy4\mainframe.dsw (541, 2011-10-27)
sy4\mainframe.ncb (58368, 2011-12-21)
sy4\mainframe.opt (53760, 2011-12-21)
sy4\mainframe.plg (803, 2011-12-21)
sy4\menu.aps (33096, 2011-12-20)
sy4\menu.rc (3376, 2011-12-20)
sy4\resource.h (1344, 2011-12-20)
sy4\StdAfx.cpp (296, 2011-10-27)
sy4\StdAfx.h (773, 2011-10-27)
sy4 (0, 2011-12-21)
========================================================================
WIN32 APPLICATION : mainframe
========================================================================
AppWizard has created this mainframe application for you.
This file contains a summary of what you will find in each of the files that
make up your mainframe application.
mainframe.cpp
This is the main application source file.
mainframe.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named mainframe.pch and a precompiled types file named StdAfx.obj.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
/////////////////////////////////////////////////////////////////////////////
近期下载者:
相关文件:
收藏者: