Changeset 1306 for trunk/dll/notebook.c


Ignore:
Timestamp:
Nov 30, 2008, 8:23:56 PM (17 years ago)
Author:
Gregg Young
Message:

Added option to use subdirectory based on the archive name for extraction from the arc container; it is set in the notebook and separate from the extract dialog setting; includes help file update, comments and cleanup (Ticket 22)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/notebook.c

    r1225 r1306  
    4040  31 Jul 08 JBS Ticket 114: Improved code to avoid traps.
    4141  02 Aug 08 JBS Ticket 114: Improved code to avoid traps.
     42  30 Nov 08 GKY Add the option of creating a subdirectory from the arcname
     43                for the extract path to arc container.
    4244
    4345***********************************************************************/
     
    224226    WinCheckButton(hwnd, CFGA_QUICKARCFIND, fQuickArcFind);
    225227    WinCheckButton(hwnd, CFGA_DEFARC, (*szDefArc != 0));
     228    WinCheckButton(hwnd, CFGA_FILENAMEPATH, fFileNameCnrPath);
    226229    WinSetDlgItemText(hwnd, CFGA_DEFARCNAME, szDefArc);
    227230    WinSetDlgItemText(hwnd, CFGA_VIRUS, virus);
     
    332335                        appname,
    333336                        "ArcStuffVisible", &fArcStuffVisible, sizeof(BOOL));
     337    fFileNameCnrPath = WinQueryButtonCheckstate(hwnd, CFGA_FILENAMEPATH);
     338    PrfWriteProfileData(fmprof,
     339                        appname,
     340                        "FileNamePathCnr", &fFileNameCnrPath, sizeof(BOOL));
    334341    fFolderAfterExtract = WinQueryButtonCheckstate(hwnd,
    335342                                                   CFGA_FOLDERAFTEREXTRACT);
Note: See TracChangeset for help on using the changeset viewer.