msjammu
asked on
Get Coordinates of a Window
HI,
My application's MDICHILD child window is too large. I have scrolled in the middle. Obviously, half of child window is above the visible screen and half is below the visible screen. How can I get the coordinates of the window part that is currently visible through the mdi window, if this also 0,0 (relative) how do I calculate the actual points relative to whole window.
Regards,
msjammu
My application's MDICHILD child window is too large. I have scrolled in the middle. Obviously, half of child window is above the visible screen and half is below the visible screen. How can I get the coordinates of the window part that is currently visible through the mdi window, if this also 0,0 (relative) how do I calculate the actual points relative to whole window.
Regards,
msjammu
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
raj:
Javascript in VB?
Javascript in VB?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the nice diagram
Actually I want ABHI, so each time I resize the child programatically I want it to be placed at the same place where that was before resize. My requirement are due to the MDI scrollbar problem here:
https://www.experts-exchange.com/questions/21118126/Scrolling-And-Tabbing-Problem.html
I am actually trying to figger out a solution for myself for the above problem. you may help !
Let me try your solution
msjammu
Actually I want ABHI, so each time I resize the child programatically I want it to be placed at the same place where that was before resize. My requirement are due to the MDI scrollbar problem here:
https://www.experts-exchange.com/questions/21118126/Scrolling-And-Tabbing-Problem.html
I am actually trying to figger out a solution for myself for the above problem. you may help !
Let me try your solution
msjammu
you can use JavaScript for this purpose. There are several javascript codes out there to get the coordinate.
--Raj