上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 95 下一页
摘要: https://leetcode.com/problems/battleships-in-a-board/ Given an 2D board, count how many different battleships are in it. The battleships are repr... 阅读全文
posted @ 2016-10-24 23:40 N3verL4nd 阅读(144) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/battleships-in-a-board/ Given an 2D board, count how many different battleships are in it. The battleships are repr... 阅读全文
posted @ 2016-10-24 23:40 N3verL4nd 阅读(140) 评论(0) 推荐(0)
摘要: https://msdn.microsoft.com/en-us/library/windows/desktop/ms533826(v=vs.85).aspx The purpose of hit testing is to determine whether the cursor is... 阅读全文
posted @ 2016-10-24 12:20 N3verL4nd 阅读(269) 评论(0) 推荐(0)
摘要: https://msdn.microsoft.com/en-us/library/windows/desktop/ms533826(v=vs.85).aspx The purpose of hit testing is to determine whether the cursor is... 阅读全文
posted @ 2016-10-24 12:20 N3verL4nd 阅读(417) 评论(0) 推荐(0)
摘要: 1、继承自CDoubleBufferImpl template class CDoubleBufferImpl{public:// Overrideables void DoPaint(CDCHandle /*dc*/) { // must be implemented in a derive... 阅读全文
posted @ 2016-10-17 19:55 N3verL4nd 阅读(237) 评论(0) 推荐(0)
摘要: 1、继承自CDoubleBufferImpl template class CDoubleBufferImpl{public:// Overrideables void DoPaint(CDCHandle /*dc*/) { // must be implemented in a derive... 阅读全文
posted @ 2016-10-17 19:55 N3verL4nd 阅读(171) 评论(0) 推荐(0)
摘要: RECT rect; //获得客户区坐标 GetClientRect(&rect); //Graphics作图对象 Graphics g(m_hWnd); 画线: Pen pen(Color(255, 0, 0, 0)); g.DrawLine(&pen, rect.left, re... 阅读全文
posted @ 2016-10-17 16:04 N3verL4nd 阅读(109) 评论(0) 推荐(0)
摘要: 基于VS2013+WTL9.1实现 // MoveableWindowView.h : interface of the CMoveableWindowView class/////////////////////////////////////////////////////////////... 阅读全文
posted @ 2016-10-16 20:06 N3verL4nd 阅读(172) 评论(0) 推荐(0)
摘要: 基于VS2013+WTL9.1实现 // MoveableWindowView.h : interface of the CMoveableWindowView class/////////////////////////////////////////////////////////////... 阅读全文
posted @ 2016-10-16 20:06 N3verL4nd 阅读(178) 评论(0) 推荐(0)
摘要: 双缓冲的原理可以这样形象的理解:把电脑屏幕看作一块黑板。首先我们在内存环境中建立一个“虚拟“的黑板,然后在这块黑板上绘制复杂的图形,等图形全部绘制完毕的时候,再一次性的把内存中绘制好的图形“拷贝”到另一块黑板(屏幕)上。采取这种方法可以提高绘图速度,极大的改善绘图效果。 例如在OnDraw... 阅读全文
posted @ 2016-10-15 19:55 N3verL4nd 阅读(276) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 95 下一页