|
// *********************************************************
// リストビューの列のタイトルを設定
// 戻り値 : 無し
// *********************************************************
void LboxListview::SetColumnTitle( int nCol, LboxString *LString )
{
LboxListview::SetColumnTitle( nCol, LString->szLboxString );
}
void LboxListview::SetColumnTitle( int nCol, LPTSTR szBuffer )
{
LV_COLUMN col;
ZeroMemory( &col, sizeof( LV_COLUMN ) );
col.mask = LVCF_TEXT;
col.pszText = szBuffer;
ListView_SetColumn(
this->hWnd,
nCol,
&col
);
}
| |