-
一个可以使文字象波浪一样在窗口滚动的代码,可以调节滚动的速度,也可以改变要滚动的文本,很有意思。...
一个可以使文字象波浪一样在窗口滚动的代码,可以调节滚动的速度,也可以改变要滚动的文本,很有意思。-one can make waves in the same language as the code window rolling, rolling regulating the speed, can also be changed to a rolling text, very interesting.
- 2022-06-03 20:15:31下载
- 积分:1
-
对话框内部打开HTML网页,利用默认浏览器打开网页,利用网页对话框函数打开网页
近期工作需要,在网上找了一些有关在自己程序中显示打开网页的程序,为了方便各...
对话框内部打开HTML网页,利用默认浏览器打开网页,利用网页对话框函数打开网页
近期工作需要,在网上找了一些有关在自己程序中显示打开网页的程序,为了方便各位同仁使用及理解,我把它们重新编写成类,去掉了原先一些没有多大用处的函数,也是为了便于正常使用,一目了然!-Internal dialog box to open HTML pages, using the default browser to open pages using the page to open page dialog function needs work in the near future, in-line to find a number of procedures in their own web pages displayed in open procedures, in order to facilitate the use and understanding of colleagues, I rewrite them into a category, removing the original number of not very useful function, but also in order to facilitate the normal use, at a glance!
- 2022-07-12 19:57:22下载
- 积分:1
-
蜘蛛工具地方放行扶过关系户郭富关宏达亚法规;据估计
蜘蛛工具地方放行扶过关系户郭富关宏达亚法规;据估计-spider tool released to help local families Guo Guo relations Acer tsunami customs regulations; It is estimated
- 2022-01-25 15:33:00下载
- 积分:1
-
这个类实现字幕滚动效果,附带子程序。可以改变背景色、前景色,字体,设置滚动快慢等。这是一个不可多得的类。...
这个类实现字幕滚动效果,附带子程序。可以改变背景色、前景色,字体,设置滚动快慢等。这是一个不可多得的类。-subtitles rolling effect, fringe subroutine. Can change the background color, foreground color, fonts, set up a rolling speed. This is a rare category.
- 2022-07-10 16:33:44下载
- 积分:1
-
创建一个不可关闭的对话框
创建一个不可关闭的对话框-not create a closed box
- 2023-03-06 14: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
-
动态创建并显示对话框,无需先生成好资源。
动态创建并显示对话框,无需先生成好资源。-Dynamically create and display the dialog box without Mr. resources into good.
- 2023-05-04 15:35:02下载
- 积分:1
-
MDI生成切分窗口,并相互调用。 ◎MFC生成MDI程序框架,并允许切分窗口。 ◎静态生成左右两个切分窗口,分别与视图类CLeftView、CRightView...
MDI生成切分窗口,并相互调用。 ◎MFC生成MDI程序框架,并允许切分窗口。 ◎静态生成左右两个切分窗口,分别与视图类CLeftView、CRightView建立关联。 ◎生成DialogBar,在DialogBar中添加Copy按钮和Clear按钮。 ◎在左侧的切分窗口中可以手动画线。点击Copy按钮可以将已经画的线拷贝到右侧切分窗口中,点击Clear按钮将左右窗口清空。-MDI production segmentation window, and call each other. MFC generation MDI procedural framework, and allow segmentation window. static generated about two split window, with the category CLeftView View, CRightView establish linkages. DialogBar generation, in addition DialogBar Copy button and the Clear button. cut in the left-hand window can be animated line. Click on the Copy button to draw the line has been copied to the right segmentation window, click on the Clear button to clear the window around.
- 2022-02-14 11:01:41下载
- 积分:1
-
ListCtrl 与 listView 两者之间的交换应用
ListCtrl 与 listView 两者之间的交换应用-Listview ListCtrl and exchange between the two applications
- 2022-04-18 00:54:21下载
- 积分:1
-
C++编写的支持DirectX的窗体控件,十分具有特色。可以作为其他控件的容器。...
C++编写的支持DirectX的窗体控件,十分具有特色。可以作为其他控件的容器。-C++ control , supports directx
- 2022-07-09 12:04:32下载
- 积分:1