-
窗口更改控件属性
子窗体按钮可以改变父窗体某一图片,试验成功(The child form button can change a picture of the parent form. The experiment is successful.)
- 2020-06-22 06:40:01下载
- 积分:1
-
BTM
自定义半透的遮罩层。 使页面更加好看,漂亮。(Custom semipermeable mask layer. Make the page more attractive and beautiful.)
- 2013-08-10 14:43:15下载
- 积分:1
-
grid wnd
一个用VC++6.0编写的表格控件,类似于Excell的表格控件。(a VC 6.0 forms prepared by the control, similar to the Excel tables controls.)
- 2005-04-09 18:51:45下载
- 积分:1
-
TabControlEX
一个TabControl控件,比net自带的要方便很多!有源代码!(A TabControl control over the net comes a lot easier! Source code!)
- 2013-11-22 00:30:36下载
- 积分:1
-
testprog
一个简单好用的进度条例子程序
vc++开发
可以在此基础上增加自绘功能(An easy-to-use progress Ordinance the subroutine vc++ development to increase self-drawn on this basis)
- 2012-08-07 16:25:25下载
- 积分:1
-
wordoperator
说明: vc6.0环境下操作word文档,读取word文档内容。(Word document operation in VC6.0 environment.)
- 2019-05-31 15:18:20下载
- 积分:1
-
SDocDemo
使用单文档应用程序框架实现简单的屏幕绘图程序实例源码,很不错的vc源码,希望能对大家有所帮助(Single-document application framework to implement a simple screen drawing program source code examples, very good vc source, I hope you can help)
- 2011-08-26 21:07:19下载
- 积分:1
-
CComboBoxCheck
CCombox控件的美化,模拟QQ登录界面中的CCombox控件,增加了关闭按钮。(CCombox control landscaping, simulation QQ login interface in the CCombox control, increase the close button.)
- 2013-05-05 22:40:06下载
- 积分:1
-
ZNodes
说明: qt中提供了QGphicsView,QGraphicsScene,QGraphicsItem,QGraphicsPixmapItem是QGraphicsItem的子类
分辨创建它们的实例:view,scene,item,然后通过各自的方法scene->addItem(item);view->setScene(scene);就可以达到类似下图的效果,想要进一步定制,则要继承QGraphicsItem或QGraphicsPixmapItem,然后重写paint()、boundingRect()等方法,此外如果还想要获取鼠标事件,重写mousePressEvent等事件就好了,注意,一旦重写了mousePressEvent方法,就以为了qt不会再自动处理item的任何press事件了,可以在你重写的mousePressEvent方法中最后添加QGraphicsItem::mousePressEvent(event);解决这个问题,就是说你获取到了鼠标事件,但是依然让qt处理这个鼠标事件。(QGphics View, QGraphics Scene, QGraphics Item and QGraphics PixmapItem are provided in qt. They are subclasses of QGraphics Item.
Resolve the instances of creating them: view, scene, item, and then use their respective methods scene - > addItem (item); view - > setScene (scene); you can achieve the effect similar to the figure below. If you want to further customize, you need to inherit QGraphics Item or QGraphics Pixmap Item, and then rewrite paint (), boundingRect () and other methods, and if you want to do so. If you want to get mouse events, rewrite events like mousePressEvent. Note that once you rewrite the mousePressEvent method, you think that QT will no longer automatically handle any press events of item. You can finally add QGraphics Item:: mousePressEvent (event) to your rewritten mousePressEvent method to solve this problem. That is, you get the mouse event, but still let QT handle the mouse event.)
- 2020-06-16 20:20:01下载
- 积分:1
-
04_ScrollBarDemo
基于MFC的,用C++语言编写的一个程序界面 使得界面有滚动条功能(Scroll bar interface function MFC-based, a program written C++ language interface)
- 2012-09-14 20:55:31下载
- 积分:1