|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
How to minimize all windows ?
can any tell how to minimize all opened windows....? when press a button in my coding?
|
|
#2
|
|||
|
|||
|
RE: How to minimize all windows?
Hello Arjun,
Simultaneousely press [Windows Logo] + [M] on keyboard. Use SendKeys statement for your coding. Hope it will help. |
|
#3
|
|||
|
|||
|
hi!
thanx 4 u r reply... I am trying to the same you mentioned.. after minimizing [windows logo] + [shift] + [M] to maximize. But how to give the windowslogo key in the the sendkeys statement.. arjun |
|
#4
|
|||
|
|||
|
RE: Using Shell32
Hello Arjun,
Sorry, I don't know the keycode for Windows logo key. However, you may find out more info about Keybd_Event API. Alternative, you can use SHELL32 for this purpose. Try the code below. Note: Need to add the reference "Microsoft Shell Controls And Automation" '--------------------- Private Sub Command1_Click() Dim sh As New Shell32.Shell sh.MinimizeAll 'sh.UndoMinimizeALL End Sub '--------------------- |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > How to minimize all windows ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|