07-30-2009 08:22 AM
Hi,
Is there any possibility in LV to control behavior of WIN32 applications?
I've tried WIN32 library (lvwutil32.zip) without success.
I'm interested especially in switching focus between WIN32 windows.
I also wonder if there is a way to send to win32 application a system message about pressed key?
07-30-2009 09:07 AM
Layer3 wrote:I'm interested especially in switching focus between WIN32 windows.
The SetFocus Windows API function will do that. You need to provide the window refnum, and the "Get Window RefNum" function from the WinUtil library will give you that.
I also wonder if there is a way to send to win32 application a system message about pressed key?
This question gets asked a lot. Do a search for SendKey or SendInput. You'll find plenty of examples.