Pint/Print preview in Dialog

  In a dialog,I have a RichEditCtrl,I
have used ole to insert some object,now
I want to print and print view the content of the RichEditCtrl,how to do it! Thanks!
kart020499Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

chensuCommented:
HOWTO: Use Built-In Printing Features from a Rich Edit Control
http://support.microsoft.com/support/kb/articles/Q129/8/60.asp

PRB: Rich Edit Control Improperly Displays Print Preview
http://support.microsoft.com/support/kb/articles/Q142/3/20.asp

Print Previewing without the Document/View Framework
http://www.codeguru.com/printing/print_preview.shtml

Printing without the Document/View framework
http://www.codeguru.com/printing/printing_wo_docview.shtml
kart020499Author Commented:
  I have seen  all the articles that he mentioned,but it is difficult to do it.
naveenkohliCommented:
kart,
thats the way it is. more sophistication you want, more you need to put in :-) The articles suggested by chensu should get you going..

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

kart020499Author Commented:
thank you,i will try it
naveenkohliCommented:
how did my comment appear as accepted answer? is there something wrong with EE web server or what..??
chensuCommented:
That's a new feature of EE. You can accept a comment as an answer when there is no proposed answer.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.