SunQuest
 
           Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
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  
Old October 23rd, 2004, 04:15 AM
Arjun Arjun is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 43 Arjun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 18 sec
Reputation Power: 4
How to minimize all windows ?

can any tell how to minimize all opened windows....? when press a button in my coding?

Reply With Quote
  #2  
Old October 24th, 2004, 08:28 PM
JamesLe JamesLe is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: Oakland, CA, USA
Posts: 131 JamesLe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m
Reputation Power: 4
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.

Reply With Quote
  #3  
Old October 24th, 2004, 10:33 PM
Arjun Arjun is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 43 Arjun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 18 sec
Reputation Power: 4
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

Reply With Quote
  #4  
Old October 25th, 2004, 05:42 PM
JamesLe JamesLe is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: Oakland, CA, USA
Posts: 131 JamesLe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m
Reputation Power: 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
'---------------------

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > How to minimize all windows ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway