|
-
Dec 14th, 2001, 02:14 PM
#1
Thread Starter
New Member
Button Always Active
I've developed an application that has a main form at the bottom of the screen with command buttons as a custom menu. This is not an MDI application. All forms are shown off this form as modal forms.
However, now I would like to have one of the buttons always active. For example, this button may be used to toggle to another application, so I want the user to be able to press it at any time. But, the other menu buttons should remain disabled.
I thought I saw some API calls that allowed the button to be pressed at any time while the application was active but cannot find the code.
Any ideas?
Thanks,
Greg
-
Dec 14th, 2001, 03:15 PM
#2
You wouldn't necessarily have to "press" the button. You could call its click event from whereever.
-
Dec 14th, 2001, 03:48 PM
#3
Thread Starter
New Member
I realize I can call the click event, but it would have to be in response to the user clicking the mouse on the button. If this button is not active then there is nothing to trigger an event. I tried using the second form's mouseup event, but it only captures clicks within the window not the menu bar below.
Any other ideas?
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
|