--- mstools/samples/sdktools/netwatch/netwatch.rc 2018/08/09 18:24:28 1.1 +++ mstools/samples/sdktools/netwatch/netwatch.rc 2018/08/09 18:27:28 1.1.1.2 @@ -16,6 +16,10 @@ IDD_MENU MENU MENUITEM "&Properties...", IDM_PROPERTIES MENUITEM "Select &Computer...", IDM_SELECTCOMPUTER MENUITEM "Clo&se Resource\tDel", IDM_DELETERESOURCE +#ifdef DOSHAREMANAGE + MENUITEM SEPARATOR + MENUITEM "&Manage Shares...\tCtrl+S", IDM_SHAREMANAGE +#endif MENUITEM SEPARATOR MENUITEM "E&xit", IDM_EXIT } @@ -29,6 +33,8 @@ IDD_MENU MENU MENUITEM "&Always on Top\tCtrl+A", IDM_TOPMOST MENUITEM SEPARATOR MENUITEM "&Refresh\tF5", IDM_REFRESH + MENUITEM SEPARATOR + MENUITEM "A&bout Net Watch..." IDM_ABOUT } } @@ -40,6 +46,9 @@ IDD_ACCL ACCELERATORS "^I", IDM_SHOWINUSE "^N", IDM_NOMENUBAR "^A", IDM_TOPMOST +#ifdef DOSHAREMANAGE + "^S", IDM_SHAREMANAGE +#endif VK_RETURN, IDM_PROPERTIES, VIRTKEY, ALT } @@ -67,15 +76,17 @@ STRINGTABLE IDS_ERRENUMFILES, TEXT("Error enumerating files") IDS_ERRENUMUSERS, TEXT("Error enumerating users") IDS_ERRMEMORY, TEXT("Insufficient memory to complete the operation.") + IDS_ERRWFW, TEXT("Net Watch cannot view the selected computer. This may be because the selected computer is not running Windows NT.") IDS_GUEST, TEXT(" (Guest)") IDS_COMPNOTFOUND, TEXT("The Computer %s can not be found.") IDS_WINDOWTEXT, TEXT("%s - %d Connections to %s") IDS_WINDOWTEXT1, TEXT("%s - %d Connection to %s") IDS_NOLIMIT, TEXT("Unlimited") - IDS_AREYOUSURE+LBITEM_FILE, TEXT("Forcing %s to close %s may result in loss of data. Do you want to continue?") - IDS_AREYOUSURE+LBITEM_USER, TEXT("The selected user has open resources. Disconnecting the user may cause loss of data. Are you sure you want to disconnect %s from all connected resources?") + IDS_AREYOUSURE+LBITEM_FILE, TEXT("Forcing %s to close %s may result in loss of data. Do you want to continue?") + IDS_AREYOUSURE+LBITEM_USER, TEXT("The selected user has open resources. Disconnecting the user may cause loss of data. Are you sure you want to disconnect %s from all connected resources?") IDS_AREYOUSURE+LBITEM_SHARE, TEXT("At least one user is connected to this shared directory. Loss of data may result if you stop sharing this directory. Do you want to continue?") + IDS_DISUSER, TEXT("Are you sure you want to disconnect %s from all connected resources?") IDS_SHAREPROPS+0, TEXT("Share Name:") // bitmap #0 (folder) IDS_SHAREPROPS+1, TEXT("Path:")