摘要: void CInfoStationDlg::OnBnClickedSignstat(){ CString strip; POSITION pos = m_listCtrlSign.GetFirstSelectedItemPosition() ; if ( !pos) { MessageBox( " please Select Sign" , MB_OK ); return; } else { int nindex = m_listCtrlSign.GetNextSelectedItem( pos ); CSign *pSign = ( CSign * )m_listCtrl 阅读全文
posted @ 2013-06-09 08:56 友琼 阅读(262) 评论(0) 推荐(0) 编辑
摘要: HBRUSH CInfoStationDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor){CListCtrl m_listCtrlSign;//CListCtrl 控件变量;m_listCtrlSign.SetBkColor( RGB(199, 237 , 204) );m_listCtrlSign.SetTextBkColor( RGB( 199, 237 , 204 ));m_listCtrlSign.SetTextColor( RGB( 0, 0 , 0));} 阅读全文
posted @ 2013-06-09 08:44 友琼 阅读(731) 评论(0) 推荐(0) 编辑