-
自动重绘窗体内控件的VC控件,包含源代码和一个例子
自动重绘窗体内控件的VC控件,包含源代码和一个例子-Automatically redraw the window controls the VC controls the body, including source code and an example
- 2022-05-24 09:47:32下载
- 积分:1
-
通过小动画程序编写实现,刚学编程…
由java编写的实现动画的小程序,刚刚学编程,代码大家批判-prepared by the realization of the small animation process, just learning programming code we Criticism
- 2022-02-03 22:47:06下载
- 积分:1
-
一款具备vista风格的非常漂亮的界面源码
一款具备vista风格的非常漂亮的界面源码-Have a very beautiful vista style interface source
- 2022-01-26 00:06:41下载
- 积分:1
-
报表的打印,预览的源代码,轻松实现报表打印。功能强大
报表的打印,预览的源代码,轻松实现报表打印。功能强大-statements for the print, preview of the source code, easily print statements. Powerful
- 2022-02-04 13:11:15下载
- 积分: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
-
Modbus通信软件的源代码,供大家参考学习
一个MODBUS的通讯软件源代码,供大家参考学习-A MODBUS communications software source code, for your reference learning
- 2022-03-21 17:02:50下载
- 积分: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
-
ColorDialog组件
图7
ColorDialog组件
图7-26 "颜色"对话框
2. FontDialog组件
图7-27 "字体"对话框
3. OpenFileDialog组件
图7-28 "打开"对话框
4. SaveFileDialog组件
图7-29 "另存为"对话框-ColorDialog components Figure 7-26 "Colors" box 2. FontDialog components Figure 7-27 "font" box 3. Figure 7-28 OpenFileDialog components "Open" dialog box 4. Figure 7-29 SaveFileDialog components "Save as" dialog box
- 2022-02-12 10:24:09下载
- 积分:1
-
Dialog Designer (DD) Release 5.0.0.14.01 Release Letter
Dialog Designer (DD) Release 5.0.0.14.01 Release Letter
- 2022-01-24 15:00:09下载
- 积分:1
-
在基于对话框的MFC程序中加入对话框条
在基于对话框的MFC程序中加入对话框条-based on the MFC dialog process of accession to the dialog
- 2022-04-09 19:34:13下载
- 积分:1