摘要:
1、添加listbox设置horizontal scroll为true2、新建类CNListBox,继承类CListBox3、新类头文件声明如下:#ifndef _IHLISTBOX_H_#define _IHLISTBOX_H_class CNListBox: public CListBox{.......public:int AddString( LPCTSTR lpszItem );int InsertString( int nIndex, LPCTSTR lpszItem );void RefushHorizontalScrollBar( void );};#endif4、新类cpp文 阅读全文