|Size of a view part [message #754511]
||Wed, 02 November 2011 20:25
Registered: July 2009
I have a RCP application (E4 application but i think my question concern about RCP 3.x too).
I have a view part. Displayed view part seems to have size 600 x 400 for example.
From my view part, I change the color of the background of parent composite of the view part.The color changes for entire area 600x400. Good !
I try to obtain size of my view part control by code.
- I try all methods of parent composite object like getBounds()... and values of Rectangle are 0
- I try windows API with getWindowRect(HWND parent.handle, Rect rect) but i have
the same result.
So, how to obtain x,y,width, height values of my view part control?
Powered by FUDForum
. Page generated in 0.01851 seconds