摘要:
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 阅读全文
摘要:
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));} 阅读全文