-
MFC对话框实现均匀和指数分布 并输出实际期望和方差
MFC对话框实现均匀和指数分布 并输出实际期望和方差-MFC dialog to achieve uniform and exponential distribution
- 2023-05-16 10:05:03下载
- 积分:1
-
CBrowseCtrl
CBrowseCtrl - Adding File/Folder-Browse Features to Your Projects Easily A file/folder browsing control that integrates an editbox and a button with built-in images. -CBrowseCtrl- Adding File/Folder-Browse Features to Your Projects Easily A file/folder browsing control that integrates an editbox and a button with built-in images.
- 2022-07-14 16:46:38下载
- 积分:1
-
一个可以设置密码的多文档程序,画图和右键响应都有。设置了可以修改的字体,相应参数可以修改。...
一个可以设置密码的多文档程序,画图和右键响应都有。设置了可以修改的字体,相应参数可以修改。-can set a password more documentation procedures, and the right response to the class has. Set the font can be changed, the corresponding parameters can be amended.
- 2022-02-12 22:05:27下载
- 积分: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
-
这个演示是从lt;lt;MFC anwswer bookgt;gt;,程序显示如何变化…
This demo is from > , Program show to how to change the data of document programmably.-This demo is from lt;lt; MFC anwswer bookgt;gt; , Program show to how to change the data of document programmably.
- 2022-05-17 09:16:45下载
- 积分:1
-
the code demonstrated how the use of window
本代码演示了如何利用窗口子类化技术隐藏系统图标-the code demonstrated how the use of window-type technology icon hidden system
- 2022-07-15 08:22:52下载
- 积分:1
-
显示/隐藏所有窗口
显示/隐藏所有的窗口-Show/Hide all the window
- 2023-04-30 15:45:03下载
- 积分:1
-
一个在对话框中加CHtmlView的例子
一个在对话框中加CHtmlView的例子--An example of adding CHtmlView to dialog box
- 2023-08-07 02:00:03下载
- 积分:1
-
显示一个形状不规则的对话框, 非常酷哦!
显示一个形状不规则的对话框, 非常酷哦!-Display a dialog box irregularly shaped, very cool, oh!
- 2022-12-18 15:15:03下载
- 积分:1
-
通过SMTP协议发送邮件程序。另外,还可以通过COM接口参数进行发送。...
通过SMTP协议发送邮件程序。另外,还可以通过COM接口参数进行发送。-through the SMTP protocol to send e-mail programs. In addition, through the COM interface parameters of this.
- 2022-02-02 00:28:02下载
- 积分:1