ATL Drawing issue

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi!

I've got a mechanism where I am keeping a memory bitmap, drawing
everything onto it with my own custom library and finally BitBlt it in
my OnDraw / OnDrawAdvanced routine's hdc. Whenever my ActiveX Control
gets resized, I am re-creating the memory bitmap and re-drawing my
stuff onto it. This works like a charm except when using the activex
control within Internet Explorer and trying to print. Then my whole
thing gets stretched weird. I have been seeking the web for quite a
while and still I am really really lost. All I'd like to do for now is
to be able to re-create my bitmap when printing or doing a print-
preview in IE and BitBlt it 1:1 on the current context so that it
doesn't get stretched. Is this somehow possible? If yes, how? Sorry
for this silly and dumb question but after spending a few days into
that without success, I am really lost..

Thanks + Regards
Alex
.