-
定制的公用对话框
定制的公用对话框-Custom common dialog
- 2022-12-14 16:20:03下载
- 积分:1
-
很多基于对话框的应用程序都是不带框架的,也就是说对话框没有标题栏。众所周知,窗口的移动都是通过鼠标点住标题栏拖动窗口实现的,那么现在没有了标题栏,如何移动对话框...
很多基于对话框的应用程序都是不带框架的,也就是说对话框没有标题栏。众所周知,窗口的移动都是通过鼠标点住标题栏拖动窗口实现的,那么现在没有了标题栏,如何移动对话框-lot of the dialog-based applications are without framework, in other words not the dialog title bar. As we all know, Windows Mobile are living through a click of the mouse drag window title bar to achieve, and then it is no title bar, how mobile dialog
- 2022-02-04 12:29:30下载
- 积分:1
-
在很多情况下,需要弹出一个窗口,用于显示当前操作的进展情况,并允许用户取消操作,这样,就需要如图所示的对话框。...
在很多情况下,需要弹出一个窗口,用于显示当前操作的进展情况,并允许用户取消操作,这样,就需要如图所示的对话框。-In many cases, need to pop up a window that shows the progress of the current operation, and allows the user to cancel the operation, so that the needs of the dialog box as shown.
- 2023-05-14 13:10:03下载
- 积分:1
-
Default schema in a model
Default schema in a model-view-presenter pattern design.
- 2022-08-10 19:53:25下载
- 积分:1
-
This is a family accounts of a statistical system used vc development of a small...
这是一个家庭账目统计系统,用vc开发的小系统。功能比较详细,可以统计每天家庭开销的账目,实用方便。-This is a family accounts of a statistical system used vc development of a small system. More detailed features, the daily statistics of the family expense accounts, practical convenience.
- 2023-04-04 09:05:04下载
- 积分: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实现的,有友好的界面,能够直观的模拟电梯运行的状态...
一个电梯的模拟程序,用VC实现的,有友好的界面,能够直观的模拟电梯运行的状态-an elevator simulation program, VC, a friendly interface, visual simulation to run the state Elevator
- 2022-05-23 12:17:31下载
- 积分:1
-
We group the user interface design for the curriculum design. Simulation realize...
我们组用户界面设计作的课程设计。模拟实现windows桌面-We group the user interface design for the curriculum design. Simulation realize windows desktop
- 2022-02-01 06:11:04下载
- 积分:1
-
巨酷的一个对画框示例
巨酷的一个对画框示例-giant cool one pair of frames Example
- 2022-05-17 16:38:17下载
- 积分:1
-
漂浮控件c#源码,实现简单的漂浮功能,值得学习
漂浮控件c#源码,实现简单的漂浮功能,值得学习-floating c# source control, simple floating function, it is worth learning
- 2022-10-20 21:40:03下载
- 积分:1