-
用api实现的字形窗体,很有意思,有助于理解api函数
用api实现的字形窗体,很有意思,有助于理解api函数-with api achieve the glyph windows, it is interesting that contribute to the understanding api function
- 2022-04-10 12:46:33下载
- 积分:1
-
当用户改变窗体的大小时,通过这部分代码,窗体内所有控件可以根据窗体的大小自动改变大小及位置。...
当用户改变窗体的大小时,通过这部分代码,窗体内所有控件可以根据窗体的大小自动改变大小及位置。-When the user changes the size of the form through this part of code, the window all the body can control the size of the form automatically change the size and location.
- 2022-07-02 16:25:02下载
- 积分:1
-
除可打开或关闭光驱外,通过延时自动实现光驱门的关闭
除可打开或关闭光驱外,通过延时自动实现光驱门的关闭-may drive open or closed, through the drive automatically delay the closing doors
- 2022-10-02 06:15:03下载
- 积分:1
-
对话框内部打开HTML网页,利用默认浏览器打开网页,利用网页对话框函数打开网页
近期工作需要,在网上找了一些有关在自己程序中显示打开网页的程序,为了方便各...
对话框内部打开HTML网页,利用默认浏览器打开网页,利用网页对话框函数打开网页
近期工作需要,在网上找了一些有关在自己程序中显示打开网页的程序,为了方便各位同仁使用及理解,我把它们重新编写成类,去掉了原先一些没有多大用处的函数,也是为了便于正常使用,一目了然!-Internal dialog box to open HTML pages, using the default browser to open pages using the page to open page dialog function needs work in the near future, in-line to find a number of procedures in their own web pages displayed in open procedures, in order to facilitate the use and understanding of colleagues, I rewrite them into a category, removing the original number of not very useful function, but also in order to facilitate the normal use, at a glance!
- 2022-07-12 19:57:22下载
- 积分:1
-
这个好习惯网格控制。非常有用的。
This good custom gird control. very usefull.-This is good custom gird control. very usefull.
- 2022-03-12 21:09:23下载
- 积分:1
-
can call a window, like Windows Resource Manager window to the left side of the...
一个可以停靠的窗口,像WINDOWS资源管理器左侧的窗口一样。-can call a window, like Windows Resource Manager window to the left side of the same.
- 2022-04-13 02:13:05下载
- 积分:1
-
自定义的通过对话框实现的安装程序向导的程序.
自定义的通过对话框实现的安装程序向导的程序.-custom dialog achieved through the installation wizard procedure.
- 2022-06-13 20:55:36下载
- 积分: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
-
根据姓名测男女的缘分.输入男女双方的姓名,计算得出结论.不可不信缘....
根据姓名测男女的缘分.输入男女双方的姓名,计算得出结论.不可不信缘.-test men and women under the name of fate. Input the names of both men and women, calculated conclusions. Letters must be fate.
- 2022-05-17 20:14:23下载
- 积分:1
-
MFC的单文档多视图切换的关键代码。
程序结构比较简单,便于初学者学习。...
MFC的单文档多视图切换的关键代码。
程序结构比较简单,便于初学者学习。-MFC single document multi-view the key code switch. The procedure is relatively simple structure, easy for beginners to learn.
- 2022-03-12 14:33:56下载
- 积分:1