-
用VC++6.0实现“更改图标”对话框
用VC++6.0实现“更改图标”对话框-VC 6.0 "change icon" dialog
- 2022-05-15 18:23:43下载
- 积分:1
-
MFC中的Word文件和PDF文件,并能够读取相应的文件…
在MFC中显示WORD文档和PDF文档,并能对相应文档进阅读-shown in MFC WORD files and PDF files, and is able to read the corresponding document feeder
- 2022-03-21 13:33:28下载
- 积分:1
-
假“视频传送带”接口
仿“影音传送带”界面-fake "video conveyor belt" interface
- 2023-07-25 07:25:03下载
- 积分:1
-
这是一个基于Dialog对话框、可以在Picture控件中画线的程序,可以借鉴一下。...
这是一个基于Dialog对话框、可以在Picture控件中画线的程序,可以借鉴一下。-This is based on Dialog dialog box, you can draw lines in the Picture control procedures, you can learn from.
- 2022-12-30 19:00:03下载
- 积分: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
-
给出x值,经计算得到cos(x)的结果,并可清除记录
给出x值,经计算得到cos(x)的结果,并可清除记录-Given x value, as calculated by cos (x) the results, and Clear History
- 2022-05-10 13:48:26下载
- 积分:1
-
Outlook的界面源代码。修改一下就可以做为自己的应用程序界面了。省了许多麻烦。下载来用就行了。把程序员的时间都用做提高性能质量。效率就是竞争力啊...
Outlook的界面源代码。修改一下就可以做为自己的应用程序界面了。省了许多麻烦。下载来用就行了。把程序员的时间都用做提高性能质量。效率就是竞争力啊-Outlook
- 2022-10-02 16:05:02下载
- 积分:1
-
对消息对话框的使用参数使用进行封装
对消息对话框的使用参数使用进行封装 -message box on the parameters used for Packaging
- 2022-01-25 23:45:46下载
- 积分: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
-
grasp of word processing procedures for the preparation, how to customize fonts...
掌握CDC的文字处理程序的编写,如何产生自定义字体和自定义插入符,熟悉对CString类的使用。通过对卡拉OK程序的编写,讲解定时器的使用和DrawText函数的巧妙运用。讲解如何使用CDC的裁减功能。-grasp of word processing procedures for the preparation, how to customize fonts and custom insert website. CString familiar with the right kind of use. By karaoke program, the timer on the use and DrawText function cleverly use. CDC on how to use the reduction of function.
- 2022-03-22 08:53:47下载
- 积分:1