-
一个华丽的界面
使用方法
方法一:
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
-
一个国产的皮肤库(skinmagic)sdk,没有源代码,但是提供了库文件...
一个国产的皮肤库(skinmagic)sdk,没有源代码,但是提供了库文件--A sdk of skin library (skinmagic ), there is no source code , but have offered library files.
- 2022-02-12 12:48:26下载
- 积分: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
-
显示跟随鼠标的移动显示位置
显示跟随鼠标的移动显示位置-show to follow the movement of the mouse location
- 2022-07-12 09:26:38下载
- 积分:1
-
隐藏或显示您不想看见的窗口
隐藏或显示您不想看见的窗口-hide or show you do not want to see the window
- 2023-03-12 05:40:03下载
- 积分:1
-
CEDraw是WinCE高速图形库。这取决于最新地址。
CEDraw is high speed graphics library in WinCE. It depends on GAPI .
- 2022-10-04 05:40:04下载
- 积分:1
-
一个利用VC开发的制作任意形状对话框的演示程序
一个利用VC开发的制作任意形状对话框的演示程序-a VC development of the production of arbitrary shape dialog Demonstration Program
- 2022-03-31 14:25:36下载
- 积分:1
-
vc标准控件的基本使用,是一套教材上的一个实例,我在学习过程中练手用的,对初学都对对话框和控件的运用有很大作用...
vc标准控件的基本使用,是一套教材上的一个实例,我在学习过程中练手用的,对初学都对对话框和控件的运用有很大作用-vc standards controls the basic use is a textbook example of one, I in the process of learning to practice hand, are for beginners and dialog controls on the use of a significant role
- 2023-08-07 15:15:04下载
- 积分:1
-
采用VC编写的灰度线性变换程序,是一个很好的学习及理解灰度线性变换的资料,同时也可以借此了解VC中对话框的设置...
采用VC编写的灰度线性变换程序,是一个很好的学习及理解灰度线性变换的资料,同时也可以借此了解VC中对话框的设置-VC prepared using gray linear transformation process, is a very good learning and understanding linear gray-scale transform information, but also to learn about the VC in the dialog box settings
- 2022-03-14 11:30:33下载
- 积分:1
-
HTML界面的应用程序,VC7 WindowXP测试
HTML界面应用,VC7 WindowXP 下测试通过-HTML interface applications, VC7 WindowXP tested by
- 2023-04-23 15:45:03下载
- 积分:1