|
// *********************************************************
// カラム幅とデータ幅との調整
// 戻り値 : 無し
// *********************************************************
void LboxListview::Fit( int nCol )
{
ListView_SetColumnWidth(
this->hWnd,
nCol,
LVSCW_AUTOSIZE_USEHEADER
);
return;
}
void LboxListview::Fit( void )
{
int nCols,i;
nCols = LboxListview::ColumnCount();
for( i = 0; i < nCols; i++ ) {
ListView_SetColumnWidth(
this->hWnd,
i,
LVSCW_AUTOSIZE_USEHEADER
);
}
}
| |