-
一个自己定义的listctrl,动态的嵌入editbox和CButtton,欢迎大家使用。...
一个自己定义的listctrl,动态的嵌入editbox和CButtton,欢迎大家使用。-Own definition of a listctrl, dynamic embedded editbox and CButtton, welcome everyone to use.
- 2023-07-13 02:55:02下载
- 积分:1
-
PowerWord prepared like a beautiful window, VC Programming, irregular implementa...
仿金山词霸编写的优美窗口,VC编程实现,不规则窗口实现方法!-PowerWord prepared like a beautiful window, VC Programming, irregular implementation window!
- 2022-08-03 22:39:06下载
- 积分:1
-
一个在SDI环境下切换不同视图的例子,有MDI视图切换的效果。...
一个在SDI环境下切换不同视图的例子,有MDI视图切换的效果。-A switch in the SDI environment examples of different views, have the effect of switching MDI view.
- 2022-01-21 20:15:10下载
- 积分:1
-
- 2022-06-17 11:12:25下载
- 积分:1
-
Can draw geometry, with preview dialog box, just perfect
可以画几何图形,有预览的对话框,只需完善-Can draw geometry, with preview dialog box, just perfect
- 2023-07-15 06:35:05下载
- 积分: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
-
similar alpha, Ziguang Pinyin "Preferences" dialog style
类似 WINAMP,紫光拼音的“参数设置”风格对话框 -similar alpha, Ziguang Pinyin "Preferences" dialog style
- 2022-02-12 14:09:16下载
- 积分:1
-
有了Office XP
给出了一个具有Office XP风格的菜单的基于框架类(CFrameWnd)的应用程序-have given an Office XP-style menu based on the framework of the category (CFrameWnd) applications
- 2022-02-21 02:46:17下载
- 积分:1
-
窗口开发 C 语言源程序,自己做的,大家
窗口开发 C 语言源程序,自己做的,大家-window C language source development, they do, we look at
- 2022-01-26 18:07:19下载
- 积分:1
-
这是一个在VC++.net下编译的程序,它可以绘出多种基本图形
这是一个在VC++.net下编译的程序,它可以绘出多种基本图形-This is one of the VC. Net, using the procedure, it can draw many basic graphics
- 2022-08-06 18:53:46下载
- 积分:1