{
CPropertyPage: OnInitDialog ();
//TODO: add additional initialization in the
M_listwave. SetItemText (0, 1, str1);
M_listwave. SetItemText (0, 2, str2);
return TRUE;//return TRUE unless you set the focus to a control
//exception: OCX property page should return FALSE
}
CodePudding user response:
run out are blank in this wayCodePudding user response:
BOOL CDlgWaveform: : OnInitDialog (){
CPropertyPage: OnInitDialog ();
//TODO: add additional initialization here
M_listwave. SetExtendedStyle (LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES);
M_listwave. InsertColumn (1, L "tw1," LVCFMT_LEFT, 40).
M_listwave. InsertColumn (2, L "tw2, LVCFMT_LEFT, 40).
M_listwave. InsertColumn (3, L "tw3", LVCFMT_LEFT, 40).
M_listwave. InsertItem (0, L "1");
Cstrings str1, str2 str3;
Str1="1";
Str2="2".
Str3="3".
M_listwave. SetItemText (0, 1, str1);
M_listwave. SetItemText (0, 2, str2);
M_listwave. SetItemText (0, 3, str3);
return TRUE;