Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VB7
Expertise: Advanced
May 26, 2003

GotoPreviousWindow - A macro to jump to the previously selected window

' This macro routine makes VS.NET switch to the previously selected code editor 
' / designer window, if it is still open. It is equal to opening the Windows 
' menu and selecting the 2nd window.
' Note: put this routine in the MyMacro project, by using the Macro Explorer. 
' To use it, just click the routine name in the Macro Explorer,
'  or better yet assign it a keyboard shortcut, from the Tools | Options... 
' dialog window, in the Environment/Keyboard page.

Sub GotoPreviousWindow()
    DTE.Commands.Raise("{5EFC7975-14BC-11CF-9B2B-00AA00573819}", 571, Nothing, _
        Nothing)
End Sub
Enrico Sabbadin
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date