// Include our VERSIONINFO structure. // #include "version.h" #include #include #include "upsres.h" //+--------------------------------------------------------------------------- // Icon resources // //+--------------------------------------------------------------------------- // Registry resources // IDR_UPNPFOLD REGISTRY "upnpfold.rgs" IDR_UPNPTRAY REGISTRY "upnptray.rgs" //---[ Tray ]----------------------------------------------------------------- ///////////////////////////////////////////////////////////////////////////// // // Icon // // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. // when complete list of default icons made available, rearrage the resource ids // in respective group of applicances IDI_TRAYICON ICON "..\\res\\upnp_16x16.ico" IDI_UPNPDEVICE ICON "..\\res\\upnpdevice.ico" IDI_UPNP_CAMCORDER ICON "..\\res\\Camcorder.ico" IDI_UPNP_DIGITAL_SECURITY_CAMERA ICON "..\\res\\DigitalSecurityCamera.ico" IDI_UPNP_DISPLAY_DEVICE ICON "..\\res\\DisplayDevice.ico" IDI_UPNP_INTERNET_GATEWAY ICON "..\\res\\InternetGateway.ico" IDI_UPNP_PRINTER_DEVICE ICON "..\\res\\PrinterDevice.ico" IDI_UPNP_SCANNER_DEVICE ICON "..\\res\\ScannerDevice.ico" IDI_UPNP_AUDIO_PLAYER ICON "..\\res\\AudioPlayer.ico" ///////////////////////////////////////////////////////////////////////////// // // Menu // POPUP_TRAY MENUEX DISCARDABLE BEGIN POPUP "", 0,MFT_STRING,MFS_ENABLED BEGIN MENUITEM "&View Discovered Devices", CMIDM_TRAY_VIEW_DEVICES,MFT_STRING,MFS_ENABLED END END ///////////////////////////////////////////////////////////////////////////// // // Dialog // IDD_DEVICE_PROPERTIES_GEN DIALOG DISCARDABLE 0, 0, 237, 215 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU FONT 8, "MS Shell Dlg" BEGIN ICON IDI_UPNPDEVICE,IDC_STATIC,14,14,21,20 EDITTEXT IDC_TXT_DEVICE_CAPTION,66,26,160,8, ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER LTEXT "Manufacturer:",IDC_STATIC,7,50,59,8 LTEXT "Model Name:",IDC_STATIC,7,64,59,8 LTEXT "Model Number:",IDC_STATIC,7,78,59,8 LTEXT "Description:",IDC_STATIC,7,92,59,8 LTEXT "Device Address:",IDC_STATIC,7,106,59,8 EDITTEXT IDC_TXT_MODEL_MANUFACTURER,66,50,164,8, ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER EDITTEXT IDC_TXT_MODEL_NAME,66,64,164,8, ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER EDITTEXT IDC_TXT_MODEL_NUMBER,66,78,164,8, ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER EDITTEXT IDC_TXT_MODEL_DESCRIPTION,66,92,164,8, ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER EDITTEXT IDC_TXT_LOCATION,66,106,164,8, ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER END //---[ Folder ]--------------------------------------------------------------- //+--------------------------------------------------------------------------- // Strings resources // STRINGTABLE DISCARDABLE BEGIN IDS_UPNPFOLD_NAME "Universal Plug and Play Devices" IDS_UPNPFOLD_INFOTIP "Universal Plug and Play Device folder" IDS_UPNPDEV_INFOTIP "Device that is available on your network." IDS_LOCAL_NETWORK "Local Network" END STRINGTABLE DISCARDABLE BEGIN IDS_CMIDM_INVOKE "Invokes the URL of the selected device." IDS_CMIDM_CREATE_SHORTCUT "Creates a shortcut to the selected device." IDS_CMIDM_DELETE "Deletes the selected device(s)." IDS_CMIDM_RENAME "Renames the selected device." IDS_CMIDM_PROPERTIES "Displays the properties of the selected device." IDS_CMIDM_ARRANGE "Contains commands for arranging items in the window." IDS_CMIDM_ARRANGE_BY_NAME "Sorts devices alphabetically by name." IDS_CMIDM_ARRANGE_BY_URL "Sorts devices by URL." // Debug only commands // #if DBG IDS_CMIDM_DEBUG "Debugging CmdID: IDS_CMIDM_DEBUG " IDS_CMIDM_DEBUG_TRACING "Debugging CmdID: IDS_CMIDM_DEBUG_TRACING " IDS_CMIDM_DEBUG_REFRESH "Debugging CmdID: IDS_CMIDM_DEBUG_REFRESH " #endif END STRINGTABLE DISCARDABLE BEGIN IDS_UPNPTRAYUI_MANUFACTURER "Manufacturer" IDS_UPNPTRAYUI_GENERAL "General" // This MUST be less than 64 bytes IDS_UPNPTRAYUI_DEVICES_DISCOVERED "New devices are now available on your network." // This MUST be less than 256 bytes IDS_UPNPTRAYUI_VIEWINFO_1 "A new device is now available on your network. For more information, click here." // This MUST be less than 256 bytes IDS_UPNPTRAYUI_VIEWINFO_N "For more information, click here." // This MUST be less than 64 bytes IDS_UPNPTRAYUI_INSTRUCTIONS "View newly discovered UPnP devices" IDS_UPNPTRAYUI_SHORTCUT "The device %s is now available on your network, and can be found in the My Network Places folder on your desktop. Would you like to create a shortcut to this device on your desktop?" IDS_UPNPTRAYUI_DEVICE_REMOVED "The device %s is no longer available on your network." IDS_UPNPTRAYUI_DEVICE_OFFLINE_MSG "The device you are trying to use is not currently available on your network. Check to see if the device is on the network and try again." IDS_UPNPTRAYUI_DEVICE_OFFLINE_TITLE "Device Offline" END MENU_STANDARD MENUEX DISCARDABLE BEGIN POPUP "" BEGIN MENUITEM "&Invoke", CMIDM_INVOKE MENUITEM "", -1, MFT_SEPARATOR MENUITEM "Create &Shortcut", CMIDM_CREATE_SHORTCUT MENUITEM "&Delete", CMIDM_DELETE MENUITEM "Rena&me", CMIDM_RENAME MENUITEM "", -1, MFT_SEPARATOR MENUITEM "P&roperties", CMIDM_PROPERTIES END END MENU_STANDARD_V MENUEX DISCARDABLE BEGIN POPUP "" BEGIN MENUITEM "&Invoke", CMIDM_INVOKE END END POPUP_MERGE_FOLDER_BACKGROUND MENUEX DISCARDABLE BEGIN POPUP "", SFVIDM_MENU_ARRANGE BEGIN MENUITEM "By &Name", CMIDM_ARRANGE_BY_NAME,MFT_STRING,MFS_ENABLED MENUITEM "By &URL", CMIDM_ARRANGE_BY_URL,MFT_STRING,MFS_ENABLED END END