Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to print a view dynamicly

Status
Not open for further replies.

kaya17

Programmer
Feb 9, 2004
78
SG
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top