-
由非
一个用vc编写的关于模态和非模态的实例,对学习模态和非模态有很大帮助-prepared by the non-modal and modal example, to learn modal and non-modal great help
- 2022-03-22 19:16:57下载
- 积分:1
-
可以从这个程序,打开关闭其他程序,并执行点击命令,修改名称。...
可以从这个程序,打开关闭其他程序,并执行点击命令,修改名称。-From this process, open to close other programs and to implement the click command, modify the name.
- 2022-02-02 04:40:51下载
- 积分:1
-
刚学vc,作为一个例子在单文档中显示一个位图,比较适合初学者看。...
刚学vc,作为一个例子在单文档中显示一个位图,比较适合初学者看。-vc just learning, as an example in a single document shows a bitmap, more suitable for beginners to see.
- 2023-03-27 14:15:03下载
- 积分:1
-
word 宏代码,实现一些简单文字处理操作的代码
word 宏代码,实现一些简单文字处理操作的代码-word macro code to achieve some simple word processing operation code
- 2022-07-19 12:12:53下载
- 积分:1
-
在服务(Service)程序中显示对话框的程序
在服务(Service)程序中显示对话框的程序-Program which show dialogbox in service program
- 2022-03-13 10:47:29下载
- 积分:1
-
很多人都想在程序中实现 avi 控制。这个例子示范了如何在一个基于对话框的程序中添加 avi 动画控制(CAnimateCtrl)。...
很多人都想在程序中实现 avi 控制。这个例子示范了如何在一个基于对话框的程序中添加 avi 动画控制(CAnimateCtrl)。-many people would like to achieve in the proceedings avi control. This example demonstrated how a dialog based on the procedures to add animation avi control (CAnimateCtrl).
- 2022-05-09 07:32:12下载
- 积分:1
-
first create a large file, and then point to 1.1 gigabytes of which add example,...
先创建一个大文件,然后一点一点往其中添加字节的例子,与网络下载工具创建文件的方式相同,非常适合初学者学习文件操作API-first create a large file, and then point to 1.1 gigabytes of which add example, and network tools to create documents downloaded in the same way, very suitable for beginners learning file manipulation API
- 2023-02-17 13:25:03下载
- 积分:1
-
自定义的通过对话框实现的安装程序向导的程序.
自定义的通过对话框实现的安装程序向导的程序.-custom dialog achieved through the installation wizard procedure.
- 2022-06-13 20:55:36下载
- 积分:1
-
一个华丽的界面
使用方法
方法一:
ModifyStyle( WS_CAPTION, WS_MINIMIZEBOX, SWP_D...
一个华丽的界面
使用方法
方法一:
ModifyStyle( WS_CAPTION, WS_MINIMIZEBOX, SWP_DRAWFRAME ) //设置图标
方法二:
不用上面的,但是要去掉对话框的title属性
void CPageDlg::OnPaint()
{
if (IsIconic())
{
...
}
else
{
// CDialog::OnPaint() //一定要去掉该句
CPaintDC dc(this) //对话框的dc
CDC dcMem
dcMem.CreateCompatibleDC(&dc) //创建与对话框dc兼容的内存dc
CRect rect
GetClientRect(&rect)
BITMAP bitMap
m_bmpBackground.GetBitmap(&bitMap)
CBitmap *pbmpOld=dcMem.SelectObject(&m_bmpBackground) //将背景位图选入内存dc中
dc.StretchBlt(0,0,rect.Width(),rect.Height(),&dcMem,0,0,bitMap.bmWidth,bitMap.bmHeight,SRCCOPY) //将内存dc中的位图拉伸显示在对话框的dc中
//dc.BitBlt(0,0,rect.Width(),rect.Height(),&dcMem,0,0,SRCCOPY)
}
}
-a gorgeous interface to use a method : ModifyStyle (WS_CAPTION, WS_MINIMIZEBOX. SWP_DRAWFRAME)// Settings icon two ways : not above, However, to remove the title attribute dialog void CPageDlg : : OnPaint () (if (IsIconic ()) (...) e
- 2022-08-21 14:24:22下载
- 积分:1
-
Visual C++ 开发的基础上用A*算法实现自动拼图。开发语言用的是...
Visual C++ 开发的基础上用A*算法实现自动拼图。开发语言用的是-Visual C++ Developed based on the use of A* algorithm for automatic puzzle. Development language used is
- 2022-08-14 14:16:52下载
- 积分:1