|
-
Jan 11th, 2000, 02:55 AM
#1
Thread Starter
Hyperactive Member
Is there a any good tutorials on how to get window handles. I think thats what they are called.
------------------
Sincerely,
Chris
:-) ;-)
Email [email protected]
-
Jan 11th, 2000, 10:24 PM
#2
Hyperactive Member
Chris,
I've picked up a lot on handles from searching the forum (a search above on 'window handle' returned 75 items) and from posting specific questions.
Hope that helps. If there's something specific you need to know now, let us know.
Regards,
Wade
-
Jan 12th, 2000, 04:07 AM
#3
Thread Starter
Hyperactive Member
I wanted to make a program that read all the windows that were open and changed the name of all the programs in the title bar. But I know how to change the title bar name I just don't know how to get all the ones that are open so I figured maybe I would find it in a tutorial. Well thanks
------------------
Sincerely,
Chris
:-) ;-)
Email [email protected]
-
Jan 12th, 2000, 04:09 AM
#4
Member
Sounds kind of virus like my friend...
-
Jan 13th, 2000, 01:38 AM
#5
Thread Starter
Hyperactive Member
Nope not a Virus it is for those stupid programs that pay you for being on the internet explorer and my friend does them and he was wondering if I could make him a program that changed the name of the title bars of everything to internet explorer so that he could go play a game or something while being conected to the net and still get paid for it. Well thanks anyway
------------------
Sincerely,
Chris
:-) ;-)
Email [email protected]
-
May 3rd, 2000, 03:43 AM
#6
That's easy to do. Changes the handle of every caption. This is good for those pay programs. Here's the code:
'Declarations
Private Declare Function SetWindowText Lib "user32" _
Alias "SetWindowTextA" (ByVal hwnd As Long, _
ByVal lpString As String) As Long
'Usage: Call WindowCaptionChangeAll("- Microsoft Internet Explorer")
'Code:
Public Sub WindowCaptionChangeAll(NewText As String)
For nI = 1 To 10000
Call SetWindowText(nI, NewText)
Next
Hope that helps.
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|