-
示范如何制作 OLE 组件跨越不同程序间拖放的程序。需要对微软的COM及OLE比较熟悉。 有完整的文档和代码。...
示范如何制作 OLE 组件跨越不同程序间拖放的程序。需要对微软的COM及OLE比较熟悉。 有完整的文档和代码。-demonstration how to make OLE components across different procedures between drag and drop procedure. The need for Microsoft"s COM and OLE more familiar with. A complete documentation and code.
- 2022-07-11 16:25:42下载
- 积分: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
-
windows编程基础程序。创建windows窗口和基本绘图。
windows编程基础程序。创建windows窗口和基本绘图。-the basis of windows programming procedures. Create a windows window and basic graphics.
- 2022-01-27 18:31:50下载
- 积分:1
-
A popup window containing a progress Contr ol and cancel button
A popup window containing a progress control and cancel button - no resource file ne-A popup window containing a progress Contr ol and cancel button-no resource file ne
- 2022-10-12 13:25:02下载
- 积分:1
-
vc++编译器应用向导只能生成规则的矩形窗体,但是不能生成不规则的窗体,本文通过一个实例介绍如何做一个不规则窗体,通过这个例子,大家可以进一步做成一个桌面宠物...
vc++编译器应用向导只能生成规则的矩形窗体,但是不能生成不规则的窗体,本文通过一个实例介绍如何做一个不规则窗体,通过这个例子,大家可以进一步做成一个桌面宠物-vc Application Wizard compiler can generate the rules of rectangular windows, but not generating irregular forms, the paper through an example of how to do an irregular forms, through this example, you can create a desktop for further pets
- 2023-01-10 14:05:03下载
- 积分:1
-
VC large multi
VC++大型程序多窗口程序构架源码,最好的VC++程序设计-VC large multi-window procedure procedures source framework, the best VC Program Design
- 2023-03-15 01:20:03下载
- 积分:1
-
利用VC制作彩色对话框,可以制作赏心悦目的对话框
利用VC制作彩色对话框,可以制作赏心悦目的对话框-VC production color dialog, the dialog produced pleasing
- 2022-01-24 12:52:09下载
- 积分:1
-
wtl多文档视图例子
wtl多文档视图例子-WTL view examples of multi-document
- 2022-01-25 22:35:53下载
- 积分:1
-
仿新浪自定义弹出层提示对话框来自网络上的好源码
仿新浪自定义弹出层提示对话框来自网络上的好源码-Imitation Sina custom pop-up dialog box prompts from the network layer of a good source
- 2023-04-16 00:00:03下载
- 积分:1
-
Modbus通信软件的源代码,供大家参考学习
一个MODBUS的通讯软件源代码,供大家参考学习-A MODBUS communications software source code, for your reference learning
- 2022-03-21 17:02:50下载
- 积分:1