|
-
Nov 6th, 1999, 03:49 AM
#1
Thread Starter
Hyperactive Member
Ok, I know this isn't much of a technical problem, but it's still a question, involves vb and programming. I'm making a nice little program that lets you hide and show specific handles it can find or that you can choose yourself, and then some. So far for the 'then some', I've got things like "Set Parent" for putting an application in another, Close Window, Terminate Process (like ctrl+alt+del), and Set Window Position to make a window stay on top of all others. Anyone have any other ideas for me to throw in there? If you have an idea, and better yet the code to do it, post it so I can use it! It can be anything from drawing on a form to making peices of it invisible (Sound cool? Should I add that?) . . . anyways feel free to drop a post. Thanks!!! Oh yeah if this program sounds any good to you, email me at [email protected] , and when it's officially done, I'll give you a link to get it!
-
Nov 6th, 1999, 05:35 AM
#2
Guru
You can have it perform the Size and Move commands... Looks cool...
Code:
Option Explicit
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Const WM_SYSCOMMAND = &H112
Private Const SC_SIZE = &HF000
Private Const SC_MOVE = &HF010
Sub InitiateSize(ByVal hWndToSize As Long)
Call SendMessage(hWndToSize, WM_SYSCOMMAND, SC_SIZE, ByVal 0&)
End Sub
Sub InitiateMove(ByVal hWndToMove As Long)
Call SendMessage(hWndToMove, WM_SYSCOMMAND, SC_MOVE, ByVal 0&)
End Sub
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879
-
Nov 6th, 1999, 01:36 PM
#3
Member
I've created a program called Top-I-Zar already that lets you set/remove the 'Always On Top' flag. It also filters out any garbage windows, so there are very few windows listed that aren't visible. Check out my URL to download it.
------------------
(¯`·.¸¸.·´¯`·->ShadowCrawler<-·´¯`·.¸¸.·´¯)
welcome.to/X12Tech
[email protected]
-
Nov 6th, 1999, 01:49 PM
#4
Thread Starter
Hyperactive Member
Thanks, but please more ideas!
ShadowCrawler: I like your work, but trust me, my program is a lot more sophisticated. It can set window positions easily already, and a lot more.
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
|