CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BCB3] Adding Custom Components to the Palette
> Has anyone had any luck adding there old components to the
> BCB3 palette? I managed to add a component, but I can't
> get it to recognize the palette icon in my DCR file.
You need to add the following line to your CPP file:
#pragma resource "*.res"
or
#pragma resource "*.dcr"
I've only dealt with *.res files, but I assume the *.dcr file would
work the same way.
Michael Trier
Developer's Corner Journal
http://www.pobox.com/~dcj/journal
mailto:mtrier@pobox.com
-----------------------------
Actual News Headlines:
Stolen Painting Found by Tree
W Komornicki's Home Page |
Main Index |
Thread Index