From: Steve Tuckner Date: 2003-09-26T00:25:46+09:00 Subject: VRuby/Win32 Question This is a multi-part message in MIME format. ------=_NextPart_000_0126_01C3834F.594401B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I am trying to bring a VRuby app to be the front most window. I try the following but it doesn't work. Any ideas of what to try next would be appreciated: bringWindowToTop = Win32API.new("user32", "BringWindowToTop", ["L"], "L") bringWindowToTop.Call(self.hWnd) I have also tried ["P"] for the argument with no effect. When I inspect self.hWnd it is a Fixnum with a large number in it. I used Spy++ to check the window handle and it matched. I also thought of trying hParent but that didn't work as hParent is zero. Thanks in advance, Steve Tuckner ------=_NextPart_000_0126_01C3834F.594401B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am = trying to bring=20 a VRuby app to be  the front most window. I try the following but = it=20 doesn't work. Any ideas of what to try next would be=20 appreciated:
 
bringWindowToTop =3D=20 Win32API.new("user32", "BringWindowToTop", ["L"],=20 "L") 
bringWindowToTop.Call(self.hWnd)
I = have also tried=20 ["P"] for the argument with no effect. When I inspect self.hWnd it is a = Fixnum=20 with a large number in it. I used Spy++ to check the window handle and = it=20 matched. I also thought of trying hParent but that didn't work as = hParent is=20 zero.
 
Thanks in=20 advance,

Steve Tuckner =

------=_NextPart_000_0126_01C3834F.594401B0--