Changeset 217 for trunk/mediafolder/c


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

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

Location:
trunk/mediafolder/c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/mediafolder/c/m3ufolder/m3ufolderoverriddenwpmethods.cpp

    r181 r217  
    294294                  if(hResource) {
    295295                    /* insert separator */
    296                     getMessage(text, IDSTR_M3ULISTHELP ,sizeof(text), hResource, hwnd);
    297                     menuInsertMenuItem(HWNDFROMMP(mp2), NULL, 0, ID_M3ULISTHELP, text);
    298                     menuInsertMenuSeparator(HWNDFROMMP(mp2), NULL, 1);
     296                    //getMessage(text, IDSTR_M3ULISTHELP ,sizeof(text), hResource, hwnd);
     297                    //menuInsertMenuItem(HWNDFROMMP(mp2), NULL, 0, ID_M3ULISTHELP, text);
     298                    //menuInsertMenuSeparator(HWNDFROMMP(mp2), NULL, 1);
    299299                    menuInsertMenuSeparator(HWNDFROMMP(mp2), NULL, MIT_END);
    300300                    /* Insert 'About' item */
  • trunk/mediafolder/c/mediafldr/mediadialogprocs.cpp

    r201 r217  
    257257                /* insert separator */
    258258                /* Insert 'About' item */
    259                 getMessage(text, IDSTR_MEDIAFLDHELP ,sizeof(text), hResource, hwnd);
     259                //getMessage(text, IDSTR_MEDIAFLDHELP ,sizeof(text), hResource, hwnd);
    260260                //menuInsertMenuItem(HWNDFROMMP(mp2), NULL, 0, ID_MEDIAFLDHELP, text);
    261261                //menuInsertMenuSeparator(HWNDFROMMP(mp2), NULL, 1);
     262                WinSendMsg(HWNDFROMMP(mp2),MM_REMOVEITEM,MPFROM2SHORT(603,TRUE),0);
     263                getMessage(text, IDSTR_MEDIAFLDKEYSHELP ,sizeof(text), hResource, hwnd);
     264                menuInsertMenuItem(HWNDFROMMP(mp2), NULL, MIT_END, ID_MEDIAFLDKEYSHELP, text);
    262265                menuInsertMenuSeparator(HWNDFROMMP(mp2), NULL, MIT_END);
    263266                /* Insert 'About' item */
  • 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.