Get a View's actual location [message #466943] |
Thu, 19 January 2006 16:04 |
Eclipse User |
|
|
|
Originally posted by: bremmi.yahoo.com
I need to bring up a shell (modal dialog) that is exactly covering my
View. I have not had any luck figuring out how to do a getBounds() on my
View that tells me the actual location of the view, because when I create
a new Shell its position will be relative to the Display, not relative to
my View.
Thanks,
- Ryan
|
|
|
|
Re: Get a View's actual location [message #467025 is a reply to message #466984] |
Mon, 23 January 2006 14:32 |
Eclipse User |
|
|
|
Originally posted by: bremmi.yahoo.com
Veronika Irvine wrote:
> Have a look at Display.map(). This allows you to map between Control
> relative coordinates and Display relative coordinates (in both directions).
That's exactly what I was looking for - many thanks.
- Ryan
|
|
|
Powered by
FUDForum. Page generated in 0.02693 seconds