-
目录树控件 目录树控件 目录树控件
目录树控件 目录树控件 目录树控件-tree dir ctrl tree dir ctrl tree dir ctrl
- 2022-03-20 04:48:44下载
- 积分:1
-
实现类似Excel和Visual C++里文件夹式样的标签控制(三),这是这个系列的第三个例子,完整的在单文档下实现了文件夹样式的标签控制...
实现类似Excel和Visual C++里文件夹式样的标签控制(三),这是这个系列的第三个例子,完整的在单文档下实现了文件夹样式的标签控制-And achieve a similar Excel in Visual C++ Tab style folders control (three), this series This is the third example, a complete implementation in a single document under a folder-style tags to control
- 2022-08-21 22:29:04下载
- 积分:1
-
很好的鼠标钩子控制bar显示隐藏一把dialogbar控制都用他
很好的鼠标钩子控制bar显示隐藏一把dialogbar控制都用他-good mouse control hook a bar show that the hidden dialogbar with his control
- 2023-02-22 10:05:03下载
- 积分:1
-
将一张小图片布满整个窗口作为背景.运用图像刷子填充
将一张小图片布满整个窗口作为背景.运用图像刷子填充-to a small covered the whole picture as a background window. Brush filled using images
- 2022-02-12 12:14:04下载
- 积分:1
-
实现类似xp风格的控件,无需添加过多代码,操作简单.
实现类似xp风格的控件,无需添加过多代码,操作简单.-Xp style to achieve a similar control, without adding too much code, easy to operate.
- 2022-04-27 11:46:08下载
- 积分: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
-
显示当前所有运行的窗口
显示当前所有运行的窗口-running shows all current window
- 2022-03-11 01:44:38下载
- 积分:1
-
greedy algorithm of the horse traversal, simple to understand and can look at th...
贪婪算法实现的马的遍历,简单易懂,可以看看MFC类的派生和消息影射的一些咚咚,使用环境为VS。NET-greedy algorithm of the horse traversal, simple to understand and can look at the MFC category derived alluding to the news and some behind, the use of the environment VS.NET
- 2022-03-18 09:39:03下载
- 积分: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
-
可以关闭屏幕上的所有Form包括Windows桌面、任务栏等
可以关闭屏幕上的所有Form包括Windows桌面、任务栏等-Can turn off the screen all the Form including the Windows desktop, task bar, etc.
- 2022-03-25 08:40:01下载
- 积分:1