class LboxListview : public LboxWintool,public LboxToken


  InsertColumn



  
// *********************************************************
// リストビューに列挿入
// 戻り値 : 無し
// nFmt 用定数
// LVCFMT_CENTER : 中央
// LVCFMT_LEFT   : 左寄せ
// LVCFMT_RIGHT  : 右寄せ
// *********************************************************
void LboxListview::InsertColumn(
int nCol, int nFmt, int nWidth, LboxString *LString
)
{
	LboxListview::InsertColumn(
		nCol,
		nFmt,
		nWidth,
		LString->szLboxString
	);
}
void LboxListview::InsertColumn(
int nCol, int nFmt, int nWidth, LPTSTR szTitle
)
{
	LV_COLUMN col;

	ZeroMemory( &col, sizeof( LV_COLUMN ) );
	col.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT;

	col.fmt = nFmt;
	col.cx = nWidth;
	col.pszText = szTitle;
	ListView_InsertColumn(hWnd, nCol, &col);
}
  










  infoboard   管理者用   
このエントリーをはてなブックマークに追加





フリーフォントWEBサービス
SQLの窓WEBサービス

SQLの窓フリーソフト

素材

一般WEBツールリンク

SQLの窓

フリーソフト

JSライブラリ