Changeset 618 for trunk/dll/select.c
- Timestamp:
- Apr 20, 2007, 9:19:03 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/select.c
r606 r618 17 17 15 Aug 06 SHL Rework SetMask args and logic 18 18 06 Apr 07 GKY Work around PM DragInfo and DrgFreeDISH limits 19 19 Apr 07 SHL Sync with NumItemsToUnhilite mods 19 20 20 21 ***********************************************************************/ … … 62 63 if (!all) 63 64 break; 64 if(fExceedPMDrgLimit && x == fExceedPMDrgLimit - 1){ 65 fExceedPMDrgLimit = 0; 66 break; 65 // Count is one extra to ensure non-zero elsewhere 66 if (NumItemsToUnhilite && x + 2 == NumItemsToUnhilite){ 67 NumItemsToUnhilite = 0; 68 break; 67 69 } 68 70 if (list) … … 421 423 422 424 if (quitit) 423 attribute = (target) ? CRA_TARGET : (source)? CRA_SOURCE : CRA_INUSE;425 attribute = target ? CRA_TARGET : source ? CRA_SOURCE : CRA_INUSE; 424 426 pci = (PCNRITEM) WinSendMsg(hwndCnr, CM_QUERYRECORDEMPHASIS, 425 427 MPFROMLONG(CMA_FIRST), MPFROMSHORT(attribute)); … … 437 439 WinSendMsg(hwndCnr, CM_SETRECORDEMPHASIS, MPFROMP(pci), 438 440 MPFROM2SHORT(!quitit, 439 ((target) ? CRA_TARGET : (source)? CRA_SOURCE :440 CRA_INUSE)) );441 target ? CRA_TARGET : source ? CRA_SOURCE : 442 CRA_INUSE)); 441 443 pci = 442 444 WinSendMsg(hwndCnr, CM_QUERYRECORDEMPHASIS, MPFROMP(pci),
Note:
See TracChangeset
for help on using the changeset viewer.