hi all,
currently i have a CBitmap class which includes the following functions:
void Capture(CRect &rect); //COPY THE CONTENTS OF AN AREA
//OF THE SCREEN INTO A BITMAP OBJECT
HANDLE CreateDIB (int *pbmData = NULL);//convert a device
//dependant bitmap (DDB) into a device
//independent bitmap (DIB)
void Print (CDC *pDC);//provided with a printer
// device context
and what i want to do is to print a view.
i also have a dialog which has a "Print" button.
how should i use the CBitmap to print the view out?
(the view is a clistctrl)
Any suggestions would be gratefully received
Regards,
kaya
currently i have a CBitmap class which includes the following functions:
void Capture(CRect &rect); //COPY THE CONTENTS OF AN AREA
//OF THE SCREEN INTO A BITMAP OBJECT
HANDLE CreateDIB (int *pbmData = NULL);//convert a device
//dependant bitmap (DDB) into a device
//independent bitmap (DIB)
void Print (CDC *pDC);//provided with a printer
// device context
and what i want to do is to print a view.
i also have a dialog which has a "Print" button.
how should i use the CBitmap to print the view out?
(the view is a clistctrl)
Any suggestions would be gratefully received
Regards,
kaya