-
此小程序,通过简单的函数实现了窗口的动画效果,对菜鸟熟悉VC++编程很有帮助...
此小程序,通过简单的函数实现了窗口的动画效果,对菜鸟熟悉VC++编程很有帮助-This small procedure, through a simple function of the realization of the window animation effects, on the rookie familiar VC++ Programming helpful
- 2022-02-01 16:20:34下载
- 积分:1
-
《Visual C++系统开发实例精粹》源码
《Visual C++系统开发实例精粹》源码
- 2022-12-12 05:25:03下载
- 积分:1
-
实现类似Excel和Visual C++里文件夹式样的标签控制(三),这是这个系列的第三个例子,完整的在单文档下实现了文件夹样式的标签控制...
实现类似Excel和Visual C++里文件夹式样的标签控制(三),这是这个系列的第三个例子,完整的在单文档下实现了文件夹样式的标签控制-And achieve a similar Excel in Visual C++ Tab style folders control (three), this series This is the third example, a complete implementation in a single document under a folder-style tags to control
- 2022-08-21 22:29:04下载
- 积分:1
-
led灯的制作,可以制作闪烁的多色显示等,增加界面的美观性。...
led灯的制作,可以制作闪烁的多色显示等,增加界面的美观性。-led to the production of light, can be produced flashing multicolor display, increase the beauty of the interface.
- 2022-12-07 23:10:04下载
- 积分:1
-
简单的模仿window系统自带计算其程序,可能有些功能还没有,但做好的跟系统自带的很相似哦...
简单的模仿window系统自带计算其程序,可能有些功能还没有,但做好的跟系统自带的很相似哦-simple imitation window system to calculate their own procedures, some features may not, but to do the job with the onboard system is very similar to oh
- 2023-03-14 21:45:03下载
- 积分:1
-
DIALOG
可以画点 直线 椭圆
改变dialog控件的颜色 背景颜色等-DIALOG
- 2022-03-13 16:08:31下载
- 积分: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
-
选择文件夹,得到列表。提供给大家一个可以改善的例子,出于不同的需要可以进行改动...
选择文件夹,得到列表。提供给大家一个可以改善的例子,出于不同的需要可以进行改动-choose folders, get list. For everyone can improve an example for the different needs can be altered
- 2022-01-25 16:51:20下载
- 积分:1
-
Dialog box to create a view, realize scroll the display view, view as a window f...
对话框中创建视图,实现滚动视图的显示,充分理解视图作为窗口的意义-Dialog box to create a view, realize scroll the display view, view as a window fully understand the significance of
- 2022-02-13 12:33:50下载
- 积分:1
-
一个全屏显示的例子
一个全屏显示的例子--One class similar time-recorder(very beautiful ) , with beautiful roll bar to cooperate the advancing of time,recommend.
- 2022-06-20 22:46:30下载
- 积分:1