Главная страница | назад





Article #16937: Custom resources for CBuilder projects

 Question and Answer Database
FAQ1937C.txt Custom resources for CBuilder projects
Category :VCL
Platform :All
Product :C++Builder 1.x
Question:
How do I include custom resources in my CBuilder projects?
Answer:
For resources such as icons, cursors, and user defined resources,
you will need to use the Image Editor(tm) and create a .res file
that is different from the default .res file that is generated by
the IDE. Put your resources in there and use:
#pragma resource "myniftycustomresources.res"
to add it to the project.
Check out the Swat project for an example of doing this with
cursors.
5/18/98 8:49:59 AM

Last Modified: 01-SEP-99