⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 windres.sgml

📁 cygwin, 著名的在win32下模拟unix操作系统的东东
💻 SGML
字号:
<sect1 id="windres"><title>Defining Windows Resources</title><para><filename>windres</filename> reads a Windows resource file(<filename>*.rc</filename>) and converts it to a res or coff file.The syntax and semantics of the input file are the same as for anyother resource compiler, so please refer to any publication describingthe Windows resource format for details.  Also, the<filename>windres</filename> program itself is fully documented in theBinutils manual.  Here's an example of using it in a project:</para><screen>myapp.exe : myapp.o myapp.res	gcc -mwindows myapp.o myapp.res -o $@myapp.res : myapp.rc resource.h	windres $< -O coff -o $@</screen><para>What follows is a quick-reference to the syntax<filename>windres</filename> supports.</para><screen>id ACCELERATORS suboptionsBEG"^C" 12"Q" 1265 1265 12 , VIRTKEY ASCII NOINVERT SHIFT CONTROL ALT65 12 , VIRTKEY, ASCII, NOINVERT, SHIFT, CONTROL, ALT(12 is an acc_id)ENDSHIFT, CONTROL, ALT require VIRTKEYid BITMAP memflags "filename"memflags defaults to MOVEABLEid CURSOR memflags "filename"memflags defaults to MOVEABLE,DISCARDABLEid DIALOG memflags exstyle x,y,width,height styles BEG controls ENDid DIALOGEX memflags exstyle x,y,width,height styles BEG controls ENDid DIALOGEX memflags exstyle x,y,width,height,helpid styles BEG controls ENDmemflags defaults to MOVEABLEexstyle may be EXSTYLE=numberstyles:	CAPTION "string"	CLASS id	STYLE  FOO | NOT FOO | (12)	EXSTYLE number	FONT number, "name"	FONT number, "name",weight,italic	MENU id	CHARACTERISTICS number	LANGUAGE number,number	VERSIONK numbercontrols:	AUTO3STATE params	AUTOCHECKBOX params	AUTORADIOBUTTON params	BEDIT params	CHECKBOX params	COMBOBOX params	CONTROL ["name",] id, class, style, x,y,w,h [,exstyle] [data]	CONTROL ["name",] id, class, style, x,y,w,h, exstyle, helpid [data]	CTEXT params	DEFPUSHBUTTON params	EDITTEXT params	GROUPBOX params	HEDIT params	ICON ["name",] id, x,y [data]	ICON ["name",] id, x,y,w,h, style, exstyle [data]	ICON ["name",] id, x,y,w,h, style, exstyle, helpid [data]	IEDIT params	LISTBOX params	LTEXT params	PUSHBOX params	PUSHBUTTON params	RADIOBUTTON params	RTEXT params	SCROLLBAR params	STATE3 params	USERBUTTON "string", id, x,y,w,h, style, exstyleparams:	["name",] id, x, y, w, h, [data]	["name",] id, x, y, w, h, style [,exstyle] [data]	["name",] id, x, y, w, h, style, exstyle, helpid [data][data] is optional BEG (string|number) [,(string|number)] (etc) ENDid FONT memflags "filename"memflags defaults to MOVEABLE|DISCARDABLEid ICON memflags "filename"memflags defaults to MOVEABLE|DISCARDABLELANGUAGE num,numid MENU options BEG items ENDitems:	"string", id, flags	SEPARATOR	POPUP "string" flags BEG menuitems ENDflags:	CHECKED	GRAYED	HELP	INACTIVE	MENUBARBREAK	MENUBREAKid MENUEX suboptions BEG items ENDitems:	MENUITEM "string"	MENUITEM "string", id	MENUITEM "string", id, type [,state]	POPUP "string" BEG items END	POPUP "string", id BEG items END	POPUP "string", id, type BEG items END	POPUP "string", id, type, state [,helpid] BEG items ENDid MESSAGETABLE memflags "filename"memflags defaults to MOVEABLEid RCDATA suboptions BEG (string|number) [,(string|number)] (etc) ENDSTRINGTABLE suboptions BEG strings ENDstrings:	id "string"	id, "string"(User data)id id suboptions BEG (string|number) [,(string|number)] (etc) ENDid VERSIONINFO stuffs BEG verblocks ENDstuffs:	FILEVERSION num,num,num,num	PRODUCTVERSION num,num,num,num	FILEFLAGSMASK num	FILEOS num	FILETYPE num	FILESUBTYPE numverblocks:	BLOCK "StringFileInfo" BEG BLOCK BEG vervals END END	BLOCK "VarFileInfo" BEG BLOCK BEG vertrans END ENDvervals: VALUE "foo","bar"vertrans: VALUE num,numsuboptions:	memflags	CHARACTERISTICS num	LANGUAGE num,num	VERSIONK nummemflags are MOVEABLE/FIXED PURE/IMPURE PRELOAD/LOADONCALL DISCARDABLE</screen></sect1>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -