mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
4fe5d38bfa
- allow to cange zoom factor and display zoom factor - add accelerator table svn path=/trunk/; revision=18415
91 lines
2.1 KiB
Text
91 lines
2.1 KiB
Text
/* $Id$ */
|
|
|
|
#include <windows.h>
|
|
#include "resource.h"
|
|
|
|
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Zoomin Utility\0"
|
|
#define REACTOS_STR_INTERNAL_NAME "zoomin\0"
|
|
#define REACTOS_STR_ORIGINAL_FILENAME "zoomin.exe\0"
|
|
#include <reactos/version.rc>
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_ZOOMIN ICON DISCARDABLE "res/zoomin.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Bitmap
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
IDR_ZOOMIN_MENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "E&xit\tAlt-F4", ID_EDIT_EXIT
|
|
END
|
|
POPUP "&Edit"
|
|
BEGIN
|
|
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY, GRAYED
|
|
MENUITEM "&Refresh\tF5", ID_EDIT_REFRESH
|
|
END
|
|
POPUP "&Options"
|
|
BEGIN
|
|
MENUITEM "&Refresh Rate...", ID_OPTIONS_REFRESH_RATE, GRAYED
|
|
END
|
|
POPUP "&Help"
|
|
BEGIN
|
|
MENUITEM "&About ...", ID_HELP_ABOUT
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_ABOUTBOX DIALOG DISCARDABLE 22, 17, 230, 75
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "About"
|
|
FONT 8, "System"
|
|
BEGIN
|
|
ICON IDI_ZOOMIN,IDI_ZOOMIN,14,9,16,16
|
|
LTEXT "ReactOS zoomin Version 1.0",IDC_STATIC,49,10,119,8,
|
|
SS_NOPREFIX
|
|
LTEXT "Copyright (C) 2002 ReactOS Team",IDC_STATIC,49,20,119,8
|
|
DEFPUSHBUTTON "OK",IDOK,195,6,30,11,WS_GROUP
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_APP_TITLE "ReactOS Zoomin"
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Accelerator
|
|
//
|
|
|
|
IDR_ZOOMIN ACCELERATORS DISCARDABLE
|
|
BEGIN
|
|
VK_F5, ID_REFRESH, VIRTKEY, NOINVERT
|
|
END
|