-
总结了非
总结了非模式对话框与父窗口进行数据交换的各种方法。-Summed up the non-modal dialog with the parent window, the various methods for data exchange.
- 2022-03-12 05:58:53下载
- 积分:1
-
hey its all about the 4+1 software architecture
hey its all about the 4+1 software architecture
- 2022-01-28 02:22:24下载
- 积分:1
-
这可不是一个一般的对话框,它是用图片作为背景的对话框,非常好看。...
这可不是一个一般的对话框,它是用图片作为背景的对话框,非常好看。-This is not an ordinary box, which is used as a background picture of the dialog box, very pretty.
- 2022-02-07 05:29:45下载
- 积分:1
-
一个得意的对话框程序,主要对VC中控件的熟悉,主要功能是显示对话框、用对话框运行程序、控件与变量之间的相关联...
一个得意的对话框程序,主要对VC中控件的熟悉,主要功能是显示对话框、用对话框运行程序、控件与变量之间的相关联--A self-satisfied program about dialog box, it`s helpful to learn VC controls, its main function is showing a dialog box, running through dialog box, and inter-relations between control and variables
- 2023-05-19 18:25:03下载
- 积分:1
-
创建一个无边框窗口,同时这个窗口又可以在任务栏上?这个代码提供了方法...
创建一个无边框窗口,同时这个窗口又可以在任务栏上?这个代码提供了方法 -without creating a window frame, the window can be on the task bar? This code provides a method
- 2022-06-14 19:48:09下载
- 积分:1
-
除可打开或关闭光驱外,通过延时自动实现光驱门的关闭
除可打开或关闭光驱外,通过延时自动实现光驱门的关闭-may drive open or closed, through the drive automatically delay the closing doors
- 2022-10-02 06:15: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
-
进度条的使用实例 ``` ```
进度条的使用实例 ``` ```
-The progress bar the use of examples of `` ```` `` ````
- 2022-01-26 00:47:03下载
- 积分:1
-
Automatically seeks the threshold value, the realization
picture division. Very...
自动寻找阈值,实现图像分割。很好用啊!VC 编写!- Automatically seeks the threshold value, the realization
picture division. Very easy to use! VC compilation!
- 2023-09-09 01:40:04下载
- 积分:1
-
支持snmp三种协议,可通过mib树获得代理信息
支持snmp三种协议,可通过mib树获得代理信息-Snmp support three types of agreement can be obtained through the mib tree agent information
- 2023-08-26 10:40:04下载
- 积分:1