close
sol:
第一列新增完需做點事:
m_list.InsertColumn(0, " Block Stripe Number ", LVCFMT_CENTER, 80);
LV_COLUMN lv_col;
m_list.GetColumn(0, &lv_col);
lv_col.fmt = LVCFMT_CENTER;
lv_col.mask = LVCF_FMT;
m_list.SetColumn(0, &lv_col);
From MSDN
https://docs.microsoft.com/zh-tw/windows/win32/api/commctrl/ns-commctrl-lvcolumna?redirectedfrom=MSDN
REF:
http://computer-programming-forum.com/82-mfc/6c026373527b3586.htm
文章標籤
全站熱搜
留言列表