Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
530
ultra labels not painting on "splash screen"
posted

I have a splash screen on my application, it is a windows form with no border.  I create it as the app starts, during the creation of my main form.

The screen shows, but the labels with my company name and other details do not paint.  They are show as blank space on the form.

The code is simple, my "Program" class, creates the main form.  The main form has the splash screen created in it's member vars.  In the ctor, I call _splash.Show().  Then later (In the main form's Load handler) I hide it and dispose it.  I even added a _splash.Invalidate(true) after the show, but my labels and pictures are not painted (the appear as control grey blank spaces).

Is there a way to force these labels to show?

Thanks,

Bob

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi Bob,

    The question isn't how to force the labels to show, the question is why aren't they showing in the first place. I'm afraid I can't think of any reason why the labels simply wouldn't show up. This must be causing by something your application is doing. But I don't really have a guess as to what that might be and there's no information here to go on.

    Can you duplicate this in a small sample project?

Reply Children