Results 1 to 4 of 4

Thread: [RESOLVED] [2.0] Equivalence of ListView.BeginUpdate() for other controls

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

    Resolved [RESOLVED] [2.0] Equivalence of ListView.BeginUpdate() for other controls

    Is there a similar function in the Control or UserControl class to prevent the control from painting such as the ListView.BeginUpdate() and ListView.EndUpdate()?

    I have a UserControl inherited class that loads a bunch of controls and I'd like it not to display until the loading is done.

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

    Re: [2.0] Equivalence of ListView.BeginUpdate() for other controls

    Oh, and setting DoubledBuffered to true doesn't help in case you're going to suggest that.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2.0] Equivalence of ListView.BeginUpdate() for other controls


  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

    Re: [2.0] Equivalence of ListView.BeginUpdate() for other controls

    Quote Originally Posted by mendhak
    ugh! I can't believe MS has once again reduced us to raw winAPI calls.

    I actually just hide the parent control, add all of the child controls, then show the parent control again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width