-
利用grep工具在MFC对话框应用程序中实现查询功能。
利用grep工具在MFC对话框应用程序中实现查询功能。-Grep tool use MFC dialog box in the realization of the inquiry process.
- 2022-02-04 13:59:14下载
- 积分:1
-
C++编写的支持DirectX的窗体控件,十分具有特色。可以作为其他控件的容器。...
C++编写的支持DirectX的窗体控件,十分具有特色。可以作为其他控件的容器。-C++ control , supports directx
- 2022-07-09 12:04:32下载
- 积分:1
-
VC realize the transparent window, load a bitmap, the desktop has a random displ...
VC实现的透明窗口,加载一个位图,有桌面上随机显示-VC realize the transparent window, load a bitmap, the desktop has a random display
- 2022-09-03 01:30:03下载
- 积分: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
-
一个华丽的界面
使用方法
方法一:
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
-
计算器雏形,没有做MFC,正在尝试用QT做界面
计算器雏形,没有做MFC,正在尝试用QT做界面-the simple computer with DOS.it s tring to use Qt making a GUI.
- 2022-01-25 18:04:04下载
- 积分:1
-
在MFC画圆。
To draw circle in MFC.
Inputting number s circle with color on dialog, after that program will draw circles consecutive with diameter equal.
- 2023-08-20 01:30:04下载
- 积分:1
-
barrys Multi Views
barrys Multi Views
- 2022-05-05 08:45:23下载
- 积分:1
-
这个程序可以改变MDI窗口框架的颜色,通过编译
这个程序可以改变MDI窗口框架的颜色,通过编译-This procedure can change the color of MDI frame window, through the compiler
- 2022-02-07 05:38:33下载
- 积分:1
-
报表控件类,我把它放在VC6下也能用,做一个时间。
一个报表类控件,我把它转化到VC6也可以用,对于做显示文档有一定参考意义.-A report class control, I put it into the VC6 can also be used, for doing a certain reference value to display the document.
- 2022-07-26 22:25:57下载
- 积分:1