- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 使用QApplication::processEvent()实现非阻塞界面的延时响应
防止界面阻塞,很明确的一种方法就是再开一个线程。但有时也可以使用processEvent()。QProcessEvent()的作用是使程序进入消息循环,处理其他事件。可以用在需要执行很长时间的界面对象成员的循环中,在里面加一句processEvent()使界面不会出现卡死状态。例子里实现按钮后页面等待2秒钟后弹出文字void HelloQt::delaymsecNoBlock(){...
2019-07-08 22:52:50
7495
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关注的人