tightvnc/tvnviewer/FileInfoListView.cpp
//
// Saves hwnd and automaticly adds columns to list view
//
Saves hwnd and automaticly adds columns to list view
Saves hwnd and automaticly adds columns to list view
void FileInfoListView::setWindow(HWND hwnd)
{
  ListView::setWindow(hwnd);
  ListView::addColumn(0, _T("Name"), 135);
  ListView::addColumn(1, _T("Size"), 80, LVCFMT_RIGHT);
  ListView::addColumn(2, _T("Modified"), 115);
  setFullRowSelectStyle(true);
  loadImages();
  ListView_SetImageList(m_hwnd, m_smallImageList, LVSIL_SMALL);
  Control::replaceWindowProc(FileInfoListView::s_newWndProc);
}
void FileInfoListView :: setWindow ( HWND hwnd ) { ListView :: setWindow ( hwnd ) ; ListView :: addColumn ( 0 , _T ( " " ) , 135 ) ; ListView :: addColumn ( 1 , _T ( " " ) , 80 , LVCFMT_RIGHT ) ; ListView :: addColumn ( 2 , _T ( " " ) , 115 ) ; setFullRowSelectStyle ( true ) ; loadImages ( ) ; ListView_SetImageList ( m_hwnd , m_smallImageList , LVSIL_SMALL ) ; Control :: replaceWindowProc ( FileInfoListView :: s_newWndProc ) ; }
Saves hwnd and automaticly adds columns to list view
Saves hwnd and automaticly adds columns to list view