Changeset 1664 for trunk/dll/notebook.c


Ignore:
Timestamp:
Aug 5, 2012, 2:11:07 AM (13 years ago)
Author:
Gregg Young
Message:

Changes to use Unlock to unlock files if Unlock.exe is in path both from menu/toolbar and as part of copy, move and delete operations. Changes to allow copy and move over readonly files with a warning dialog; also added a warning dialog for delete of readonly files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/notebook.c

    r1574 r1664  
    6262  24 OCT 10 GKY Fixed spurious error message when labels in tree are changed with a
    6363                "not ready" drive selected
     64  04 Aug 12 GKY Changes to allow copy and move over readonly files with a warning dialog; also added a warning dialog
     65                for delete of readonly files
    6466
    6567***********************************************************************/
     
    188190BOOL fVerify;
    189191BOOL fViewChild;
     192BOOL fWarnReadOnly;
    190193HINI fmprof;
    191194ULONG fwsAnimate;
     
    15511554    WinCheckButton(hwnd, CFGG_ERRORBEEPOFF, fErrorBeepOff);
    15521555    WinCheckButton(hwnd, CFGG_ALERTBEEPOFF, fAlertBeepOff);
     1556    WinCheckButton(hwnd, CFGG_WARNREADONLY, fWarnReadOnly);
    15531557    {
    15541558      long th = fNoFinger ? 2 : (fNoDead ? 1 : 0);
     
    16751679    fErrorBeepOff = WinQueryButtonCheckstate(hwnd, CFGG_ERRORBEEPOFF);
    16761680    PrfWriteProfileData(fmprof, appname, "ErrorBeepOff",
    1677                         &fErrorBeepOff, sizeof(BOOL));
     1681                        &fErrorBeepOff, sizeof(BOOL));
     1682    fWarnReadOnly = WinQueryButtonCheckstate(hwnd, CFGG_WARNREADONLY);
     1683    PrfWriteProfileData(fmprof, appname, "WarnReadOnly",
     1684                        &fWarnReadOnly, sizeof(BOOL));
    16781685    {
    16791686      WinSendDlgItemMsg(hwnd, CFGG_CMDLNLNGTH, SPBM_QUERYVALUE,
Note: See TracChangeset for help on using the changeset viewer.