📄 prinstaller.rc
字号:
/* * prinstaller.rc * Copyright (C) 2006 Michael H. Overlin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Contact at poster_printer@yahoo.com*/#include "resource.h"#include <windows.h>//#include "c:\program files\microsoft visual studio 8\vc\platformsdk\include\richedit.h"#ifdef _WIN32LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US#pragma code_page(1252)#endif //_WIN32#include "installfiles.rc"#include "..\lib\progressdialog.rc"#include "..\lib\prreadgpldialog.rc"///////////////////////////////////////////////////////////////////////////////// Icon//// Icon with lowest ID value placed first to ensure application icon// remains consistent on all systems.IDI_ICON_INSTALL ICON DISCARDABLE "prinstall.ico"///////////////////////////////////////////////////////////////////////////////// Dialog//IDD_DIALOG_INSTALL DIALOGEX 0, 0, 383, 146STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENUCAPTION "Dialog"FONT 8, "System"BEGIN DEFPUSHBUTTON "INSTALL",IDC_BUTTON_INSTALL,126,103,50,35 PUSHBUTTON "CANCEL",IDC_BUTTON_CANCEL,188,103,50,35 LISTBOX IDC_LIST_INSTALLEDPRINTERS,13,20,102,113,LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL | WS_TABSTOP,WS_EX_STATICEDGE EDITTEXT IDC_EDIT_PRINTERNAME,126,78,152,12,ES_AUTOHSCROLL LTEXT "This is free software. This software is released under the GNU GPL license. You must read the license and agree to its terms before you can install.", IDC_STATIC,126,36,251,26 GROUPBOX "Other printers currently installed: ",IDC_STATIC,5,5, 115,133 LTEXT "Please enter a name for your new printer:",IDC_STATIC, 126,67,141,10 LTEXT "This will install Poster Printer on your system. It you already have a version installed on your system, it will first be removed and deleted.", IDC_STATIC,126,6,249,26 CONTROL "I agree.",IDC_RADIO_IAGREE,"Button",BS_AUTORADIOBUTTON, 252,108,60,10 GROUPBOX "License",IDC_STATIC,246,97,133,45 CONTROL "I do not agree.",IDC_RADIO_IDONOTAGREE,"Button", BS_AUTORADIOBUTTON,252,118,65,15 PUSHBUTTON "Read",IDC_BUTTON_READ,320,108,50,25END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -