Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8820107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:31:35+00:00 2026-06-14T05:31:35+00:00

I have a winform within a remote desktop application that is built dynamically with

  • 0

I have a winform within a remote desktop application that is built dynamically with a container panel for a toolbar with large (regular) buttons. The application is writen in C# and .NET 4.0. The application is viewed as it should only if I do not maximize the window (meaning restored view is fine).

Now, after RDP login – within most client computers – the application looks fine (even when we maximize and restoring). Within low resolution client computers (800×600), the buttons on the toolbar are not displayed in the right position (such as in the 1024×768 clients).

I used double buffering and it didn’t help… the problem may or may not be depended on the screen resolution (it can be memory issue or something). It is not a problem of localization layout.

The following image shows the Fine and Bad states: https://i.stack.imgur.com/fPHD9.jpg

What can I do to resolve this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T05:31:36+00:00Added an answer on June 14, 2026 at 5:31 am

    OK, so in case anybody gets to this kind of case, this is the thing that made the issue:

    In the form, there was an empty repaint override. The programmer that created the form was overriding the repaint with an empty method (don’t know why, I guess I’ll ask my team for the business logic).

    How did I reproduce it in the development environment? Following Albin Sunnanbo’s note, I ran the RDP application in minimized version during initialization, and I noticed that it occurs with large resolution clients also in this use case… So, I know repaint occurs while performing a window resize – and this made me suspicious about the method…

    ==> On a side note, I guess this is why inheritance is so bad, and going on to WPF is better. It took me 3 days to understand why this issue occurred.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have a Winform with 3 adjacent Textboxes, all within a Panel that
I have a winform application that goes with name myForm . Within this form
I have a winform application that contains a c# webbrowser control.Webbrower control load a
I have a winform application that works with/for third party exes. These third party
I have a C# .dll that is envoked from within a C# application useing
i have Winform application who run all the files within listbox, i am using
I have made a winform application for use within the company I work for(
I have a .NET winform application that writes an XML data file, but I
I have to develop a application (Winforms-application) which is connected to a database within
I have a winform (in C#) that encrypt and decrypt a file... it's OK,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.