-
Dialog box is mainly used to achieve the realization of the functions of Notepad...
主要是实现用对话框实现记事本的功能,可以实现文件的打开,保存,对字体和颜色的修改-Dialog box is mainly used to achieve the realization of the functions of Notepad, the document can open, save, and modify fonts and colors
- 2022-08-17 00:35:34下载
- 积分:1
-
激活非
激活非当前运行的窗口-activated non-current operation of the window
- 2022-02-16 03:03:27下载
- 积分:1
-
一个Winmap的外置插件的例子,有兴趣的可以研究研究
一个Winmap的外置插件的例子,有兴趣的可以研究研究--he example of the external plug-in package of one Winmap, recommend
- 2023-01-04 04:55:03下载
- 积分:1
-
Font Previewer 系统字体预览工具
Font Previewer 系统字体预览工具-Font Previewer system font preview tool
- 2022-03-09 22:55:40下载
- 积分:1
-
Visual C++ 开发的基础上用A*算法实现自动拼图。开发语言用的是...
Visual C++ 开发的基础上用A*算法实现自动拼图。开发语言用的是-Visual C++ Developed based on the use of A* algorithm for automatic puzzle. Development language used is
- 2022-08-14 14:16:52下载
- 积分: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
-
基本使用说明如下:
1、文件夹中均为MATLAB软件M文件程序;
2、程序文件为每一章节中例题的MATLAB程序电子版,程序名与例题名序号相对应;...
基本使用说明如下:
1、文件夹中均为MATLAB软件M文件程序;
2、程序文件为每一章节中例题的MATLAB程序电子版,程序名与例题名序号相对应;
3、此文件夹中的程序已经经过调试,在MATLAB 7.0或以上版本中均可以正常运行;
4、程序头中功能介绍了此程序的主要实现的功能。-Basic instructions are as follows: 1, Folder M in both MATLAB software documentation procedures 2, the program file for each chapter in the Example of the electronic version of the MATLAB program, the program name and serial number that corresponds to the name Example 3, in this folder The process has been debugging, in MATLAB 7.0 or above in both the normal operation can be 4, the program features first introduced this program in the main implementation features.
- 2022-01-25 23:28:33下载
- 积分:1
-
XmessageBox version 1.8, updated: 30 Nov 2008
XmessageBox的1.8版本,更新时间:30 Nov 2008
-XmessageBox version 1.8, updated: 30 Nov 2008
- 2022-06-01 00:45:15下载
- 积分:1
-
This example can increase the CFileDialog a button
这个例子能够在CFileDialog中增加一对按纽-This example can increase the CFileDialog a button
- 2022-04-27 23:49:48下载
- 积分:1
-
一个用VC编的设置字体的小程序,可以设置界面上任何文字的字体....
一个用VC编的设置字体的小程序,可以设置界面上任何文字的字体.-an addendum to the VC set up procedures for small fonts can be installed in any language interface fonts.
- 2022-04-19 07:49:49下载
- 积分:1