[jawsscripts] Re: Close window with SendMessage function?

  • From: "Bryan Garaventa" <bgaraventa11@xxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 11 Aug 2009 14:28:11 -0700

I've got the following statement to work,
SendMessage (gh_currentHandle, 0x10, 0, 0)

Unfortunately this closes the application window though.  I just need to 
find the right message value to close the toolbar, which is being allusive.

----- Original Message ----- 
From: "Travis Roth" <travis@xxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, August 11, 2009 1:15 PM
Subject: [jawsscripts] Re: Close window with SendMessage function?


>I think all you need is to send WM_CLOSE to the window, the other 
>parameters
> would just be null...
>
> The other question - may best be determined by trying it -- is if that
> actually will work between processes.
>
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bryan Garaventa
> Sent: Tuesday, August 11, 2009 2:13 PM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Close window with SendMessage function?
>
> Does anyone know what the correct parameters are for forcing a window to
> close using the SendMessage function? The window handle is pretty obvious,
> but I'm not sure what the other constants should be.
> Thanks,
> Bryan
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
> 

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: