|
|
#define WIN32_LEAN_AND_MEAN #include <windows.h>
#include "resource.h" #include "servui.rcv"
///////////////////////////////////////////////////////////////////////////// // // MENU - POPUP - Right Click on TaskBar Icon // // This menu is displayed on a right click of the taskbar icon // IDM_TRAY_POPUP_MENU MENU DISCARDABLE BEGIN POPUP "&File" BEGIN MENUITEM "&Configure", IDM_POPUP_OPEN MENUITEM SEPARATOR MENUITEM "E&xit", IDM_POPUP_EXIT END END
///////////////////////////////////////////////////////////////////////////// // // Dialog //
IDD_CONFIG_DIALOG DIALOGEX 0, 0, 252, 225 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Microsoft .Net Slideshow Projector" FONT 8, "MS Shell Dlg" BEGIN ICON IDI_MONITOR,IDC_MYPICTURES_ICON,7,7,21,20 LTEXT "Microsoft .Net Slideshow Projector", IDC_DIALOG_DESCRIPTION,41,13,204,8 CONTROL "",IDC_DIVIDER,"Static",SS_ETCHEDHORZ,7,34,238,1 LTEXT "More",IDC_FREQ_LESS,7,54,17,8 CTEXT "XXXXXXXXXXXXXXXXXXXXXXXX",IDC_MINUTES_AND_SECONDS,35,66, 182,8 LTEXT "Less",IDC_FREQ_MORE,229,54,16,8,0,WS_EX_RIGHT LTEXT "How often should pictures &change?", IDC_FREQUENCY_STATIC,7,40,238,8 CONTROL "",IDC_FREQUENCY,"msctls_trackbar32",TBS_AUTOTICKS | TBS_NOTICKS | WS_TABSTOP,35,51,182,15 LTEXT "Smaller",IDC_SIZE_LESS,7,94,24,8 CTEXT "XXXXXXXXXXXXXXXXXXXXXXXX",IDC_IMAGE_SIZE_DESC,35,107, 182,8 LTEXT "Larger",IDC_SIZE_MORE,224,94,21,8,0,WS_EX_RIGHT LTEXT "&How big should pictures be?",IDC_MAX_SIZE_STATIC,7,81, 238,8 CONTROL "",IDC_MAX_SIZE,"msctls_trackbar32",TBS_AUTOTICKS | TBS_NOTICKS | WS_TABSTOP,35,91,182,15 LTEXT "Use &pictures in this folder:",IDC_STATIC,7,122,238,8 EDITTEXT IDC_IMAGEDIR,7,134,184,14,ES_AUTOHSCROLL | ES_READONLY PUSHBUTTON "&Browse",IDC_BROWSE,195,134,50,14 CONTROL "Stretch s&mall pictures",IDC_ALLOWSTRETCHING,"Button", BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,7,157,238,10 CONTROL "&Show file names",IDC_DISPLAYFILENAME,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,7,171,238,10 CONTROL "Allow scrolling through pictures with the &keyboard", IDC_ALLOW_KEYBOARDCONTROL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,185,238,10 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,201,237,1 DEFPUSHBUTTON "OK",IDOK,87,206,50,14 PUSHBUTTON "Cancel",IDCANCEL,141,206,50,14 PUSHBUTTON "Apply",IDC_APPLY,195,206,50,14,WS_DISABLED END
///////////////////////////////////////////////////////////////////////////// // // Icon //
// Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDI_MONITOR ICON DISCARDABLE "monitor.ico"
///////////////////////////////////////////////////////////////////////////// // // StringTable // STRINGTABLE DISCARDABLE BEGIN IDS_MINUTES_AND_SECONDS "%d minutes and %d seconds" IDS_MINUTE_AND_SECONDS "%d minute and %d seconds" IDS_MINUTES_AND_SECOND "%d minutes and %d second" IDS_MINUTE_AND_SECOND "%d minute and %d second" IDS_SECONDS "%d seconds" IDS_SECOND "%d second" IDS_MINUTES "%d minutes" IDS_MINUTE "%d minute" IDS_PERCENT "%d%% of the screen" IDS_ERR_INVALID_DEVICE_DIR "The application directory '%s' does not exist. This will prevent clients from accessing the Slideshow Server" IDS_ERR_INVALID_IMAGE_DIR "The images directory '%s' does not exist." IDS_ERR_SLIDESHOW_SERVER_NOT_FOUND "The Slideshow Server was not found. Please make sure the 'msprjctr.dll' exists and is registered" IDS_ERR_SERVER_ERROR "Unknown server error" IDS_ERR_CAPTION "Error: Microsoft .Net Slideshow Projector" IDS_ERR_FAILED_TO_START_SLIDESHOW "Failed to start the slideshow projector. Please ensure that Universal Plug and Play is installed, and the SSDP Service is started." END
|