Ignore:
Timestamp:
May 3, 2025, 8:28:15 PM (3 months ago)
Author:
gyoung
Message:

Get "keys help" to show program specific keys help instead of WPS key help. Includes updating the documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mediafolder/c/mediafldr/mediafolderoverridenwpmethods.cpp

    r178 r217  
    606606
    607607  /* This works only on Warp 4 and above */
    608   bufferSize=sizeof(buffer);
    609   if(!wpScanSetupString(pSetupString,"DETAILSTODISPLAY",buffer,&bufferSize))
     608 /* bufferSize=sizeof(buffer);
     609  if(!wpScanSetupString(pSetupString,"DETAILSTODISPLAY",buffer,&bufferSize))*/
    610610    /* This works only on Warp 4 and above */
    611     wpSetup("DETAILSTODISPLAY=0,1,4,12,13,14,15,16,17,18,19,20,21");/* Fill in defaults */
     611   // wpSetup("DETAILSTODISPLAY=0,1,4,12,13,14,15,16,17,18,19,20,21");/* Fill in defaults */
    612612
    613613  /* This works only on Warp 4 and above */
     
    875875      return TRUE;
    876876      //#endif
     877#if 0
    877878    case ID_MEDIAFLDHELP: {
    878879      STARTDATA SData;
     
    935936      return TRUE;
    936937    }
     938#endif
     939    case ID_MEDIAFLDKEYSHELP: {
     940        CHAR HelpLibrary[CCHMAXPATH];
     941        ULONG Id;
     942        wpQueryDefaultHelp(&Id, HelpLibrary);
     943        if (Id == IDHLP_MEDIAFOLDERMAIN)
     944            wpDisplayHelp(IDHLP_MEDIAFOLDERKEYS, HelpLibrary);
     945        else
     946            wpDisplayHelp(IDHLP_CDPLAYERKEYS, HelpLibrary);
     947        return TRUE;
     948    }
     949
    937950    case 0x2ce: /* Detail view */
    938951      /* Call parent */
     
    10931106            usIndicator = DOR_NEVERDROP;
    10941107            usOp = 0;
    1095             goto quit;
     1108            break;
    10961109         } /* endif */
    10971110#if 0
     
    11021115#endif
    11031116       }
     1117
    11041118     /* Do not create shadows if the source is the current container */
    11051119     if(hwndCnr==pDragInfo->hwndSource) {
Note: See TracChangeset for help on using the changeset viewer.