Changeset 1711
- Timestamp:
- Feb 9, 2014, 11:22:11 PM (12 years ago)
- Location:
- trunk/dll
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/fm3dlg.h
r1705 r1711 46 46 06 Jan 13 GKY Added optional confirmation dialogs for delete move and copy to compare dir Ticket 277 47 47 06 Jan 13 GKY Added EA compare option to compare dir Ticket 80 48 09 Feb 14 GKY Fix separate parameters. Moved to general page renamed separate settings 49 for apps. 48 50 49 51 ***********************************************************************/ … … 680 682 #define CFGG_ERRORBEEPOFF 25219 681 683 #define CFGG_WARNREADONLY 25220 684 #define CFGG_APPSEPARATESETTINGS 25221 682 685 683 686 #define CFGB_FRAME 25250 … … 703 706 #define CFGM_EXTERNALINIS 25315 704 707 #define CFGM_EXTERNALCOLLECTOR 25316 705 #define CFGM_SEPARATEPARMS 25317 706 #define CFGM_BLUELED 25318 707 #define CFGM_SHOWTARGET 25319 708 #define CFGM_BLUELED 25317 709 #define CFGM_SHOWTARGET 25318 708 710 709 711 #define CFGV_FRAME 25330 -
trunk/dll/fm3res.dlg
r1703 r1711 58 58 06 Jan 13 GKY Added optional confirmation dialogs for delete move and copy to compare dir Ticket 277 59 59 06 Jan 13 GKY Added EA compare option to compare dir Ticket 80 60 09 Feb 14 GKY Fix separate parameters. Moved to general page renamed separate settings 61 for apps. 60 62 61 63 ***********************************************************************/ … … 1941 1943 CONTROL "Recent Dirs", CFGM_RECENTDIRS, 4, 68, 106, 10, 1942 1944 WC_BUTTON, BS_AUTO3STATE | WS_TABSTOP | WS_VISIBLE 1943 AUTOCHECKBOX " Separate parameters", CFGM_SEPARATEPARMS, 4, 56,1945 AUTOCHECKBOX "Autotile windows", CFGM_AUTOTILE, 4, 56, 1944 1946 106, 10 1945 1947 AUTOCHECKBOX "Free Drive Tree", CFGM_FREETREE, 4, 44, 106, 10 1946 1948 AUTOCHECKBOX "Split Status line", CFGM_SPLITSTATUS, 4, 32, 106, 1947 1949 10 1948 AUTOCHECKBOX "Autotile windows", CFGM_AUTOTILE, 4, 20, 106, 101949 1950 AUTOCHECKBOX "Save dir window state", CFGM_SAVESTATE, 128, 128, 1950 1951 106, 10 … … 2861 2862 WS_SAVEBITS 2862 2863 BEGIN 2864 AUTOCHECKBOX "~Warn if file is readonly", CFGG_WARNREADONLY, 4, 140, 106, 2865 10 2863 2866 AUTOCHECKBOX "Don't move ~mouse", CFGG_DONTMOVEMOUSE, 4, 128, 106, 2864 2867 10 … … 2877 2880 LTEXT "Target directory:", -1, 4, 34, 102, 8 2878 2881 ENTRYFIELD "", CFGG_TARGETDIR, 6, 22, 246, 8, ES_MARGIN 2879 AUTOCHECKBOX "~ Warn if file is readonly", CFGG_WARNREADONLY, 122, 140, 106,2880 102882 AUTOCHECKBOX "~Separate settings for Apps (Must restart to take effect)", 2883 CFGG_APPSEPARATESETTINGS, 122, 140, 180, 10 2881 2884 AUTOCHECKBOX "~Link drag sets icon", CFGG_LINKSETSICON, 122, 128, 106, 2882 2885 10 -
trunk/dll/init.c
r1710 r1711 113 113 04 Aug 12 GKY Changes to allow copy and move over readonly files with a warning dialog; also added a warning dialog 114 114 for delete of readonly files 115 09 Feb 14 GKY Fix separate parameters. Moved to general page renamed separate settings 116 for apps. 115 117 116 118 ***********************************************************************/ … … 659 661 CHAR *p; 660 662 ULONG size; 661 BOOL fSeparateParmsApp;662 663 663 664 strcpy(dllfile, PCSZ_FM3RES); … … 949 950 FindSwapperDat(); 950 951 951 size = sizeof(BOOL);952 PrfQueryProfileData(fmprof, FM3Str, "SeparateParms",953 &fSeparateParms, &size);954 size = sizeof(BOOL);955 PrfQueryProfileData(fmprof, appname, "SeparateParms",956 &fSeparateParmsApp, &size);957 if (!fSeparateParms && !fSeparateParmsApp)958 strcpy(appname, FM3Str);959 960 952 // start help 961 953 memset(&hini, 0, sizeof(HELPINIT)); … … 1258 1250 * one or more miniapp but not to FM/2 1259 1251 */ 1252 size = sizeof(BOOL); 1253 PrfQueryProfileData(fmprof, realappname, "AppSeparateSettings", &fAppSeparateSettings, &size); 1254 if (!fAppSeparateSettings) 1255 strcpy(appname, FM3Str); 1256 else 1257 strcpy(appname, realappname); 1260 1258 size = sizeof(ULONG); 1261 1259 PrfQueryProfileData(fmprof, appname, "MaxComLineStrg", &MaxComLineStrg, &size); -
trunk/dll/ipf/notebook.ipf
r1664 r1711 22 22 .* 04 Aug 12 GKY Changes to allow copy and move over readonly files with a warning dialog; also added a warning dialog 23 23 .* for delete of readonly files 24 .* 09 Feb 14 GKY Fix separate parameters. Moved to general page renamed separate settings 25 .* for apps. 24 26 .* 25 27 .*********************************************************************** … … 577 579 :link reftype=hd res=91500.Walk Directories:elink. dialog. 578 580 :p. 579 The :hp6.Separate parameters:ehp6. toggle tells FM/2 whether to use580 separate parameters for many of the mini-apps (like FM/2 lite, VDIR and VTREE).581 If you select it with FM/2 running it applies to all the mini-apps. However,582 if you select it with a mini-app running it will only effect that app. If583 checked, you'll have to set up the effected applications separately, but584 configurations can be different than that in the monolithic FM/2585 application itself. If you don't understand that, let's try this&colon.586 if you run the Visual Tree program a lot, you'll probably want to check587 this. Otherwise, you won't.588 :p.589 581 If you check the :hp6.Free Drive Tree:ehp6. toggle, FM/2 will allow you 590 582 to move the Drive Tree Container. Otherwise it "pins" it in the upper … … 663 655 is what FM/2 always did for delete but not for copy/move which failed with 664 656 an error message. 657 :p. 658 The :hp6.Separate settings for Apps:ehp6. toggle tells FM/2 whether to use 659 separate parameters for many of the mini-apps (like FM/2 lite, VDIR and VTREE). 660 If you select it with FM/2 running it applies to all the mini-apps. However, 661 if you select it with a mini-app running it will only effect that app. If 662 checked, you'll have to set up the effected applications separately, but 663 configurations can be different than that in the monolithic FM/2 664 application itself. If you don't understand that, let's try this&colon. 665 if you run the Visual Tree program a lot, you'll probably want to check 666 this. Otherwise, you won't. 665 667 :p. 666 668 The :hp6.Verify disk writes:ehp6. toggle turns system-level write -
trunk/dll/notebook.c
r1675 r1711 169 169 BOOL fRScanNoWrite; 170 170 BOOL fSaveState; 171 BOOL fSeparateParms;172 171 BOOL fShowDriveOnly; 173 172 BOOL fShowEnv; … … 191 190 BOOL fViewChild; 192 191 BOOL fWarnReadOnly; 192 BOOL fAppSeparateSettings; 193 193 HINI fmprof; 194 194 ULONG fwsAnimate; … … 1555 1555 WinCheckButton(hwnd, CFGG_ALERTBEEPOFF, fAlertBeepOff); 1556 1556 WinCheckButton(hwnd, CFGG_WARNREADONLY, fWarnReadOnly); 1557 WinCheckButton(hwnd, CFGG_APPSEPARATESETTINGS, fAppSeparateSettings); 1557 1558 { 1558 1559 long th = fNoFinger ? 2 : (fNoDead ? 1 : 0); … … 1616 1617 { 1617 1618 long test; 1619 BOOL dummy; 1620 1621 dummy = WinQueryButtonCheckstate(hwnd, CFGG_APPSEPARATESETTINGS); 1622 if (dummy != fAppSeparateSettings) { 1623 fAppSeparateSettings = dummy; 1624 PrfWriteProfileData(fmprof, realappname, "AppSeparateSettings", 1625 &fAppSeparateSettings, sizeof(BOOL)); 1626 WinSendMsg((HWND) WinQueryWindowULong(hwnd, QWL_USER), 1627 UM_UNDO, MPVOID, MPVOID); 1628 if (fAppSeparateSettings) 1629 strcpy(appname, realappname); 1630 else 1631 strcpy(appname, FM3Str); 1632 } 1618 1633 1619 1634 test = WinQueryButtonCheckstate(hwnd, CFGG_NODEAD); … … 1682 1697 fWarnReadOnly = WinQueryButtonCheckstate(hwnd, CFGG_WARNREADONLY); 1683 1698 PrfWriteProfileData(fmprof, appname, "WarnReadOnly", 1684 1699 &fWarnReadOnly, sizeof(BOOL)); 1685 1700 { 1686 1701 WinSendDlgItemMsg(hwnd, CFGG_CMDLNLNGTH, SPBM_QUERYVALUE, … … 2032 2047 WinCheckButton(hwnd, CFGM_USERLISTSWITCHES, fUserListSwitches); 2033 2048 WinCheckButton(hwnd, CFGM_WSANIMATE, (fwsAnimate != 0)); 2034 WinCheckButton(hwnd, CFGM_SEPARATEPARMS, fSeparateParms);2035 2049 WinCheckButton(hwnd, CFGM_BLUELED, fBlueLED); 2036 2050 WinCheckButton(hwnd, CFGM_SHOWTARGET, fShowTarget); … … 2201 2215 WM_UPDATEFRAME, MPFROMLONG(FCF_SIZEBORDER), MPVOID); 2202 2216 SetTargetDir(hwnd, TRUE, NULL); 2203 }2204 dummy = WinQueryButtonCheckstate(hwnd, CFGM_SEPARATEPARMS);2205 if (dummy != fSeparateParms) {2206 fSeparateParms = dummy;2207 PrfWriteProfileData(fmprof,2208 appname,2209 "SeparateParms",2210 (PVOID) & fSeparateParms, sizeof(BOOL));2211 WinSendMsg((HWND) WinQueryWindowULong(hwnd, QWL_USER),2212 UM_UNDO, MPVOID, MPVOID);2213 2217 } 2214 2218 } -
trunk/dll/notebook.h
r1664 r1711 18 18 04 Aug 12 GKY Changes to allow copy and move over readonly files with a warning dialog; also added a warning dialog 19 19 for delete of readonly files 20 09 Feb 14 GKY Fix separate parameters. Moved to general page renamed separate settings 21 for apps. 20 22 21 23 ***********************************************************************/ … … 91 93 extern BOOL fRScanNoWrite; 92 94 extern BOOL fSaveState; 93 extern BOOL fSeparateParms;94 95 extern BOOL fShowDriveOnly; 95 96 extern BOOL fShowEnv; … … 113 114 extern BOOL fViewChild; 114 115 extern BOOL fWarnReadOnly; 116 extern BOOL fAppSeparateSettings; 115 117 extern HINI fmprof; 116 118 extern ULONG fwsAnimate;
Note:
See TracChangeset
for help on using the changeset viewer.