print dlg question
Posted on 1997-04-25
I would like to set up a print option in my dialog box program.
I think it should go like this, am I way off base?
char* pBuf //set up a char array of ptrs
pBuf = *m_MonPlan; //put a pointer to the member variables
PBuf = *m_TuePlan;
//then print out the member variables.
pDC->TextOut(0, pbuf); // write the string in pbuf
//would I use a iteration loop or will mfc print out
//the whole string til a null char/pointer?
I have looked in the MS KB and got a doc, but it is still confusing to me. I understand I must get the CDC but do I need a m_startpage. any help appreciated. I have searched the msvc help, the numerous ref books, they got me this
far but when it comes to dlg boxes it isnt the most informative. Im sorry if this is obvious.