I am trying to create a memory dc that is compatible with the my dialog box
dc. I am overriding the OnPaint method which gives me a CPaintDC. When I
try to create a memory dc that is compatible with the CPaintDC
(CreateCompatibleDC), I get a compile error. When I try to typecast the
CPaintDC to a CDC, I also get a compile error. Any ideas? Thanks in
advance!
Jon
jhs <j...@sweng.wpb.nuwc.navy.mil> wrote in article
<01bc4c11$d970e1e0$575561c6@strauss>...
What is the error? Are you remembering that the CPaintDC in the OnPaint
message is an Object, not a pointer to an object - which is what
CreateCompatibleDC requires?
Chris
--
Chris Jackson : chr...@eurodltd.co.uk , ch...@redlands.demon.co.uk
My Opinions, not my Companys' - so there!