Bug Report B195057
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Redrawing controls on Windows x64

Grid and other controls inside Split Container paint issue on Windows 7

created 14 years ago

Hello,
We have been developing a currently in use application since 4 years. We decided to install on certain production workstations Windows 7 64 bits, I've also installed W7 64 on my development enviroment, we all were using Windows XP before; and development and production environments were running very stable.
Since the new upgrade we have noticed (including me), a redraw issue in one section of the application; this section (a very important one) contains multiple embedded controls, visualy we are using only the Devx Windows Forms Suite. The issue is only happening with 2 controls inserted on a Splitter Container control of your suite. Panel 1 contains a self made User Control with multiple DevExpress Controls and Panel 2 contains an XtraGrid.GridControl.
If you see the attached picture which contains 3 shots of the application, Shot 1 is the application running no maximized (1000x720 pixels), since we maximize the application as in Shot 2, a band of drawing garbage appears bellow the grid on Panel 2 and the user control on Panel 1, where a resize of these controls should be happening (please note both controls are docked Fill to container = Splitter Container Panels). Also the resizing problem is happening at the right of the grid control as you may notice. Once you click the splitter bar (collapse / restore) as in Shot 3, the controls with drawing issues they redraw/resize perfectly.
In a production environment this is a very annoying issue as you can imagine, because the users should be clicking everytime they have the problem on the splitter bar.
Also note that this is happening only on PCs having installed Windows 7, the rest of the users currently using Windows XP, they don't have the problem, they maximize or resize the application and redraw/resize is running fine.
We were using DevExpress suite 9.2.9, but i've upgraded to 10.2.3 on development environment to check if a bug fix would include this issue, but unfortunaly not. If you have any feedback about any king of problems on Windows 7 while redrawing certain controls, i would really appreciate you support.
Best Regards,
Ariel Garmendia

Show previous comments (7)
DevExpress Support Team 14 years ago

    Hi Ariel,
    I also cannot reproduce the problem using the example project provided by Michael. However, I see that the layout on your screenshot is more complex. This fact, fact that this problem is reproduced on an x64 machine lead me to believe that the described issue is related to this bug: Vista 64 layout issue. This is also confirmed by the fact that the code you posted helps you. So, I believe that you found a correct solution.
    Thanks,
    Uriah.

      Hi Uriah,
      thanks a lot for your support and also to Michael,
      regards
      Ariel

      DevExpress Support Team 14 years ago

        You are welcome, Ariel!
        Please feel free to contact us again, if you experience any difficulty when using our components.
        Thanks,
        Uriah.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.