IDC_OPTIONS
GetDlgItemText(hDlgMain, IDC_OPTIONS, woptions, sizeof(woptions));
SetDlgItemText(hDlgMain, IDC_OPTIONS, pref.options);