passing value into ondraw function

  • Thread starter Thread starter ellieong
  • Start date Start date
E

ellieong

Hi

How do I pass a value let's say an integer value into the
ondraw function, in order to vary the position of any
drawing for instance a line?

Ellie.
 
How do I pass a value let's say an integer value into the
ondraw function, in order to vary the position of any
drawing for instance a line?

Since OnDraw is called by the MFC framework, you can't change it that
way.

What you can do is have a member variable in your view class that is
the position value.

Dave
 
Back
Top