-
随着窗口大小的不同,窗口的颜色不断变化,请尝试
随着窗口大小的不同,窗口的颜色不断变化,请尝试-with different window sizes, the window colors constantly changing, please try
- 2022-02-14 08:31:20下载
- 积分:1
-
一个非常漂亮的界面换肤程序,喜欢漂亮界面的朋友不要错过
一个非常漂亮的界面换肤程序,喜欢漂亮界面的朋友不要错过-a very nice interface skinnable procedures, like beautiful interface friends not to miss
- 2023-02-13 06:15:03下载
- 积分:1
-
单独的窗口类,使用简单,方便和需要做的xsplitte…
窗口分割类,使用简单,方便,只需把XSplitterWnd.cpp,XSplitterWnd.h加入源就可以使用-separate window category, the use of simple, convenient and needs to do XSplitterWnd.cpp, XSplitterWnd.h join the source can use
- 2022-08-24 23:53:41下载
- 积分:1
-
MFC对话框,运用ClientDC绘制静态曲线,曲线的使用
MFC 对话框,运用ClientDC绘制静态曲线,运用曲线像素取反擦除曲线。很好的静态曲线绘制代码,简单易懂,稍加修改可绘制自己的曲线。-MFC dialog box, use ClientDC draw static curve, the use of curve-pixel to take anti-erasing curve. Very good static curve drawing code, easy to understand, a little change can draw your own curve.
- 2022-07-21 02:26:12下载
- 积分:1
-
Font Previewer 系统字体预览工具
Font Previewer 系统字体预览工具-Font Previewer system font preview tool
- 2022-03-09 22:55:40下载
- 积分: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
-
VC interface similar to the preparation of a procedure, in a single file dialog...
编写类似VC界面的一个程序,在单文档中悬浮对话框-VC interface similar to the preparation of a procedure, in a single file dialog Suspended
- 2022-02-05 02:36:25下载
- 积分:1
-
A very easy
一个非常简单好用的tab控件类 有demo-A very easy-to-use tab controls have demo category
- 2022-05-16 23:32:39下载
- 积分:1
-
File Dialog Macro 文件对话框宏(6KB)
File Dialog Macro 文件对话框宏(6KB)-File Dialog Macro file dialog Acer (6KB)
- 2022-03-24 11:42:33下载
- 积分:1
-
VC使窗口居中显示
VC使窗口居中显示-VC window middling show
- 2022-07-26 06:29:05下载
- 积分:1