Changeset 1394 for trunk/dll/dircnrs.c
- Timestamp:
 - Feb 5, 2009, 5:17:25 AM (17 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/dll/dircnrs.c (modified) (8 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/dll/dircnrs.c
r1375 r1394 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2001, 200 8Steven H. Levine9 Copyright (c) 2001, 2009 Steven H. Levine 10 10 11 11 16 Oct 02 SHL Handle large partitions … … 363 363 { 364 364 USHORT id = WinQueryWindowUShort(hwnd, QWS_ID); 365 char *s = NULL;365 PCSZ s = NULL; 366 366 367 367 if (fOtherHelp) { … … 703 703 numentries++; 704 704 if (numentries) 705 UpdateCnrList(dcd->hwndCnr, list, numentries, TRUE, dcd);705 UpdateCnrList(dcd->hwndCnr, list, numentries, TRUE, dcd); 706 706 } 707 707 return 0; … … 1941 1941 } 1942 1942 } 1943 break;1943 break; 1944 1944 1945 1945 case IDM_FINDINTREE: … … 2147 2147 } 2148 2148 else 2149 StartCollector(dcd->hwndParent, 4);2150 if (SHORT1FROMMP(mp1) == IDM_GREP) {2151 PCNRITEM pci = NULL;2152 2153 pci = WinSendMsg(hwnd,2154 CM_QUERYRECORDEMPHASIS,2155 MPFROMLONG(CMA_FIRST), MPFROMSHORT(CRA_CURSORED));2156 if (pci && (INT) pci != -1)2157 PostMsg(Collector, WM_COMMAND,2158 MPFROM2SHORT(IDM_GREP, 0), MPFROMP(pci->pszFileName));2159 else2160 PostMsg(Collector, WM_COMMAND,2161 MPFROM2SHORT(IDM_GREP, 0), MPVOID);2162 }2163 else2149 StartCollector(dcd->hwndParent, 4); 2150 if (SHORT1FROMMP(mp1) == IDM_GREP) { 2151 PCNRITEM pci = NULL; 2152 2153 pci = WinSendMsg(hwnd, 2154 CM_QUERYRECORDEMPHASIS, 2155 MPFROMLONG(CMA_FIRST), MPFROMSHORT(CRA_CURSORED)); 2156 if (pci && (INT) pci != -1) 2157 PostMsg(Collector, WM_COMMAND, 2158 MPFROM2SHORT(IDM_GREP, 0), MPFROMP(pci->pszFileName)); 2159 else 2160 PostMsg(Collector, WM_COMMAND, 2161 MPFROM2SHORT(IDM_GREP, 0), MPVOID); 2162 } 2163 else 2164 2164 PostMsg(hwnd, WM_COMMAND, MPFROM2SHORT(IDM_COLLECTOR, 0), MPVOID); 2165 2165 break; … … 2925 2925 else { 2926 2926 numitems = DrgQueryDragitemCount(pDInfo); 2927 usOperation = pDInfo->usOperation;2928 if (usOperation == DO_DEFAULT)2929 usOperation = fCopyDefault ? DO_COPY : DO_MOVE;2927 usOperation = pDInfo->usOperation; 2928 if (usOperation == DO_DEFAULT) 2929 usOperation = fCopyDefault ? DO_COPY : DO_MOVE; 2930 2930 FreeDragInfoData(hwnd, pDInfo); 2931 2931 saymsg(MB_ENTER | MB_ICONASTERISK, … … 3620 3620 WC_DIRCONTAINER, 3621 3621 NULL, 3622 WS_VISIBLE | fwsAnimate,3622 WS_VISIBLE | fwsAnimate, 3623 3623 FM3ModHandle, DIR_FRAME, &hwndClient); 3624 3624 if (hwndFrame && hwndClient) { … … 3729 3729 SWP_SIZE | SWP_MOVE | SWP_SHOW | SWP_ZORDER | 3730 3730 SWP_ACTIVATE); 3731 }3732 WinShowWindow(dcd->hwndCnr, TRUE);3731 } 3732 WinShowWindow(dcd->hwndCnr, TRUE); 3733 3733 } 3734 3734 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  