-
用VC++6.0实现“更改图标”对话框
用VC++6.0实现“更改图标”对话框-VC 6.0 "change icon" dialog
- 2022-05-15 18:23:43下载
- 积分: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
-
使用了tab control dde等控件,很不错的界面程序,希望能够帮助大家...
使用了tab control dde等控件,很不错的界面程序,希望能够帮助大家
-use of the tab control dde such controls, the interface is pretty good procedures in the hope that we can help
- 2022-04-09 21:13:50下载
- 积分:1
-
带图像的下拉列表框,可以帮助美化设计!这样已经说的很清楚了撒!...
带图像的下拉列表框,可以帮助美化设计!这样已经说的很清楚了撒!-image with a drop-down list box, landscaping design can help! This has been said very clearly spreading!
- 2022-08-09 08:18:49下载
- 积分:1
-
can drag the window frame without very practical, I feel really good to recommen...
可拖动的无边框窗口,很实用,感觉真的很不错,推荐给大家,希望大家喜欢-can drag the window frame without very practical, I feel really good to recommend to you all and I hope you like them
- 2022-04-12 17:55:57下载
- 积分:1
-
创建2000风格的向导对话框
创建2000风格的向导对话框-create 2000-style Wizard dialog
- 2022-04-13 16:35:59下载
- 积分:1
-
通过窗口句柄得到执行文件名
通过窗口句柄得到执行文件名- Obtains through the window sentence handle carries out the
filename
- 2022-03-24 10:21:17下载
- 积分:1
-
自动调整窗口位置的对话框
自动调整对话框上子窗口显示位置vc-automatically adjust for dialog on the window location vc
- 2023-04-26 22:30:03下载
- 积分:1
-
对话框进行分割视图
对话框进行分割视图
- 2023-03-28 19:35:04下载
- 积分:1
-
outlook样式的MDI窗体,左边为树状目录,右边是要显示的窗体.
outlook样式的MDI窗体,左边为树状目录,右边是要显示的窗体.-outlook style MDI form, the left for the tree, the right to display the form.
- 2023-06-27 20:00:04下载
- 积分:1