I am writing a program that uses a third-party library of routines and methods to receive and display video from an S-Video source through a USB video capture device. That part works perfectly. There is a method that can be used to pop up a video driver screen so that the user can then use his mouse or keyboard, in the usual manner, to change video settings.
The problem, however, is that I cannot get SendKeys to change the settings on this driver screen... that is, to invoke a sequence of keystrokes that 'automatically' sets certain parameters on this popup window. The driver popup appears to be a straighforward form, but of course, since I didn't write the USB video driver, I have no direct access to its "guts".
When this popup is invoked, it appears to be the active form... but SendKeys sequences have no effect. It acts as if SendKeys is not focused on the popup, even though it is 'on top' of the main form, and as I said, the popup appears to be the active form at this point. Using SendWait vs. Send has no effect.
I have attached a code snippet. I am using VB.NET and Visual Studio 2005.
I want to issue keystrokes from my program to this driver popup. What am I missing?
Thanks!
Dave Emery
The problem, however, is that I cannot get SendKeys to change the settings on this driver screen... that is, to invoke a sequence of keystrokes that 'automatically' sets certain parameters on this popup window. The driver popup appears to be a straighforward form, but of course, since I didn't write the USB video driver, I have no direct access to its "guts".
When this popup is invoked, it appears to be the active form... but SendKeys sequences have no effect. It acts as if SendKeys is not focused on the popup, even though it is 'on top' of the main form, and as I said, the popup appears to be the active form at this point. Using SendWait vs. Send has no effect.
I have attached a code snippet. I am using VB.NET and Visual Studio 2005.
I want to issue keystrokes from my program to this driver popup. What am I missing?
Thanks!
Dave Emery