自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(1)
  • 资源 (1)
  • 收藏
  • 关注

原创 使用QApplication::processEvent()实现非阻塞界面的延时响应

防止界面阻塞,很明确的一种方法就是再开一个线程。但有时也可以使用processEvent()。QProcessEvent()的作用是使程序进入消息循环,处理其他事件。可以用在需要执行很长时间的界面对象成员的循环中,在里面加一句processEvent()使界面不会出现卡死状态。例子里实现按钮后页面等待2秒钟后弹出文字void HelloQt::delaymsecNoBlock(){...

2019-07-08 22:52:50 7137 1

Work with ATL

The Classic Guide to ATLNow Updated for ATL 8 and Visual Studio 2005 Four leading Windows programming experts systematically reveal ATL's inner workings, explaining not just how ATL works, but why it works the way it does. Client-side developers will master ATL's resources for windowing, COM control, MFC integration, web service proxy generation, and more. Server-side programmers will discover ATL's full COM server and object services, and its extensive support for high-throughput, high-concurrency web applications, and services. Every Windows developer will learn powerful ways to increase flexibility, reduce overhead, and maximize transparency and control. • Discover ATL's internals through diagrams, example code, and internal ATL implementation code • Walk through wizards that simplify ATL usage in common applications • Master string handling in C++, COM, and ATL • Leverage ATL smart types, including CComPtr, CComQIPtr, CComBSTR, and CComVariant • Understand and choose the right options for implementing IUnknown • Create glue code that exposes COM objects from COM servers • Use canned interface implementations to support object persistence, COM collections, enumerators, and connection points • Build standalone applications and UI components with ATL window classes and controls • Use ATL Server to develop web applications that run on Microsoft IIS

2011-12-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除