Joe Strazzere - All Things Quality

Visit my new blog at http://strazzere.blogspot.com/


December 1, 2005 - WinTask - IsZoomed

Posted in WinTask

'
' IsZoomed
'

' "user32" Alias "IsZoomed" (ByVal hwnd As Long) As Long

shell("notepad")
UseWindow("NOTEPAD.EXE|Edit|Untitled - Notepad|1",1)

hwnd=GetWindowHandle("NOTEPAD.EXE|Notepad|Untitled - Notepad",1)
a = External("user32","IsZoomed", hwnd)
msgbox("Zoomed (Maximized) Status for the Notepad main window is : "+Str$(a),,"IsZoomed")

MaximizeWindow("NOTEPAD.EXE|Notepad|Untitled - Notepad",1)

a = External("user32","IsZoomed", hwnd)
msgbox("Zoomed (Maximized) Status for the Notepad main window is now : "+Str$(a),,"IsZoomed")

SendKeys("fxn")


<- Last Page :: Next Page ->

About Me

A gathering place for information and ideas about Quality Assurance, Testing, and other useful topics.

Problems cannot be solved by the same level of thinking that created them. - A. Einstein

Search This Site

Translate This Site

RSS Feed

Subscribe

Twitter

@jstrazzere

Categories

Life
QA
Sports
Tools
WinTask
Work in General

What I'm Reading Now