-
you can chose file foder use this control
you can chose file foder use this control
- 2022-02-07 21:12:52下载
- 积分:1
-
使用windowsAPI编写的窗口,代码精炼,便于学习和参考。
使用windowsAPI编写的窗口,代码精炼,便于学习和参考。-WindowsAPI prepared to use a window, code refining, to facilitate learning and reference.
- 2022-02-13 04:12:26下载
- 积分:1
-
This is a menu with the realization of the multi
这是一个用菜单实现的多视图的切换,以及视图的分割代码-This is a menu with the realization of the multi-view switches, and separate code of View
- 2022-03-02 11:33:05下载
- 积分:1
-
这个演示是从lt;lt;MFC anwswer bookgt;gt;,程序显示如何变化…
This demo is from > , Program show to how to change the data of document programmably.-This demo is from lt;lt; MFC anwswer bookgt;gt; , Program show to how to change the data of document programmably.
- 2022-05-17 09:16:45下载
- 积分:1
-
vb的教学用源码,代码注释非常详尽,是一个很简单的内存监控程序...
vb的教学用源码,代码注释非常详尽,是一个很简单的内存监控程序-vb source of teaching, code very detailed notes, is a very simple monitoring program memory
- 2022-07-17 04:21:43下载
- 积分:1
-
VC6.0 compiler under Windows through this process by clicking the calculator pop
Windows下VC6.0编译通过,本程序通过点击菜单弹出了计算器对话框,实现计算器的基本工了,可供学习菜单对话框的以及计算器开发的人士学习使用-VC6.0 compiler under Windows through this process by clicking the calculator pop-up menu dialog box, and realize the fundamental workers calculator, and for learning dialog menu, as well as calculator developed to learn the use of
- 2023-03-15 19:45:04下载
- 积分:1
-
演示非模态对话框(Modeless Dialog)的用法
演示非模态对话框(Modeless Dialog)的用法-demo-Modal Dialog (Modeless Dialog) Usage
- 2022-09-23 18:10:02下载
- 积分: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
-
himself wrote a simple computer program. Beginners learning to facilitate the de...
自己写的一个简单的计算器程序。便于初学者学习C++类的设计,vc基于对话框控件设计等内容-himself wrote a simple computer program. Beginners learning to facilitate the design category C, vc-based dialog design content controls
- 2022-04-01 04:32:13下载
- 积分:1
-
一个不错的颜色拾取器
一个不错的颜色拾取器-a good color for picking
- 2023-05-21 01:55:03下载
- 积分:1