-
实现闪烁的标题栏
实现闪烁的标题栏-achieve flashing title bar
- 2022-04-26 11:08:25下载
- 积分:1
-
时见变换写的不错
时见变换写的不错-When written well, see transform
- 2022-03-07 05:10:09下载
- 积分:1
-
非常COOL的登录记录显示控件,同时显示图标和文字
非常COOL的登录记录显示控件,同时显示图标和文字-very COOL login record shows Controls also showed icons and text
- 2023-05-15 16:50: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
-
Vc wrote an imitation developstudio style interface example. Spent cj60lib graph...
一个vc写的仿developstudio界面风格的例子。用了cj60lib图形库-Vc wrote an imitation developstudio style interface example. Spent cj60lib graphics library
- 2022-03-23 20:37:27下载
- 积分:1
-
背景后,在视图窗口的操作程序可以装载…
在程序的运行后在视图窗体的背景上可以加载一个背景图片很好看的啊!-procedures in the operation of the View window after the background can be loaded on a background image to see the good ah!
- 2022-08-17 01:10:26下载
- 积分:1
-
VC开发的属性对话框,可以向vb,delphi一样的属性框。
VC开发的属性对话框,可以向vb,delphi一样的属性框。-VC development of the Properties dialog, to vb, delphi same attributes box.
- 2022-04-27 13:22:02下载
- 积分:1
-
一个滚动条的好例子
一个滚动条的好例子-a good example of the
- 2022-08-08 08:24:32下载
- 积分:1
-
vc开发多种模式的界面显示原程序,给你的程序添加色彩
vc开发多种模式的界面显示原程序,给你的程序添加色彩-vc development of multi-modality interface shows the original procedures, the procedures for you to add color
- 2022-02-26 09:37:48下载
- 积分:1
-
对话框的管理,可用于在一个窗口中显示和管理多个子对话框。...
对话框的管理,可用于在一个窗口中显示和管理多个子对话框。
- 2023-02-24 15:20:03下载
- 积分:1