Changeset 94 for trunk/mainwin.cpp
- Timestamp:
- Jul 17, 2021, 9:24:00 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mainwin.cpp
r92 r94 181 181 rcl.yTop - rcl.yBottom, 182 182 SWP_SHOW | SWP_MOVE | SWP_SIZE | SWP_ZORDER); 183 HMQ hmq; 184 BOOL bUniCodeFont; 185 CHAR ucFont[FACESIZE]; 186 187 if (pset->GetLangID() == RU) { 188 hmq = WinQueryWindowULong( hwnd, QWL_HMQ); 189 WinSetCp(hmq, 866); 190 bUniCodeFont = TRUE; 191 } 192 else if (pset->GetLangID() == CZ || pset->GetLangID() == PL) { 193 hmq = WinQueryWindowULong( hwnd, QWL_HMQ); 194 WinSetCp(hmq, 852); 195 bUniCodeFont = TRUE; 196 } 197 else { 198 hmq = WinQueryWindowULong( hwnd, QWL_HMQ); 199 WinSetCp(hmq, 850); 200 } 201 202 if (pset->GetLangID() == RU || pset->GetLangID() == CZ || pset->GetLangID() == PL) { 203 strcpy(ucFont, "9.Times New Roman MT 30"); 204 WinSetPresParam(hwnd, PP_FONTNAMESIZE, strlen(ucFont) + 1, ucFont); 205 } 206 else 207 WinRemovePresParam(hwnd, PP_FONTNAMESIZE); 183 208 #endif 184 209 }
Note:
See TracChangeset
for help on using the changeset viewer.