用ListBox作滚屏显示的一种方法
class CTestListBox : public CListBox{// Constructionpublic:CTestListBox();// Attributespublic:// Operationspublic:// Overrides// ClassWizard generated virtual function overrides//{{AFX_VIRTUAL(CTestListBox)//}}AFX_VIRTUAL// Implementationpublic:virtual ~CTestListBox();// Generated message map functionsprotected://{{AFX_MSG(CTestListBox)afx_msg void OnRButtonDown(UINT nFlags, CPoint point);afx_msg void OnMenuRefresh();//}}AFX_MSGDECLARE_MESSAGE_MAP()};///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_TESTLISTBOX_H__14AF8E00_C055_4880_8E2D_EF702C355078__INCLUDED_)