-
Device descriptor table and graphic objects, familiar with the CDC
设备描述表和图形对象,熟悉CDC的派生类-Device descriptor table and graphic objects, familiar with the CDC-derived classes
- 2022-01-26 06:25:00下载
- 积分:1
-
简单的对话框应用 visual c++ 6.0
简单的对话框应用 visual c++ 6.0 -Application of a simple dialog box visual c++ 6.0
- 2022-06-13 07:38:53下载
- 积分:1
-
这个程序可以使图标文字透明的显示在桌面上
这个程序可以使图标文字透明的显示在桌面上-this procedure can be written to enable transparent icon display on the desktop
- 2022-10-09 03: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
-
在文本框中填入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
-
windows application, the basic framework, and only a blank window and a blank di...
windows应用程序基本框架,只有空白的窗口和空白的对话框。适合初学者学习API编程,并在此基础上添加代码开发自己的窗口应用程序-windows application, the basic framework, and only a blank window and a blank dialog box. API suitable for beginners to learn programming, and on this basis, add the code to develop their own application window
- 2022-07-15 12:22:12下载
- 积分:1
-
自定义热键操作,可与控制chotkeyctrl相关
自定义热键操作,可与CHotKeyCtrl控件关联-Custom hotkey operation, may be associated with the control CHotKeyCtrl
- 2022-02-01 22:59:49下载
- 积分:1
-
一个消息对话框,在右下角的屏幕上平滑的对话框。
一种信息提示对话框,在屏幕的右下角平滑弹出信息提示对话框。-A message dialog box, in the lower right corner of the screen Smoothing dialog box pop-up message.
- 2022-06-17 17:43:13下载
- 积分:1
-
换肤可以使用窗口
可以换肤的窗体使用-Eurocargo can use the Window
- 2022-03-31 09:15:31下载
- 积分:1
-
《座在窗子上的MM》源程序,用易语言写的
《座在窗子上的MM》源程序,用易语言写的-"in the window seat on the MM," the source, easy to use written language
- 2022-03-25 16:34:53下载
- 积分:1