I think our method is more reliable because it is possible for a
window to have a cursor that has been hidden and I don't know if the
width always gets set back to 0.
At 03:11 PM 7/28/2008, you wrote:
Would this also work?
If FocusedWindow.CaretWidth > 0 Then ...
Jamal
On Mon, 28 Jul 2008, Aaron Smith wrote:
> Date: Mon, 28 Jul 2008 15:01:33 -0400
> From: Aaron Smith <[EMAIL PROTECTED]>
> Reply-To: gw-scripting@gwmicro.com
> To: gw-scripting@gwmicro.com
> Subject: Re: Blank line setting
>
> Michael D. Lawler wrote:
> > Look at the cursor object which has a window property that you can use
> > to compare with the focused window.
>
> More susinctly:
>
> If Cursor.Window.Handle = FocusedWindow.Handle Then
> Speak "Well, whoopdy do!"
> End If
>
> Aaron
>
> --
> To insure that you receive proper support, please include all past
> correspondence (where applicable), and any relevant information
> pertinent to your situation when submitting a problem report to the GW
> Micro Technical Support Team.
>
> Aaron Smith
> GW Micro
> Phone: 260/489-3671
> Fax: 260/489-2608
> WWW: http://www.gwmicro.com
> FTP: ftp://ftp.gwmicro.com
> Technical Support & Web Development
>
--
Michael D. Lawler
Voice 260-489-3671
Fax 260-489-2608
Internet mailto:[EMAIL PROTECTED]
web http://www.gwmicro.com
ftp ftp://ftp.gwmicro.com
GW Micro, Inc.,
Development Liaison and Technical Support Supervisor