Changeset 229
- Timestamp:
- Sep 23, 2020, 11:29:15 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/settings.c ¶
r212 r229 1332 1332 WinCheckButton(hwnd, CHK_TSKBARGROW, 1333 1333 plswData->Settings.bTskBarGrow); 1334 if (!plswData->Settings.bTaskBarAlwaysVisible || 1335 plswData->Settings.bAllowResize || 1336 plswData->Settings.bTskBarGrow) 1334 if (!plswData->Settings.bTaskBarAlwaysVisible ) 1337 1335 WinEnableControl(hwnd, CHK_REDUCEDSK,FALSE); 1338 1336 else … … 1495 1493 plswData->Settings.bAllowResize = bValue; 1496 1494 if (plswData->Settings.bAllowResize) { 1497 if (plswData->Settings.bReduceDsk)1495 /*if (plswData->Settings.bReduceDsk) 1498 1496 UpdateDesktopWorkarea(plswData, TRUE); 1499 1497 WinCheckButton(hwnd, CHK_REDUCEDSK, FALSE); 1500 plswData->Settings.bReduceDsk = FALSE; 1498 plswData->Settings.bReduceDsk = FALSE;*/ 1501 1499 } 1502 1500 if (bValue) { … … 1517 1515 plswData->Settings.bTskBarGrow = bValue; 1518 1516 WinEnableControl(hwnd, CHK_ALLOWRESIZE, !bValue); 1519 WinCheckButton(hwnd, CHK_ALLOWRESIZE, !bValue);1517 //WinCheckButton(hwnd, CHK_ALLOWRESIZE, !bValue); 1520 1518 plswData->Settings.bAllowResize = !bValue; 1521 1519 if (!bValue) { … … 1529 1527 if (bValue) { 1530 1528 WinPostMsg(plswData->hwndTaskBarClient, WM_SIZE, 0, 0); 1531 if (plswData->Settings.bReduceDsk)1529 /*if (plswData->Settings.bReduceDsk) 1532 1530 UpdateDesktopWorkarea(plswData, TRUE); 1533 1531 WinCheckButton(hwnd, CHK_REDUCEDSK, FALSE); 1534 plswData->Settings.bReduceDsk = FALSE; 1532 plswData->Settings.bReduceDsk = FALSE;*/ 1535 1533 } 1536 1534 else … … 1564 1562 } 1565 1563 #ifndef XWORKPLACE 1566 if (!plswData->Settings.bTaskBarAlwaysVisible || 1567 plswData->Settings.bAllowResize || 1568 plswData->Settings.bTskBarGrow) { 1564 if (!plswData->Settings.bTaskBarAlwaysVisible) { 1569 1565 WinEnableControl(hwnd, CHK_REDUCEDSK,FALSE); 1570 1566 } … … 1900 1896 } 1901 1897 else { 1898 UCHAR ucFont[30]; 1899 HMQ hmq; 1900 1902 1901 plswData->Settings.usLanguage = usLangArr[sIndex]; 1902 if (plswData->Settings.usLanguage == RU || 1903 plswData->Settings.usLanguage == CZ || 1904 plswData->Settings.usLanguage == PL) { 1905 strcpy(ucFont, "10.Times New Roman MT 30"); 1906 WinSetPresParam(plswData->hwndMenu, PP_FONTNAMESIZE, strlen(ucFont), ucFont); 1907 } 1908 else 1909 WinRemovePresParam(plswData->hwndMenu, PP_FONTNAMESIZE); 1910 1911 if (plswData->Settings.usLanguage == RU) { 1912 hmq = WinQueryWindowULong( plswData->hwndPopup, QWL_HMQ); 1913 WinSetCp(hmq, 866); 1914 } 1915 else if (plswData->Settings.usLanguage == CZ || 1916 plswData->Settings.usLanguage == PL) { 1917 hmq = WinQueryWindowULong( plswData->hwndPopup, QWL_HMQ); 1918 WinSetCp(hmq, 852); 1919 } 1920 else { 1921 hmq = WinQueryWindowULong( plswData->hwndPopup, QWL_HMQ); 1922 WinSetCp(hmq, 850); 1923 } 1903 1924 #ifdef XWORKPLACE 1904 1925 if (WgtQueryXWPWidgetBasePath (szHelpFile)) {
Note:
See TracChangeset
for help on using the changeset viewer.