home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
vb_code1
/
find_win
/
findwnd.frm
(
.txt
)
next >
Wrap
Visual Basic Form
|
1992-01-28
|
3KB
|
69 lines
Form1
Find Window
wwwwwwwwwwwp
wwwwwwwwwwwp
wwwwwwwx
wwwwwwwx
wwwwwwwx
Form1,
Picture1
btnFind
&Find
Text1
XLMAIN
btnQuit
&Quit
Text2
Microsoft Excel
FindWindow
lpClassName
lpCaption
KEY_ENTER
Form_Paint_
CurrentX
CurrentY
btnFind_Click
Text1
Text2
Picture1
btnQuit_Click/
Text1_KeyPress
KeyAscii
Text2_KeyPress
Form_Resize
Form_Unload
Cancel|
Find Window
* Find Window allows you to type a Caption and/or
* ClassName into the textboxes on the form and see
* if a Window exists that matches those criteria. I *''
* use it to check on the format of captions used in
* applications to make sure I haven't mistaken a set *''
* of parenthesis for a set of square brackets, etc... *''
* It's also useful when you use SPY to find Class
* Names and you want to make sure it's not lying to
* you<g>. Do with it as you will.
, *'
* Let me know if you find it useful, or not.
* Gregg Irwin CIS:ID 72450,676
userr
Form_Paint
ClassName :"u
Caption :"u
ClassName Only"u
Caption Only"u
Class & Captionu
btnFind_Click
Handle = t
Handle = t
Handle = t
btnQuit_Click
Text1_KeyPress
If Enter is hit
Supress beep
{TAB}"
Go to next field
Text2_KeyPress
{TAB}"
Form_Unload