-
GardenUI的源码,很实用的
GardenUI的源码,很实用的-GardenUI the source, it is useful
- 2022-04-23 21:28:19下载
- 积分:1
-
告诉你如何轻松地更换皮肤的程序,这个程序见
告诉你怎么轻松地更换程序的皮肤,此程序值得一看-Tell you how to easily replace the procedures of the skin, this procedure see
- 2022-07-15 00:38:08下载
- 积分:1
-
自定义热键操作,可与控制chotkeyctrl相关
自定义热键操作,可与CHotKeyCtrl控件关联-Custom hotkey operation, may be associated with the control CHotKeyCtrl
- 2022-02-01 22:59:49下载
- 积分:1
-
切分对话框; 动态切分对话框;
切分对话框; 动态切分对话框; -Segmentation dialog box dynamic segmentation dialog
- 2022-02-03 16:07:51下载
- 积分:1
-
一个典型的无模式对话框供大家使用哦,想做无模式对话框的请参考。...
一个典型的无模式对话框供大家使用哦,想做无模式对话框的请参考。-A typical non-modal dialog box for everyone to use Oh, want to Modeless Dialog please reference.
- 2023-04-08 18:05:03下载
- 积分:1
-
This demo is from << MFC anwswer book>> , Program show to how to exp...
This demo is from > , Program show to how to expand your dialog or hide part of dialog. -This demo is from lt;lt; MFC anwswer bookgt;gt; , Program show to how to expand your dialog or hide part of dialog.
- 2023-05-27 22:15:08下载
- 积分:1
-
win32 编辑中字体的应用,修改对话框中的字体。
win32 编辑中字体的应用,修改对话框中的字体。-win32 font editing application, modify the Font dialog box.
- 2022-02-06 23:41:32下载
- 积分:1
-
simply use the C# data and graphical interface connection.
简单的使用C#的数据和图形界面的连接.-simply use the C# data and graphical interface connection.
- 2022-11-10 02:05:03下载
- 积分:1
-
windows api 开发的多视图记事本,代码结构清晰,有利于学习和掌握win api消息处理机制。...
windows api 开发的多视图记事本,代码结构清晰,有利于学习和掌握win api消息处理机制。-windows api development of the Multi-View notebook, a clear code structure is conducive to learning and mastering win api information processing mechanism.
- 2022-05-22 16:31:38下载
- 积分: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