|
-
Jul 19th, 2001, 12:29 PM
#1
Thread Starter
Addicted Member
Stop a button's process
Hail,
I need to stop the function from a button on a app that isn't mine because it keeps producing a run time error. I also want to launch an app I made when the button is pressed. How can I achieve this? I do not want to disable it since I'll need it to launch.
Phailak
-
Jul 19th, 2001, 01:01 PM
#2
Member
-
Jul 19th, 2001, 01:33 PM
#3
Addicted Member
Hmm.
Looks like he wants this to happen:
1. User click button in some program (not his).
2. The button's typical event does _not_ take place.
3. His program is lauched and carrys out some action.
Phailak, I don't have a clue how to do that, sorry, but Im sure someone here will. Good luck.
Cbomb
Techie 
-
Jul 19th, 2001, 01:49 PM
#4
Member
Subclass the button or window, maybe?
-
Jul 20th, 2001, 05:37 PM
#5
Originally posted by filburt1
Subclass the button or window, maybe?
YOu can't subclass anotherprocess. Not safely anyway. If you try, be prepared to crash, OFTEN.
-
Jul 23rd, 2001, 09:12 PM
#6
Thread Starter
Addicted Member
Hail,
Thanx for the replies guys,
FYI... This is how I did it.
I hid the button I wanted to get rid of, then created my own with the same properties and just launched my app with shellexecute when the window or button I created got focus (checked that with a timer at 100 interval)
That's all folks, works great
Phailak
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
|