-
prevent IE pop
阻止IE弹出窗口的源代码 是一款全新的源代码-prevent IE pop-up source code is a brand new source code
- 2022-10-16 20:40:03下载
- 积分:1
-
一个很漂亮的dialog的用户界面,值得参考!
一个很漂亮的dialog的用户界面,值得参考!-A very nice user interface dialog, it is also useful!
- 2023-06-26 19:25:03下载
- 积分:1
-
源码实现了利用多文档视图结构,实现了多个对话框的显示
源码实现了利用多文档视图结构,实现了多个对话框的显示-Realize the use of multi-source view of the structure of the document to achieve a number of dialog box display
- 2022-07-12 13:09:12下载
- 积分:1
-
显示/隐藏所有窗口
显示/隐藏所有的窗口-Show/Hide all the window
- 2023-04-30 15:45: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
-
拖动滚动条实现对话框的移动及对话框上控件的移动,而不会出现闪烁现象。利用此原理,可实现控件的无闪烁移动。...
拖动滚动条实现对话框的移动及对话框上控件的移动,而不会出现闪烁现象。利用此原理,可实现控件的无闪烁移动。-Drag the scroll bar to achieve the dialog dialog controls movement and the movement, with no flicker. Take advantage of this principle, can realize the control flicker-free movement.
- 2022-05-26 15:54:54下载
- 积分:1
-
一个很好用的皮肤
一个很好用的皮肤-a good use of the skin
- 2022-03-17 18:36:42下载
- 积分:1
-
不规则对话框的实现
不规则对话框的实现-the realization of irregular box
- 2022-11-24 19:20:03下载
- 积分:1
-
倾斜校正,可以简单的对倾斜度不高的图像进行纠正。
倾斜校正,可以简单的对倾斜度不高的图像进行纠正。-Tip-tilt correction, you can simply not high on the inclination to correct the image.
- 2022-08-16 02:58:15下载
- 积分:1
-
另一种风格的Docking Windows 很适合界面编程者使用~
另一种风格的Docking Windows 很适合界面编程者使用~-different style Docking Windows programming interface is suitable for use ~
- 2022-01-26 03:46:22下载
- 积分:1