Julie wrote:
> "Monty R. Caywood" wrote:
>
>>Is there a way to add a specific bitmap on a button?
>
>
> class Bitmap
> {
> };
>
> class Button
> {
> public:
> void SetBitmap(const Bitmap & bm)
> {
> /* ... */
> }
> };
>
> int main(/* ... */)
> {
> Bitmap bm;
> Button bt;
> bt.SetBitmap(bm);
> return 0;
> }
Do ya think if the op where make'n his own button and bitmap classes he
would need to ask the question?
And next you'll be going bm.Load( RESOURCE ) and on and on...
Better he look at examples relevant to his OS and development system.
Best, Dan.
--
http://lakeweb.net
http://ReserveAnalyst.com
No EXTRA stuff for email.