-
打开关闭光驱和禁止Alt+F4的例子,看看吧,肯定有很大的收获的!...
打开关闭光驱和禁止Alt+F4的例子,看看吧,肯定有很大的收获的!- Opens the closure light to drive and to forbid Alt F4 the
example, has a look, definitely has the very big harvest!
- 2022-07-15 13:29:19下载
- 积分: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
-
很轻松的实现椭圆窗体,让你的界面边的多姿多彩,与众不同...
很轻松的实现椭圆窗体,让你的界面边的多姿多彩,与众不同-easily achieve the oval window and let you interface edge of colorful, unusual
- 2023-06-13 16:00:04下载
- 积分:1
-
The program provides a dialog box how to use the system colors the detailed proc...
该程序提供了如何使用系统颜色对话框的详细过程,并能对程序背景颜色作实时响应。-The program provides a dialog box how to use the system colors the detailed process, and is able to process the background color for real-time response.
- 2022-02-15 08:45:27下载
- 积分:1
-
VB写的汽泡程序,演示任务栏上的提示功能
VB写的汽泡程序,演示任务栏上的提示功能-VB bubble written procedures, presentations on the task bar features tips
- 2022-03-14 13:04:08下载
- 积分:1
-
气象自动站实时气象检测软件,简单明了,功能齐全
气象自动站实时气象检测软件,简单明了,功能齐全-Automatic meteorological station real-time weather detection software, simple and clear, full-featured
- 2023-07-05 04:30:02下载
- 积分:1
-
This sample shows how to use 32
This sample shows how to use 32-bit (alpha channel) images with toolbars and
command bars. It also displays them only if running on Windows XP with themes
enabled, while it displays standard 4-bit images in other cases.
- 2022-05-06 07:46:48下载
- 积分:1
-
Green
好用绿色的看图工具,具有ACD的绝大部分功能。
小巧实用,即用即装,不可多得呀。-Green-to-use plug-in tools, with the vast majority of ACD features. Compact and practical, that is, to use that equipment, rare you.
- 2023-04-05 09:25:04下载
- 积分:1
-
当程序已经运行,再次运行时弹出已运行程序的窗口。基于mfc结构的例子。...
当程序已经运行,再次运行时弹出已运行程序的窗口。基于mfc结构的例子。-procedures already running again pop operation has been in operation for the window procedure. Mfc structure based on the examples.
- 2022-03-31 09:24:02下载
- 积分:1