-
一个时钟控件,程序Build后就可以直接在对话框中加入控件,实现一个时钟程序。...
一个时钟控件,程序Build后就可以直接在对话框中加入控件,实现一个时钟程序。-A clock control, the procedure can be directly in the Build dialog box after adding controls, procedures for the realization of a clock.
- 2022-02-16 09:34:39下载
- 积分:1
-
一个自绘TAB控件,类似Excel中的Sheet标签
一个自绘TAB控件,类似Excel中的Sheet标签-TAB drawn from a control, similar to the Excel Sheet labels
- 2022-05-23 12:19:13下载
- 积分:1
-
用VC++实现的创建对话框功能,比较简单,适合初学VC的人看
用VC++实现的创建对话框功能,比较简单,适合初学VC的人看-With VC++ Realize the creation of dialog features, relatively simple, suitable for novice VC people watch
- 2023-02-27 15:00:02下载
- 积分:1
-
Winamp样式的自动停靠对话框
Winamp样式的自动停靠对话框
Winamp样式的自动停靠对话框
Winamp样式的自动停靠对话框-Winamp-style dialog box automatically docked automatically docked Winamp-style dialog box
- 2022-04-21 06:55:43下载
- 积分: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
-
一个VC++中单文档,多视图的例子.其中一个为TreeView视图,一个为一般视图...
一个VC++中单文档,多视图的例子.其中一个为TreeView视图,一个为一般视图-a single file, multi-view examples. One of the TreeView View, a general view
- 2022-10-26 15:45:03下载
- 积分:1
-
自定义的CFiledialog类,可以实现图片预览
自定义的CFiledialog类,可以实现图片预览-CFiledialog categories, preview images can be achieved
- 2022-05-30 07:38:13下载
- 积分:1
-
can change the size of the dialog box
可改变大小的对话框-can change the size of the dialog box
- 2022-06-19 07:08:12下载
- 积分:1
-
delphi国内用于 p2p网络编程的控件源代码,
delphi国内用于 p2p网络编程的控件源代码,-delphi domestic p2p network programming for the control of the source code,
- 2022-01-26 06:42:50下载
- 积分:1
-
我自己编写的用Delphi编写的Ad Hoc无线网络仿真实验
我自己编写的用Delphi编写的Ad Hoc无线网络仿真实验-I prepared with Delphi"s Ad Hoc Wireless Network Simulation
- 2022-11-28 21:55:03下载
- 积分:1