Results 1 to 4 of 4

Thread: Lock application window to target form

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Ruku's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    655

    Arrow Lock application window to target form

    I remember back in vb6 I found some sample code that permited to lock notepad within an MDI child form on a project.

    I'm looking for the exact same thing... but within vb .net and through a normal form.

    I searched the forums and found

    VB Code:
    1. Private Declare Function LockWindowUpdate Lib "user32" Alias _
    2. "LockWindowUpdate" (ByVal hwndLock As Long) As Long

    which looks like a peace of the puzzle I need...

    if anybody got pointers I'd appreciate... thx

    EDIT: Oh and I'd also need the code to reverse the window back to it's original state...!
    Last edited by Ruku; Feb 28th, 2006 at 12:26 PM.

    Using VB.NET 2005/.NET 2.0, NetBeans IDE 5, Fujitsu Cobol85,
    Website: http://DreamForgery.com

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