-
进度条的实例3
进度条的实例3-Examples of the progress bar 3
- 2022-01-29 02:33:14下载
- 积分:1
-
skin ++ 效果预览~ 挺不错哦,下个skin++吧,很好用,vc界面美化...
skin ++ 效果预览~ 挺不错哦,下个skin++吧,很好用,vc界面美化-skin++ effect preview ~ very good Oh, the next skin++ bar, very good use, vc interface landscaping
- 2022-03-23 03:22:40下载
- 积分:1
-
实现闪烁的标题栏
实现闪烁的标题栏-achieve flashing title bar
- 2022-04-26 11:08:25下载
- 积分: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
-
实现全屏显示
实现全屏显示-achieve full screen display
- 2023-08-30 11:15:03下载
- 积分:1
-
一个电梯的模拟程序,用VC实现的,有友好的界面,能够直观的模拟电梯运行的状态...
一个电梯的模拟程序,用VC实现的,有友好的界面,能够直观的模拟电梯运行的状态-an elevator simulation program, VC, a friendly interface, visual simulation to run the state Elevator
- 2022-05-23 12:17:31下载
- 积分:1
-
窗体的分割,从一本书上弄过来的,实现还不错,大家看看就行了...
窗体的分割,从一本书上弄过来的,实现还不错,大家看看就行了-Form division from a book get here by the realization was pretty good, we look at the OK
- 2023-03-11 01:00:03下载
- 积分:1
-
Modbus通信软件的源代码,供大家参考学习
一个MODBUS的通讯软件源代码,供大家参考学习-A MODBUS communications software source code, for your reference learning
- 2022-03-21 17:02:50下载
- 积分:1
-
outlook样式的MDI窗体,左边为树状目录,右边是要显示的窗体.
outlook样式的MDI窗体,左边为树状目录,右边是要显示的窗体.-outlook style MDI form, the left for the tree, the right to display the form.
- 2023-06-27 20:00:04下载
- 积分:1
-
window example, we often need to split views, it provides a good example
动态切分窗口的例子,大家常常需要将视图分割,这里提供一个很好的例子-window example, we often need to split views, it provides a good example
- 2022-05-26 10:12:38下载
- 积分:1