Resourse files can get Quite involved. I, however, only (at the moment) use them for bitmaps (used primarily with control add imagex) and ICONS (primarily used for the upper left corner of the dialog). A resourse file for an
icon only is simple.
The line shown in my code example is a typical line. the file is saved as an RC
file extension (without the ' of course).
then in the pb???\bin folder (pb??? being whatever version pbdll60, pbwin80, etc)
do a rc \fullpath\rc file name
then
pbres \fullpath\rc file name
this makes the pbr file.
I think version 8.+ will compile them right from the ide, but i am still using a
bat file i made to compile them called rcres.bat
assume starting in pbwin80\samples
cd\PBwin80\bin
rc \pbwin80\samples\%1
pbres \pbwin\samples\%1
cd\pbwin80\samples
CALLInG SEQUENCE
RCRES MYRCFILENAME
there is an example of calling the icon in the source code above.
icon only is simple.
The line shown in my code example is a typical line. the file is saved as an RC
file extension (without the ' of course).
then in the pb???\bin folder (pb??? being whatever version pbdll60, pbwin80, etc)
do a rc \fullpath\rc file name
then
pbres \fullpath\rc file name
this makes the pbr file.
I think version 8.+ will compile them right from the ide, but i am still using a
bat file i made to compile them called rcres.bat
assume starting in pbwin80\samples
cd\PBwin80\bin
rc \pbwin80\samples\%1
pbres \pbwin\samples\%1
cd\pbwin80\samples
CALLInG SEQUENCE
RCRES MYRCFILENAME
there is an example of calling the icon in the source code above.
Comment