Joe Strazzere - All Things Quality

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


December 1, 2005 - WinTask - IsWindowVisible

Posted in WinTask

'
' IsWindowVisible
'

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

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

hwnd=GetWindowHandle("NOTEPAD.EXE|Button|&Find Next",1)
a = External("user32","IsWindowVisible", hwnd)
msgbox("Visibility Status for Find Next button is : "+Str$(a),,"IsWindowVisible")

hwnd=GetWindowHandle("NOTEPAD.EXE|Button|Cancel",1)
a = External("user32","IsWindowVisible", hwnd)
msgbox("Visibility Status for Cancel button is : "+Str$(a),,"IsWindowVisible")

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