Resource Types

The following are the predefined resource types.

Constant/valueDescription
RT_ACCELERATOR
MAKEINTRESOURCE(9)

Accelerator table.

RT_ANICURSOR
MAKEINTRESOURCE(21)

Animated cursor.

RT_ANIICON
MAKEINTRESOURCE(22)

Animated icon.

RT_BITMAP
MAKEINTRESOURCE(2)

Bitmap resource.

RT_CURSOR
MAKEINTRESOURCE(1)

Hardware-dependent cursor resource.

RT_DIALOG
MAKEINTRESOURCE(5)

Dialog box.

RT_DLGINCLUDE
MAKEINTRESOURCE(17)

Allows a resource editing tool to associate a string with an .rc file. Typically, the string is the name of the header file that provides symbolic names. The resource compiler parses the string but otherwise ignores the value. For example,

1 DLGINCLUDE "MyFile.h"

RT_FONT
MAKEINTRESOURCE(8)

Font resource.

RT_FONTDIR
MAKEINTRESOURCE(7)

Font directory resource.

RT_GROUP_CURSOR
MAKEINTRESOURCE((ULONG_PTR)(RT_CURSOR) + 11)

Hardware-independent cursor resource.

RT_GROUP_ICON
MAKEINTRESOURCE((ULONG_PTR)(RT_ICON) + 11)

Hardware-independent icon resource.

RT_HTML
MAKEINTRESOURCE(23)

HTML resource.

RT_ICON
MAKEINTRESOURCE(3)

Hardware-dependent icon resource.

RT_MANIFEST
MAKEINTRESOURCE(24)

Side-by-Side Assembly Manifest.

RT_MENU
MAKEINTRESOURCE(4)

Menu resource.

RT_MESSAGETABLE
MAKEINTRESOURCE(11)

Message-table entry.

RT_PLUGPLAY
MAKEINTRESOURCE(19)

Plug and Play resource.

RT_RCDATA
MAKEINTRESOURCE(10)

Application-defined resource (raw data).

RT_STRING
MAKEINTRESOURCE(6)

String-table entry.

RT_VERSION
MAKEINTRESOURCE(16)

Version resource.

RT_VXD
MAKEINTRESOURCE(20)

VXD.

Requirements

Header

Winuser.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft