rhoepperger
asked on
Render a CHtmlView to a memory device context?
Hello,
I have 2 questions:
1) how would I go about to render a CHtmlView to a memory device context?
what member functions would I have to overload?
(Just BitBlt-ing to a memory device context won't be enough.
I need to actually render to such a DC instead of to the screen.
2) When I use OnPaint then whatever I paint is drawn BEFORE I see the
webpage that CHtmlView. So for example I see my painted stuff flicker
up for a very brief time and then it gets overwritten by the webpage.
How would I go about to paint something ON TOP of the webpage?
Thank you for your answers!
Reinhard
I have 2 questions:
1) how would I go about to render a CHtmlView to a memory device context?
what member functions would I have to overload?
(Just BitBlt-ing to a memory device context won't be enough.
I need to actually render to such a DC instead of to the screen.
2) When I use OnPaint then whatever I paint is drawn BEFORE I see the
webpage that CHtmlView. So for example I see my painted stuff flicker
up for a very brief time and then it gets overwritten by the webpage.
How would I go about to paint something ON TOP of the webpage?
Thank you for your answers!
Reinhard
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I would like to accept williamcampbell's answer (and thank you for it!) but don't see the buttons "Accept answer"...
Could you please accept the answer for me Dan? Thank you.
Thanks WilliamCampbell!
Reinhard
Could you please accept the answer for me Dan? Thank you.
Thanks WilliamCampbell!
Reinhard
Hi Dan,
My name in Austria is Höpperger which in English can be represented as hoepperger or hopperger. As experts-exchange did not allow umlauts, I used rhoepperger while I was still living in Europe. I moved to America 4 years ago and here my name is Hopperger and so I used rhopperger as my username. That's probably how this two account-scenario happened.
Anyway, I CAN log on as rhopperger (the newer account) but no matter what I try, I CANNOT log on as rhoepperger. I get a weird error page (SQL errors and such...) if I try.
So I have no means of loging on as rhoepperger and also cannot give anybody the points for the answer.
As I cannot log onto the site as rhoepperger anyway, there will also be no more problem in the future. The few questions that are still open as rhoepperger will be closed soon and every new question will be under rhopperger.
I accept williamcampbell as the guy who gets the points. Thanks William! And sorry for not closing the question earlier.
And thank you to all, who spent time answering the question.
Kind regards
Rhopperger
My name in Austria is Höpperger which in English can be represented as hoepperger or hopperger. As experts-exchange did not allow umlauts, I used rhoepperger while I was still living in Europe. I moved to America 4 years ago and here my name is Hopperger and so I used rhopperger as my username. That's probably how this two account-scenario happened.
Anyway, I CAN log on as rhopperger (the newer account) but no matter what I try, I CANNOT log on as rhoepperger. I get a weird error page (SQL errors and such...) if I try.
So I have no means of loging on as rhoepperger and also cannot give anybody the points for the answer.
As I cannot log onto the site as rhoepperger anyway, there will also be no more problem in the future. The few questions that are still open as rhoepperger will be closed soon and every new question will be under rhopperger.
I accept williamcampbell as the guy who gets the points. Thanks William! And sorry for not closing the question earlier.
And thank you to all, who spent time answering the question.
Kind regards
Rhopperger
ASKER
Thanks a lot!
Reinhard