Click here to Skip to main content
13,451,663 members (44,460 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I am working on a drawing application like paintbrush. I am using VS2005. It is working very nicely on winXP, but on windows7 it is giving some problem.
1. On Opening of context-menu, the drawing that user have drawn automatically gets cleared.
2. I have added a form as child form of main form and i am drawing on main form. While moving this child form over drawing drawn by user, that form works as eraser which erases all drawing.

I am not getting these issues on WinXP. But i am facing these issues in Win7.

I am not getting any workaround other than switching off auro. But i don't want to do that.
Anyone have any clue or any workaround for this issue?

Posted 5-Dec-10 23:43pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Sounds to me that it accidentially works on Windows XP and does not work anymore on Windows 7.

So for me, your design seems to be broken. Do you react correctly to paint events for your window/control? Do you set the correct window styles, telling the system who's responsible for drawing? Do you handle the background paint event correctly?


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.180318.3 | Last Updated 6 Dec 2010
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100