Retrieves the specified window's size and location in terms of percentage of the screen.
Syntax
object.GetWindowLocation plfTopPct, plfLeftPct, plfHeight, plfWidth
Properties
The GetWindowLocation method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
plfTopPct |
Double. Returns the top percentage of the window relative to the WorkSpace client area. |
plfLeftPct |
Double. Returns the left percentage of the window relative to the WorkSpace client area. |
plfHeightPct |
Double. Returns the percentage of horizontal screen space. |
plfWidthPct |
Double. Returns the percentage of vertical screen space. |