RisohEditor - Data types

To Top Page | Previous Page | Next Page


The types of resource data that can be handled by RisohEditor are as follows:

Data type (integer value) Plain explanation Related APIs Remark
RT_CURSOR (1) Cursor image. ??? Affects RT_GROUP_CURSOR.
RT_BITMAP (2) Bitmap. LoadBitmap, LoadImage, CreateDIBSection, DeleteObject Starts with IDB_. Bitmap file (*.bmp) can be extracted.
RT_ICON (3) Icon image. ??? Affects RT_GROUP_ICON
RT_MENU (4) Menu. LoadMenu, LoadMenuIndirect, DestroyMenu Starts with IDR_
RT_DIALOG (5) Dialog. DialogBox, DialogBoxIndirect, DialogBoxIndirectParam, DialogBoxParam, CreateDialog, CreateDialogIndirect, CreateDialogIndirectParam, CreateDialogParam Starts with IDD_. See also RT_DLGINIT.
RT_STRING (6) String table LoadString Individual string IDs start with IDS_.
RT_FONTDIR (7) Font directory. Including FONT with the resource compiler creates RT_FONTDIR along with RT_FONT, but RT_FONTDIR fills in incorrect information for some compilers and can be ignored because it has no special meaning.
RT_FONT (8) Font. AddFontResource, RemoveFontResource, AddFontMemResourceEx, RemoveFontMemResourceEx The contents of the font file remain unchanged.
RT_ACCELERATOR (9) Accelerator key table. LoadAccelerators, TranslateAccelerator, DestroyAcceleratorTable Starts with IDR_.
RT_RCDATA (10) Application-defined data. FindResource, FindResourceEx, LoadResource, LockResource, FreeResource Starts with IDR_. Can be embedded in any data structure. For Delphi apps, it may contain Delphi form data (DFM).
RT_MESSAGETABLE (11) Message table. FormatMessage Starts with MSGID_. It is recommended to use RT_STRING instead, as it will adversely affect compatibility.
RT_GROUP_CURSOR (12) Cursor. LoadCursor, LoadImage, CreateIconFromResource, CreateIconFromResourceEx, LoadCursorFromFile, DestroyCursor Starts with IDC_. Cursor files (*.cur) can be extracted. See also RT_CURSOR.
RT_GROUP_ICON (14) Icon. LoadIcon, LoadImage, CreateIconFromResource, CreateIconFromResourceEx, DestroyIcon Starts with IDI_. Icon files (*.ico) can be extracted. See also RT_ICON.
RT_VERSION (16) Version info. GetFileVersionInfo, GetFileVersionInfoSize, VerFindFile, VerQueryValue The resource name is always 1.
RT_ANICURSOR (21) Animated cursor. DrawIconEx Starts with IDR_. Animated cursor file (*.ani) can be extracted. The data as it is in the file.
RT_ANIICON (22) Animated icon. DrawIconEx Starts with IDR_. Apparently not used much.
RT_HTML (23) HTML data. ??? Starts with IDR_. It may be encoded in UTF-8.
RT_MANIFEST (24) Manifest ??? The resource name has a special meaning. If the description is incorrect, it may not be able to start.
RT_DLGINIT (240) Dialog initialization data. ExecuteDlgInitDx (MZC4) Starts with IDD_. Affects the initialization of the dialog with the same name. See also the MZC4 file "DlgInit.h".
GIF GIF image. GDI+, OleLoadPicture Starts with IDR_. Image file as it is.
JPEG JPEG image. GDI+, OleLoadPicture Starts with IDR_. Image file as it is.
PNG PNG image. GDI+, OleLoadPicture Starts with IDR_. Image file as it is.
TIFF TIFF image. GDI+, OleLoadPicture Starts with IDR_. Image file as it is.
WAVE WAVE sound data. PlaySound, sndPlaySound, mciSendCommand, mciSendString Starts with IDR_. The data as it is in the file.
AVI AVI movie data. Animate_Open, AVIFile, MCIWndRegisterClass, MCIWndCreate, mciSendCommand, mciSendString Starts with IDR_. The data as it is in the file.

The followings are not supported:

RT_DLGINCLUDE (17), RT_VXD (20), RT_PLUGPLAY (19)


To Top Page | Previous Page | Next Page

inserted by FC2 system