|
-
November 1st, 1999, 02:03 PM
#1
ATL Drawing Problem(s)
Howdy all.
Well, I've been kncking off the problems on my ATL control pretty quickly But I've still got two stumpers that would appreciate some outside experience.
1) FireViewChange(): This doesn't seem to be doing what I want. I'm calling it, and in the trace it seems to be invalidating everything that needs to be, but OnDraw isn't being called.
2) OnDraw(): Is being called multiple times. With weird parameters. Here's a trace of the OnDraw rectangle:
OnDraw: (10,40)-(650,520)
OnDraw: (10,-110)-(650,370)
OnDraw: (10,-260)-(650,220)
OnDraw: (10,-410)-(650,70)
OnDraw: (10,0)-(650,480)
OnDraw: (10,-150)-(650,330)
OnDraw: (10,-300)-(650,180)
OnDraw: (10,-450)-(650,30)
OnDraw: (10,40)-(650,520)
As you can see, I'm getting all these extraneous calls (only the 10,40,650,520 covers the entire control) I have no idea why the y values are shifting around like that.
Any clues?
Ryan
NeoWorx Inc.
Makers of NeoTrace, NeoLite, and NeoSpace
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|