Results 1 to 2 of 2

Thread: Please solve my problem

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2001
    Location
    india
    Posts
    16

    Please solve my problem

    Hello!

    I want that when i run my application, the desktop become disabled as like as when we click on shutdown tab in start menu and the desktop window becomes.

    I want this to be happen by my vb-6 program.


    Santy

  2. #2
    Matthew Gates
    Guest
    Try using the LockWindowUpdate and the GetDesktopWindow API functions.


    VB Code:
    1. Private Declare Function GetDesktopWindow Lib "user32" () As Long
    2.  
    3. Private Declare Function LockWindowUpdate Lib "user32" (ByVal hwndLock As Long) As Long
    4.  
    5.  
    6. Usage
    7.  
    8. 'Lock/Freeze:  LockWindowUpdate GetDesktopWindow()
    9. 'Unlock/Unfreeze:  LockWindowUpdate 0&

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