This is a migrated thread and some comments may be shown as answers.

Screen Location of Floating Window

1 Answer 74 Views
Dock
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 1
George asked on 19 Apr 2013, 02:21 PM
I need to find the absolute screen coordinates of a floating dockwindow from within code running inside a form hosted inside this dockwindow. I have tried different things but all I get back is the screen location of the original form that the rad dock control is hosted.

Any ideas how I can achieve this?

Regards,

George

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 23 Apr 2013, 12:29 PM
Hello George,

Thanks for writing.

In order to achieve your scenario, you can use the FloatingWindows collection, where you can access the all floating windows and get their coordinates.

I have prepared a sample project which will give you idea of how to do it.

I hope this helps. Please do not hesitate to contact us, should you have any further questions.

Regards,
Nikolay Aleksiev
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Tags
Dock
Asked by
George
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or