
[Visual C++]
tcxxs
这个作者很懒,什么都没留下…
展开
-
网路摘抄【2】
1、在这里,我们发现,MFC不是调用GetMessage()从线程消息队列中取消息,而是调用PeekMessage()。其原因在于, GetMessage()是一个具有同步行为的函数,如果消息队列中没有消息,GetMessage()会一直阻塞,使得线程处于睡眠状态,直到消息队列中有一条或多条消息,操作系统才会唤醒该线程,GetMessage()才会返回,如果线程处于睡眠状态了,就不会使线程具有MF原创 2005-04-19 11:00:00 · 1110 阅读 · 0 评论 -
函数蹲点【1】
1、SetMapModeThe SetMapMode function sets the mapping mode of the specified device context. The mapping mode defines the unit of measure used to transform page-space units into device-space units, and原创 2005-04-23 21:56:00 · 1155 阅读 · 0 评论 -
函数蹲点【2】
1、InvalidateRectThe InvalidateRect function adds a rectangle to the specified windows update region. The update region represents the portion of the windows client area that must be redrawn. BOOL In原创 2005-04-24 01:49:00 · 1147 阅读 · 0 评论 -
网路摘抄【4】
1、显示独立文件方式的位图(位图的所有数据独立于可执行文件)HBITMAP *hBitmap; //定义位图对象句柄BITMAP BM;CDC MemDC;CClientDC ClientDC(this);MemDC.CreateCompatibleDC(&ClientDC);hBitmap=(HBITMAP*):: LoadImage( AfxGetInstanceHandle(),//取得应用原创 2005-04-23 17:59:00 · 1419 阅读 · 0 评论