Hi all,
Is it possible to create a bitmap like CBitmap *a=new CBitmap() of a given width, height, etc. and then actually set its pixel colours, ie
a->setPixel(20, 30, red, green, blue)
i think this is possible - according to vc++ help.
but...
then is it possible to attach this bitmap to a dialog control to display the bitmap in the dialog? (maybe by using a CPictureHandler or something)
i'm not quite sure how to go about this. i'm using MFC and i have just got to grips with that! i'm a tad baffled by it all so any help would be much appreciated.
thanks,
Paul./
Is it possible to create a bitmap like CBitmap *a=new CBitmap() of a given width, height, etc. and then actually set its pixel colours, ie
a->setPixel(20, 30, red, green, blue)
i think this is possible - according to vc++ help.
but...
then is it possible to attach this bitmap to a dialog control to display the bitmap in the dialog? (maybe by using a CPictureHandler or something)
i'm not quite sure how to go about this. i'm using MFC and i have just got to grips with that! i'm a tad baffled by it all so any help would be much appreciated.
thanks,
Paul./