-
CLayeredWindowHelperST category is shown support transparent box packaging categ...
CLayeredWindowHelperST类是支持显示透明对话框的封装类。-CLayeredWindowHelperST category is shown support transparent box packaging category.
- 2023-03-04 23:00:03下载
- 积分:1
-
动态改变窗口和控件大小的开发包,控件随窗口大小动态改变
动态改变窗口和控件大小的开发包,控件随窗口大小动态改变-Dynamic changes in the size of the window and control the development package, control the dynamic change with window size
- 2022-04-14 18:01:58下载
- 积分:1
-
仿蚂蚁界面,有动态的小球滚动进度条,可换成其它图形!
仿蚂蚁界面,有动态的小球滚动进度条,可换成其它图形!-fake ants interface, dynamic small ball rolling progress, could be replaced by other graphics!
- 2022-08-03 03:24:06下载
- 积分:1
-
MDI生成切分窗口,并相互调用。 ◎MFC生成MDI程序框架,并允许切分窗口。 ◎静态生成左右两个切分窗口,分别与视图类CLeftView、CRightView...
MDI生成切分窗口,并相互调用。 ◎MFC生成MDI程序框架,并允许切分窗口。 ◎静态生成左右两个切分窗口,分别与视图类CLeftView、CRightView建立关联。 ◎生成DialogBar,在DialogBar中添加Copy按钮和Clear按钮。 ◎在左侧的切分窗口中可以手动画线。点击Copy按钮可以将已经画的线拷贝到右侧切分窗口中,点击Clear按钮将左右窗口清空。-MDI production segmentation window, and call each other. MFC generation MDI procedural framework, and allow segmentation window. static generated about two split window, with the category CLeftView View, CRightView establish linkages. DialogBar generation, in addition DialogBar Copy button and the Clear button. cut in the left-hand window can be animated line. Click on the Copy button to draw the line has been copied to the right segmentation window, click on the Clear button to clear the window around.
- 2022-02-14 11:01:41下载
- 积分:1
-
通过对话框窗口进行上下文帮助,以完善程序
通过对话框窗口进行上下文帮助,以完善程序-dialog window
- 2023-08-07 20:00:04下载
- 积分:1
-
此程序演示了一段用VB编写的窗体颜色渐变的功能,渐变色可在程序中自行修改~...
此程序演示了一段用VB编写的窗体颜色渐变的功能,渐变色可在程序中自行修改~-This program demonstrates some form of the function of the color gradient, gradient colors can be modified in the program itself ~
- 2022-11-17 01:05:03下载
- 积分:1
-
一个通用配置对话框的例子,可以作为全局的配置窗口的例子...
一个通用配置对话框的例子,可以作为全局的配置窗口的例子--An example of common config dialog box,it can be used as the example of global config windows
- 2022-03-07 10:37:39下载
- 积分:1
-
该程序改变了对话框的以及按钮的样式,可以在两个不同对话框样式之间进行交换!...
该程序改变了对话框的以及按钮的样式,可以在两个不同对话框样式之间进行交换!-the program changed and the dialog button style, in two different forms of the dialog between the exchange!
- 2022-06-21 12:05:30下载
- 积分:1
-
A detailed introduction on how to interview programmers book, very detailed, als...
一本详细介绍程序员该如何面试的书,非常详细,还包括英语面试。-A detailed introduction on how to interview programmers book, very detailed, also includes the English interview.
- 2022-08-03 05:31:39下载
- 积分: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