摘要:
与之前的键盘上下键一样的封装逻辑,这里就不复重了。改变是:绘制缓冲区字符串时,要加上列的偏移量:void EditView::drawText(HDC hdc){ int OFFSET = 0; HFONT hFont = CreateFontIndirect(&logFont); SelectObject(hdc, hFont); //----------------------- int firstRowIndex = lpEditViewAdapter->firstVisibleRowIndex; int rowCount = lpEditViewAdapter->v 阅读全文
posted @ 2012-05-05 02:27
aimo
阅读(193)
评论(0)
推荐(0)
浙公网安备 33010602011771号