-
一个华丽的界面
使用方法
方法一:
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
-
动态改变窗口和控件大小的开发包,控件随窗口大小动态改变
动态改变窗口和控件大小的开发包,控件随窗口大小动态改变-Dynamic changes in the size of the window and control the development package, control the dynamic change with window size
- 2022-04-14 18:01:58下载
- 积分:1
-
用VC编写的一个实现不规则窗口的程序!
用VC编写的一个实现不规则窗口的程序!-VC prepared to achieve a window of irregular procedures.
- 2022-03-03 09:37:34下载
- 积分:1
-
这个程序写的很漂亮 可以
这个程序写的很漂亮 可以-this procedure was very nice to see it
- 2022-02-13 14:45:46下载
- 积分:1
-
半透明窗体.rar
半透明窗体.rar-translucent window. Rar
- 2022-02-28 10:14:07下载
- 积分:1
-
用vc++写的自绘对话框的程序,可以实现一些比较好的样式,改变vc中自带的风格...
用vc++写的自绘对话框的程序,可以实现一些比较好的样式,改变vc中自带的风格-With vc++ Written procedures since the painting dialog, you can realize some of the better style, a change in its own style vc
- 2022-03-16 02:46:18下载
- 积分:1
-
This is a family accounts of a statistical system used vc development of a small...
这是一个家庭账目统计系统,用vc开发的小系统。功能比较详细,可以统计每天家庭开销的账目,实用方便。-This is a family accounts of a statistical system used vc development of a small system. More detailed features, the daily statistics of the family expense accounts, practical convenience.
- 2023-04-04 09:05:04下载
- 积分:1
-
Default schema in a model
Default schema in a model-view-presenter pattern design.
- 2022-08-10 19:53:25下载
- 积分:1
-
好东西不赶独享,今天上传给大家,我也是网上下载的!一个不错的皮肤...
好东西不赶独享,今天上传给大家,我也是网上下载的!一个不错的皮肤-good things not in a hurry to stay, upload to you today, I also downloaded! A good skin
- 2023-02-08 06:00:03下载
- 积分:1
-
默认皮肤PNG源代码
默认皮肤PNG源代码-default skin PNG source code
- 2022-01-25 15:00:55下载
- 积分:1