|
-
Aug 17th, 2005, 10:12 PM
#1
Thread Starter
Fanatic Member
MainMenu VK interference
I am starting an application with process.start, and then sending virtual keys to it (VK_RETURN).
It works fine, but if the user opens the main menu while, the program has a brain fart.
I have tried to use API's lockwindowupdate, and blockinput, putfocus, setforegroundwindow, and even allowsetforegroundwindow, to no avail.
With the old vb6 I believe Me.enabled = false works, but not with .NET.
Is there any way to disable, or back out of the mainmenu before sending keys? I also tried setting the focus elsewhere first, so that the menu should hide, but noahha.
This is frustrating!
Sometimes I wonder about the people who developed the software.
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
|