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
Printable View
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
Try using the LockWindowUpdate and the GetDesktopWindow API functions.
VB Code:
Private Declare Function GetDesktopWindow Lib "user32" () As Long Private Declare Function LockWindowUpdate Lib "user32" (ByVal hwndLock As Long) As Long Usage 'Lock/Freeze: LockWindowUpdate GetDesktopWindow() 'Unlock/Unfreeze: LockWindowUpdate 0&