-
VC++实现动态创建对话框
VC++实现动态创建对话框-VC create dynamic dialog
- 2022-05-31 05:11:48下载
- 积分:1
-
用vc++实现的放大镜功能的程序,已经有可执行的文件,
用vc++实现的放大镜功能的程序,已经有可执行的文件,-vc used a magnifying glass to achieve the function of procedures, have an enforceable document,
- 2022-07-06 18:06:00下载
- 积分:1
-
这是一个VC的界面分割程序。多个界面View视图可以很方便的进行切换,单个文档可以对应多个视图。...
这是一个VC的界面分割程序。多个界面View视图可以很方便的进行切换,单个文档可以对应多个视图。-This is a VC interface segmentation procedures. View multiple interfaces can easily view the switch, a single document can be more than counterparts View.
- 2022-07-12 21:24:54下载
- 积分:1
-
这是一个彩票号码生成器的小程序,用vc编的,可以随机产生不同的彩票号码,有一定实用价值,界面比较简单。...
这是一个彩票号码生成器的小程序,用vc编的,可以随机产生不同的彩票号码,有一定实用价值,界面比较简单。-This is a lottery number generator of small programs with vc series, can produce different random lottery numbers, a certain practical value, a relatively simple interface.
- 2022-11-04 03:35:03下载
- 积分:1
-
ListCtrl 与 listView 两者之间的交换应用
ListCtrl 与 listView 两者之间的交换应用-Listview ListCtrl and exchange between the two applications
- 2022-04-18 00:54:21下载
- 积分:1
-
网格源代码GridDemo
网格源代码GridDemo-grid source GridDemo
- 2022-03-16 07:19:26下载
- 积分: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
-
本程序是SDI应用程序,实现的功能是将word嵌入到了View区域,注意点是在新建工程时,第三步选择container,其余默认...
本程序是SDI应用程序,实现的功能是将word嵌入到了View区域,注意点是在新建工程时,第三步选择container,其余默认-This program is a SDI application, to achieve the function of the word is embedded into the View area, pay attention to is in the new project, the third step selection container, the rest of the default
- 2022-02-18 15:51:05下载
- 积分:1
-
用tab键代替回车键的例子,共同研究共同学习!
用tab键代替回车键的例子,共同研究共同学习!- Replaces the carriage return key with the tab key the example,
studies together studies together!
- 2022-04-15 01:25:08下载
- 积分:1
-
一个停靠窗口类,可以使窗口停靠在任意位置
一个停靠窗口类,可以使窗口停靠在任意位置-a docked window category, so that the window can be docked at any location
- 2022-01-30 15:43:51下载
- 积分:1