Suspending screen updates

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    Suspending screen updates

    Hi

    I have a winform with a panel on it. I am doing visual changes to the panel.
    Is there a way to suspend screen painting during these changes? If the whole
    form needs its display suspended then that would work for me too. How can I
    do this?

    Thanks

    Regards


  • Armin Zingler

    #2
    Re: Suspending screen updates

    "John" <info@nospam.in fovis.co.ukschr ieb
    I have a winform with a panel on it. I am doing visual changes to
    the panel. Is there a way to suspend screen painting during these
    changes? If the whole form needs its display suspended then that
    would work for me too. How can I do this?
    You'll get the best solution if you tell us why you want to do this. Do
    you do a lot of visual changes and do you want to speed it up? How long
    does it currently take? What kind of changes?


    Armin

    Comment

    • John

      #3
      Re: Suspending screen updates

      Hi Armin

      I am adding several controls to the panel and would like to display them all
      at once when the update is complete.

      Many thanks for your time.

      Regards

      "Armin Zingler" <az.nospam@free net.dewrote in message
      news:edPnvXVsIH A.524@TK2MSFTNG P05.phx.gbl...
      "John" <info@nospam.in fovis.co.ukschr ieb
      >I have a winform with a panel on it. I am doing visual changes to
      >the panel. Is there a way to suspend screen painting during these
      >changes? If the whole form needs its display suspended then that
      >would work for me too. How can I do this?
      >
      You'll get the best solution if you tell us why you want to do this. Do
      you do a lot of visual changes and do you want to speed it up? How long
      does it currently take? What kind of changes?
      >
      >
      Armin
      >

      Comment

      • Armin Zingler

        #4
        Re: Suspending screen updates

        "John" <info@nospam.in fovis.co.ukschr ieb
        Hi Armin
        >
        I am adding several controls to the panel and would like to display
        them all at once when the update is complete.
        Can you hide the whole panel before and show it afterwards? Maybe show
        an additional "please wait..." label (or similar) during the operation.
        How long does it currently take?
        ? (just to receive an impression)


        AZ

        Comment

        • Cor Ligthert[MVP]

          #5
          Re: Suspending screen updates

          John,

          Those controls where this makes sense have properties for this.

          Have a look at the listview by instance.



          Cor


          "John" <info@nospam.in fovis.co.ukschr eef in bericht
          news:eGLbN7UsIH A.484@TK2MSFTNG P04.phx.gbl...
          Hi
          >
          I have a winform with a panel on it. I am doing visual changes to the
          panel. Is there a way to suspend screen painting during these changes? If
          the whole form needs its display suspended then that would work for me
          too. How can I do this?
          >
          Thanks
          >
          Regards
          >
          >

          Comment

          Working...