VB.Net and LockWindowUpdate

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

    VB.Net and LockWindowUpdate

    Hello,

    I have used the API Function "LockWindowUpda te" in my VB 6 applications and
    was curious if this API function still exists in VB.Net. I have spent 4
    hours surfing the 'net for an example but found nothing that seems to work.
    If "LockWindowUpda te" is still valid in VB.Net could some provide a sample
    where a form is locked?

    Cheers,
    Richard


  • Éric Moreau [VB MVP]

    #2
    Re: VB.Net and LockWindowUpdat e

    Did you have a look at SuspendLayout and ResumeLayout?

    --

    HTH

    Éric Moreau
    MCSD, Visual Developer - Visual Basic MVP
    (http://aspnet2.com/mvp.ashx?EricMoreau)
    Conseiller Principal / Senior Consultant
    Concept S2i inc.(www.s2i.com)


    "Richard Thornley" <rhek@thorsoft. com> wrote in message
    news:OlHMSgH1EH A.1300@TK2MSFTN GP14.phx.gbl...[color=blue]
    > Hello,
    >
    > I have used the API Function "LockWindowUpda te" in my VB 6 applications
    > and was curious if this API function still exists in VB.Net. I have spent
    > 4 hours surfing the 'net for an example but found nothing that seems to
    > work. If "LockWindowUpda te" is still valid in VB.Net could some provide a
    > sample where a form is locked?
    >
    > Cheers,
    > Richard
    >[/color]


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: VB.Net and LockWindowUpdat e

      "Richard Thornley" <rhek@thorsoft. com> schrieb:[color=blue]
      > I have used the API Function "LockWindowUpda te" in my VB 6 applications
      > and was curious if this API function still exists in VB.Net.[/color]

      Preventing controls from redrawing
      <URL:http://dotnet.mvps.org/dotnet/faqs/?id=disableredr awing&lang=en>

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

      Comment

      Working...