-
一个VC++中单文档,多视图的例子.其中一个为TreeView视图,一个为一般视图...
一个VC++中单文档,多视图的例子.其中一个为TreeView视图,一个为一般视图-a single file, multi-view examples. One of the TreeView View, a general view
- 2022-10-26 15:45:03下载
- 积分:1
-
on VC.NET This is the programming code, when the window on the operation, for yo...
这是关于VC.NET编程方面的代码,时关于窗口操作等的,供大家使用-on VC.NET This is the programming code, when the window on the operation, for your use
- 2022-03-12 11:11:04下载
- 积分: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
-
支持单文档的可伸缩的控件的对话框。而且支持property sheet。
支持单文档的可伸缩的控件的对话框。而且支持property sheet。-Single document to support the scalable control of the dialog box. And to support the property sheet.
- 2022-02-03 21:00:47下载
- 积分:1
-
XmessageBox version 1.8, updated: 30 Nov 2008
XmessageBox的1.8版本,更新时间:30 Nov 2008
-XmessageBox version 1.8, updated: 30 Nov 2008
- 2022-06-01 00:45:15下载
- 积分:1
-
CFileDialogST a demo, according to this, you can do a multiple files at the same...
CFileDialogST的一个demo,按照这个,你就可以做一个同时可以打开多个文件的filedialog。-CFileDialogST a demo, according to this, you can do a multiple files at the same time can open the filedialog.
- 2023-07-04 23:15:03下载
- 积分:1
-
学习动态显示计算结果:将计算结果动态的显示在对话框中。...
学习动态显示计算结果:将计算结果动态的显示在对话框中。-learning dynamic display results : Dynamic calculation results shown in the dialog box.
- 2022-04-18 00:15:01下载
- 积分:1
-
用静态分窗口的方法将窗口一分为二,
并在子窗口中显示不同的图案...
用静态分窗口的方法将窗口一分为二,
并在子窗口中显示不同的图案-Static sub-window method to the window into two, and in the sub-window display different patterns
- 2023-07-19 17:25:04下载
- 积分:1
-
HTML界面的应用程序,VC7 WindowXP测试
HTML界面应用,VC7 WindowXP 下测试通过-HTML interface applications, VC7 WindowXP tested by
- 2023-04-23 15:45:03下载
- 积分:1
-
如何设置初始窗口位置源代码
如何设置窗口的初始位置源代码-how to set up the initial window position source code
- 2022-01-26 07:47:00下载
- 积分:1