SCROLLVIEW设置初始滚动条位置
摘要:
在网上找了半天,都不可用.后来在WM_CREATE中加入SendMessage结果搞定.记录如下 1 LRESULT CXxxView::OnCreate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) 2 { 3 SetScrollSize(500, 800); 4 SetScrollPos(SB_VERT, 200); 5 6 SendMessage(m_hWnd, WM_VSCROLL, SB_THUMBPOSITION, 0); 7 8 bHandled = FALSE; 9 ... 阅读全文
posted @ 2012-08-03 05:20 郁郁思扬 阅读(2707) 评论(0) 推荐(0) 编辑