-
基于网页的windows对话框程序,类似诺顿和windows的控制面板的样子...
基于网页的windows对话框程序,类似诺顿和windows的控制面板的样子-Web-based windows dialog box procedure, similar to Norton windows and a control panel appearance
- 2022-04-29 12:35:47下载
- 积分:1
-
在可执行文件中输入二次方程的a b c值,即可判断是否存在可行解...
在可执行文件中输入二次方程的a b c值,即可判断是否存在可行解-In the executable file, enter values abc the quadratic equation, you can determine whether the existence of feasible solution
- 2022-12-12 02:30:03下载
- 积分:1
-
这个程序可以改变MDI窗口框架的颜色,通过编译
这个程序可以改变MDI窗口框架的颜色,通过编译-This procedure can change the color of MDI frame window, through the compiler
- 2022-02-07 05:38:33下载
- 积分:1
-
一个功能强大的自定义mssagebox, 主要是对 afxmessagebox 进行了扩展, 使用方法非常简单...
一个功能强大的自定义mssagebox, 主要是对 afxmessagebox 进行了扩展, 使用方法非常简单-A powerful custom mssagebox, mainly AfxMessageBox expanded very simple to use
- 2022-06-18 09:06:35下载
- 积分:1
-
Eight of the VC
八皇后的VC图形演示,本程序基于对话框,可以设置不同的条件进行程序的运行!-Eight of the VC
- 2023-03-11 18:15:03下载
- 积分: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
-
一个华丽的界面
使用方法
方法一:
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
-
floating panels, a considerable use of floating panels
浮动面板,相当使用的浮动面板-floating panels, a considerable use of floating panels
- 2022-08-13 17:29:01下载
- 积分:1
-
用vc实现的一个播放器程序,可以实现mp3的播放等功能,非常好...
用vc实现的一个播放器程序,可以实现mp3的播放等功能,非常好-vc achieved with a player program, can achieve a mp3 player and other functions, very good
- 2023-08-06 21:30:03下载
- 积分:1
-
一个调用API打开系统目录对话框的例子,如果有更好的方法,不要忘了也给我一份...
一个调用API打开系统目录对话框的例子,如果有更好的方法,不要忘了也给我一份-an API call open system directory dialog example, if there is a better way, do not forget also gave me a copy of
- 2022-02-03 14:32:03下载
- 积分:1