-
mfc的非模态对话框示例,对学习mfc比较有帮助
mfc的非模态对话框示例,对学习mfc比较有帮助-mfc non-Modal Dialog example, to learn more help mfc
- 2022-03-14 00:12:40下载
- 积分:1
-
一个通用的VC报表控件,可以用来开发类似PPLIVE节目列表...
一个通用的VC报表控件,可以用来开发类似PPLIVE节目列表-VC a generic control statements that can be used to develop similar programs PPLIVE list
- 2022-02-04 06:33:39下载
- 积分:1
-
这个演示是<;<;MFC anwswer书>;>;,程序显示如何减阻剂…
This demo is from > , Program show to how to draw a picture on the area of the Dialog.-This demo is from lt;lt; MFC anwswer bookgt;gt; , Program show to how to draw a picture on the area of the Dialog.
- 2022-02-03 11:48:23下载
- 积分:1
-
vb调用vc的DLL的例程,适合学习如何使用vb调用vc的DLL的初学者,很好用....
vb调用vc的DLL的例程,适合学习如何使用vb调用vc的DLL的初学者,很好用.-vb vc call the DLL routines, for vb learn how to use the DLL calls vc beginners good use.
- 2022-02-27 01:57:55下载
- 积分:1
-
本代码中实现的增强型文件对话框美观实用,可以替代CFileDialog!...
本代码中实现的增强型文件对话框美观实用,可以替代CFileDialog!-the code to achieve enhanced dialog beautiful and practical, alternative CFileDialog!
- 2022-12-04 13:55:03下载
- 积分:1
-
MFC Dialog
将MFC基于对话框编程中的大部分控件都用在一个对话框上,包含了各个控件的使用方法。-MFC Dialog-based programming will be in the majority of controls are used in a dialog box that contains various control use.
- 2022-08-05 23:36:15下载
- 积分: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
-
demonstration SDI single
演示SDI的单窗口显示内容可修改的表格式数据,并且有嵌入的滚动字幕显示,自动日期显示,自动保存窗口状态和数据内容,下次自动调用重显-demonstration SDI single-window content can modify the form of data and is embedded subtitles rolling, the automatic date display, automatic window state and the preservation of data, the next automatically called weight
- 2022-01-30 21:59:15下载
- 积分:1
-
请注意背景中的表单应用!这是一个动态过程!
请注意背景中的表单应用!这是一个动态过程!-background to the application form! This is a dynamic process!
- 2022-06-19 18:59:07下载
- 积分:1
-
[制作透明或半透明窗体]
[制作透明或半透明窗体]--制作透明或半透明窗体-[the production of transparent or translucent Window]-- the production of transparent or translucent Window
- 2022-04-25 15:39:59下载
- 积分:1