| 1324 |
ts->WindowFlag |= WF_WINDOWREPORT; |
ts->WindowFlag |= WF_WINDOWREPORT; |
| 1325 |
|
|
| 1326 |
// Window report sequence |
// Window report sequence |
| 1327 |
if (GetOnOff(Section, "TitleReportSequence", FName, TRUE)) |
GetPrivateProfileString(Section, "TitleReportSequence", "Empty", Temp, sizeof(Temp), FName); |
| 1328 |
ts->WindowFlag |= WF_TITLEREPORT; |
if (_stricmp(Temp, "on") == 0) |
| 1329 |
|
ts->WindowFlag |= IdTitleReportOn; |
| 1330 |
|
else if (_stricmp(Temp, "off") == 0) |
| 1331 |
|
ts->WindowFlag &= ~WF_TITLEREPORT; |
| 1332 |
|
else // empty |
| 1333 |
|
ts->WindowFlag |= IdTitleReportEmpty; |
| 1334 |
|
|
| 1335 |
// Line at a time mode |
// Line at a time mode |
| 1336 |
ts->EnableLineMode = GetOnOff(Section, "EnableLineMode", FName, TRUE); |
ts->EnableLineMode = GetOnOff(Section, "EnableLineMode", FName, TRUE); |
| 2319 |
ts->WindowFlag & WF_WINDOWREPORT); |
ts->WindowFlag & WF_WINDOWREPORT); |
| 2320 |
|
|
| 2321 |
// Title report sequence |
// Title report sequence |
| 2322 |
WriteOnOff(Section, "TitleReportSequence", FName, |
switch (ts->WindowFlag & WF_TITLEREPORT) { |
| 2323 |
ts->WindowFlag & WF_TITLEREPORT); |
case IdTitleReportOff: |
| 2324 |
|
WritePrivateProfileString(Section, "TitleReportSequence", "off", FName); |
| 2325 |
|
break; |
| 2326 |
|
case IdTitleReportOn: |
| 2327 |
|
WritePrivateProfileString(Section, "TitleReportSequence", "on", FName); |
| 2328 |
|
break; |
| 2329 |
|
default: // IdTitleReportEmpty |
| 2330 |
|
WritePrivateProfileString(Section, "TitleReportSequence", "empty", FName); |
| 2331 |
|
break; |
| 2332 |
|
} |
| 2333 |
|
|
| 2334 |
// Line at a time mode |
// Line at a time mode |
| 2335 |
WriteOnOff(Section, "EnableLineMode", FName, ts->EnableLineMode); |
WriteOnOff(Section, "EnableLineMode", FName, ts->EnableLineMode); |