|
He was trying to say:
The Resource View initially does not contain categories (logical folders) such as "BMP" ...
Maxwell Chen
|
|
|
|
|
yes, how to add this folder"BMP" and the bitmap into this folder?
|
|
|
|
|
Right-click at the root of the Resource view, [Add] - [Resource].
Click Bitmap or something you like the button [Custom ...], then the resource manager will let you name the type.
Maxwell Chen
-- modified at 5:50 Tuesday 18th July, 2006
|
|
|
|
|
how about to add the bitmap file inside the folder?
|
|
|
|
|
when you add a resource, it places it in the correct folder...
so import your bmp and you will see the bmp\ folder appearing.
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
Yes, to import will have the chance to name the folder.
Maxwell Chen
|
|
|
|
|
when i import the bitmap file into "BMP" folder, it auto add into the folder "Bitmap"
|
|
|
|
|
I guess he said right clickin resource Add resource ->Custom(Resource type)
whitesky
|
|
|
|
|
|
|
dude, i don't really know what you're doing, but aren't you complicating your life for nothing ? why do you absolutely need it named "BMP" instead of "Bitmap" ?
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
When you want to insert resource use from Custom
whitesky
|
|
|
|
|
Hello,
me or mimimimilaw
whitesky
|
|
|
|
|
|
my friends are
I think he want to add jpg file to resource
whitesky
|
|
|
|
|
mimimimilaw wrote: want to know how and the bmp to .rc as like as that
you can include BMP file in resource file! but can convert bmp to rc
|
|
|
|
|
How to convert bmp to rc?
|
|
|
|
|
mimimimilaw wrote: How to convert bmp to rc?
you don't !!!
you simply import your bmp INTO the resource file
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
You do not have to convert, just import it.
Maxwell Chen
|
|
|
|
|
mimimimilaw wrote: ow to convert bmp to rc?
you can't convert bmp into RC
|
|
|
|
|
Is your problem solve (previous)?
whitesky
|
|
|
|
|
|
I want to help you i cant find error?it work
whitesky
|
|
|
|
|
|
if you want to add bmp file to your project you can use in resource view window right click->Add resource->Import->and select bmp file and now you can CBitmap::Load for load this file and use m_hObject handle in your project
And i guess you want to show image file
--------
if you want to load other files(jpg) you can read this file from disk with CImage::Load
--------
if you want to use like previous link
in resource view window right click->Add resource->Import->now select your file now you want insert a name for resource type for example BMP now you have "BMP" (Folder)in your procject and into IDR_BMP(set to "IDR_BMP") and if you use FindRe... you can load this file and use like this program.
I hope its helpful to you
whitesky
|
|
|
|