-
这个程序可以使图标文字透明的显示在桌面上
这个程序可以使图标文字透明的显示在桌面上-this procedure can be written to enable transparent icon display on the desktop
- 2022-10-09 03:20:03下载
- 积分:1
-
MFC对话框窗口分割功能实现,主要是用picture控件模拟
MFC对话框窗口分割功能实现,主要是用picture控件模拟-Partition function of MFC dialog window implementation, the main picture controls with Analog
- 2022-01-23 10:06:23下载
- 积分:1
-
Similar statements excel class library, a good reference procedures
类似excel的报表类库,很好的参考程序
-Similar statements excel class library, a good reference procedures
- 2022-06-14 06:58:47下载
- 积分:1
-
VC++实现动态创建对话框
VC++实现动态创建对话框-VC create dynamic dialog
- 2022-05-31 05:11:48下载
- 积分:1
-
定制文件对话框,并显示文本文件的内容。
定制文件对话框,并显示文本文件的内容。-Custom dialog, and that the contents of text files.
- 2023-08-15 03:25: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
-
显示跟随鼠标的移动显示位置
显示跟随鼠标的移动显示位置-show to follow the movement of the mouse location
- 2022-07-12 09:26:38下载
- 积分:1
-
DOIView示例程序中,演示了资源、键盘加速键和弹出式菜单的用法.程序中的文本被存储为一系列字符串资源。DOIView将文本格式化来适应程序窗口,并使用滚动条
DOIView示例程序中,演示了资源、键盘加速键和弹出式菜单的用法.程序中的文本被存储为一系列字符串资源。DOIView将文本格式化来适应程序窗口,并使用滚动条来滚动文本。
-DOIView sample program, presentation resources, keyboard keys, and accelerate the use of pop-up menu. Program text is stored as a series of string resources. DOIView text formatted to adapt to program window, and use the scroll bar to scroll text.
- 2022-02-03 01:19:23下载
- 积分:1
-
简单的绘制图片的程序。可以供初学者使用学习。
简单的绘制图片的程序。可以供初学者使用学习。-Draw a simple picture of the procedure. Can be used for beginners to learn.
- 2022-03-17 10:41:17下载
- 积分:1
-
此自定义位图(图像)预览控件。糟糕的代码。
This custom bitmap(image) preview control. poor code.-This is custom bitmap(image) preview control. poor code.
- 2023-04-02 17:40:03下载
- 积分:1