-
让滚动条不再是WINDOWS默认的淡蓝色,改编成自己喜欢的颜色。...
让滚动条不再是WINDOWS默认的淡蓝色,改编成自己喜欢的颜色。-Let WINDOWS scroll bar is no longer the default light blue, turned into their favorite color.
- 2023-01-09 00:45:03下载
- 积分:1
-
这是一个基于MFC框架下改变窗口背景颜色的代码,希望对于初学者有一定的帮助...
这是一个基于MFC框架下改变窗口背景颜色的代码,希望对于初学者有一定的帮助-This is a framework based on MFC to change the background color of the code window, hoping for some help for beginners
- 2023-07-03 13:25:04下载
- 积分:1
-
在文本框中填入4位正数,可倒序将其排列,并可自动退出
在文本框中填入4位正数,可倒序将其排列,并可自动退出-Fill in the text box 4 positive, can reverse their order, and automatically withdraw from the
- 2022-03-07 09:50:46下载
- 积分:1
-
VC中的消息发送的一个例子,想对话框上的控件发送信息。
VC中的消息发送的一个例子,想对话框上的控件发送信息。-an example of sending messages in the VC.
- 2022-05-22 18:41:23下载
- 积分:1
-
一个演示使用ImageList切换应用程序在windows状态栏上显示的对话框图标的程序。(演示如何动态更改对话框的标题图标)...
一个演示使用ImageList切换应用程序在windows状态栏上显示的对话框图标的程序。(演示如何动态更改对话框的标题图标)-a demonstration using ImageList switching applications in windows status bar icon shows the dialog box procedure. (A demonstration of how dynamic changes in the dialog box title icon)
- 2022-12-27 04:20: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
-
在本例中,我们将制作一个利用CfileDialog类弹出“打开”对话筐的应用程序。...
在本例中,我们将制作一个利用CfileDialog类弹出“打开”对话筐的应用程序。-in this case, We will make use of a pop-up CfileDialog category "open" dialogue basket applications.
- 2022-07-13 18:11:49下载
- 积分:1
-
简单的绘制图片的程序。可以供初学者使用学习。
简单的绘制图片的程序。可以供初学者使用学习。-Draw a simple picture of the procedure. Can be used for beginners to learn.
- 2022-03-17 10:41:17下载
- 积分:1
-
界面相关的OCX控件,可以改变对话框的大小和放大功能。
界面相关的OCX控件,可以改变对话框的大小和放大功能。-Interface related OCX control, can change the dialog size and amplification.
- 2023-08-03 15:55:03下载
- 积分:1
-
an MFC XP interface resembles the style of the dialog box procedure, very pretty
一个MFC下的酷似XP界面风格的对话框程序,非常漂亮-an MFC XP interface resembles the style of the dialog box procedure, very pretty
- 2022-02-01 18:07:40下载
- 积分:1