Fake Focus? [message #139258] |
Tue, 24 July 2007 12:29  |
Eclipse User |
|
|
|
hi all,
is it possible to fake mouse-cursor focus on an SWT-control, e.g. a Button?
My problem is I've implemented a screen scraper similar to the one from
Visual Editor and I got the same 'problem' as they have:
Buttons created on an invisible shell don't have focus and look grey.
It's not possible to set the cursor there and back because windows fades
the button in, which means I would have to wait a certain time on the
real button --> hide the cursor from the user for ~1sec (too much).
Any ideas?
-stefan
|
|
|
Re: Fake Focus? [message #140411 is a reply to message #139258] |
Thu, 13 September 2007 12:57  |
Eclipse User |
|
|
|
"SKuhn" <kuhn@oio.de> wrote in message
news:f859dd$bqo$1@build.eclipse.org...
> hi all,
>
> is it possible to fake mouse-cursor focus on an SWT-control, e.g. a
Button?
>
> My problem is I've implemented a screen scraper similar to the one from
> Visual Editor and I got the same 'problem' as they have:
> Buttons created on an invisible shell don't have focus and look grey.
> It's not possible to set the cursor there and back because windows fades
> the button in, which means I would have to wait a certain time on the
> real button --> hide the cursor from the user for ~1sec (too much).
>
> Any ideas?
You shoudl ask that question on SWT groups
This is a tough one.
Afaik the asnwer is no, but there may be ways around it.
BTW, is your project open source?
It sounds cool.
--
Cheers, Philippe
philippe ombredanne | nexB
1 650 799 0949 | pombredanne at nexb.com
http://www.nexb.com
http://EasyEclipse.org
|
|
|
Re: Fake Focus? [message #616533 is a reply to message #139258] |
Thu, 13 September 2007 12:57  |
Eclipse User |
|
|
|
"SKuhn" <kuhn@oio.de> wrote in message
news:f859dd$bqo$1@build.eclipse.org...
> hi all,
>
> is it possible to fake mouse-cursor focus on an SWT-control, e.g. a
Button?
>
> My problem is I've implemented a screen scraper similar to the one from
> Visual Editor and I got the same 'problem' as they have:
> Buttons created on an invisible shell don't have focus and look grey.
> It's not possible to set the cursor there and back because windows fades
> the button in, which means I would have to wait a certain time on the
> real button --> hide the cursor from the user for ~1sec (too much).
>
> Any ideas?
You shoudl ask that question on SWT groups
This is a tough one.
Afaik the asnwer is no, but there may be ways around it.
BTW, is your project open source?
It sounds cool.
--
Cheers, Philippe
philippe ombredanne | nexB
1 650 799 0949 | pombredanne at nexb.com
http://www.nexb.com
http://EasyEclipse.org
|
|
|
Powered by
FUDForum. Page generated in 7.77510 seconds