-
一个华丽的界面
使用方法
方法一:
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
-
创建客户区窗口,列表框之间项的拖拽操作
创建客户区窗口,列表框之间项的拖拽操作- The foundation customer area window, tabulates between the
frame the item to tow entrains operates
- 2023-03-04 03:10:04下载
- 积分:1
-
a drawing program VC, simple graphics operation and actuating functions entruste...
一个绘图程序VC,实现简单的绘图操作和托动功能,比较易懂。-a drawing program VC, simple graphics operation and actuating functions entrusted more comprehensible.
- 2022-03-11 19:16:38下载
- 积分:1
-
Generate a variety of graphics algorithms, a variety of straight, all kinds of c...
各种图形生成算法,各种直线,各种曲线,各种圆的生成算法-Generate a variety of graphics algorithms, a variety of straight, all kinds of curves, a variety of circle generation algorithm
- 2022-06-03 06:12:50下载
- 积分:1
-
有背景图的FORMVIEW
有背景图的FORMVIEW-Background map FormView
- 2023-04-21 05:45:02下载
- 积分:1
-
第8章 状态栏对话 框.rar
第8章 状态栏对话 框.rar-status bar dialog dialogue status bar. Rar
- 2022-01-31 23:46:58下载
- 积分:1
-
foreigner was a window
老外写的窗口子类化示例代码!学习用极佳。-foreigner was a window-type of sample code! Learning excellent.
- 2022-11-29 07:20:03下载
- 积分:1
-
Tool Tips
显示tool tip
可以用在各个控件中。大家试试看 !
Tool Tips
显示tool tip
可以用在各个控件中。大家试试看 !-Tool Tips showed tool tip can be used in various Chinese control. We try!
- 2022-03-13 19:55:22下载
- 积分:1
-
See UFO tool, very useful. Can easily read comics.
本程序是没用中断的情况下在LED上显示16*16汉字-This procedure is useless in case of interruption of LED display 16* 16 characters
- 2022-08-19 19:33:45下载
- 积分:1
-
本来想做一个数据处理的,结果也是没完成,只是画好了坐标轴...
本来想做一个数据处理的,结果也是没完成,只是画好了坐标轴-originally wanted a data processing, the result is not completed, but plans for a coordinate axis
- 2022-03-12 05:13:18下载
- 积分:1