Changeset 928 for trunk/dll/mainwnd.c
- Timestamp:
- Jan 18, 2008, 4:08:02 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/mainwnd.c
r927 r928 2501 2501 if (hps) { 2502 2502 GpiCreateLogColorTable(hps, 0, LCOLF_RGB, 0, 0, NULL); 2503 WinQueryPresParam(hwnd, /* Window handle */ 2504 PP_BACKGROUNDCOLOR, /* Background presparam */ 2505 0, 2506 NULL, 2507 sizeof(lColor), /* Length of data buffer */ 2508 &lColor, /* Data buffer returned */ 2509 0); 2503 WinQueryPresParam(hwnd, PP_BACKGROUNDCOLOR, 0, NULL, 2504 sizeof(lColor), &lColor, 0); 2510 2505 WinQueryWindowRect(hwnd, &rcl); 2511 2506 WinFillRect(hps, &rcl, lColor); … … 2518 2513 case WM_PRESPARAMCHANGED: 2519 2514 PresParamChanged(hwnd, "ToolBar", mp1, mp2); 2520 WinInvalidateRect(hwnd, NULL, TRUE);2521 2515 break; 2522 2516 … … 2883 2877 PrfWriteProfileData(fmprof, FM3Str, szKey, (PVOID) & dcd->detailscrtime, 2884 2878 sizeof(BOOL)); 2879 sprintf(szKey, "%sDirCnr.%lu", szPrefix, numsaves); 2880 SavePresParams(hwndDir, szKey); 2885 2881 } 2886 2882 sprintf(szKey, "%sDirCnrDir.%lu", szPrefix, numsaves++); … … 3186 3182 JBSDBG PrfWriteProfileData(fmprof, FM3Str, szKey, NULL, 0L); 3187 3183 } 3184 sprintf(szKey, "%sDirCnr.%lu", szPrefix, x); 3185 RestorePresParams(hwndClient, szKey); 3186 SavePresParams(hwndClient, "DirCnr"); 3188 3187 hwndDir = (HWND) WinSendMsg(hwndClient, 3189 3188 UM_SETDIR,
Note:
See TracChangeset
for help on using the changeset viewer.