Contents Index Topic Contents | ||
Previous Topic: COMPONENTSOPT Next Topic: WALLPAPEROPT |
COMPPOS
typedef _tagCOMPPOS { DWORD dwSize; int iLeft; int iTop; DWORD dwWidth; DWORD dwHeight; int izIndex; BOOL fCanResize; BOOL fCanResizeX; BOOL fCanResizeY; int iPreferredLeftPercent; int iPreferredTopPercent; } COMPPOS;Contains the position information for a desktop item.
- dwSize
- Unsigned long integer value that contains the size of the structure.
- iLeft
- Integer value that contains the horizontal location of the top-left corner of the item, in pixels.
- iTop
- Integer value that contains the vertical location of the top-left corner of the item, in pixels.
- dwWidth
- Unsigned long integer value that contains the width of the item, in pixels.
- dwHeight
- Unsigned long integer value that contains the height of the item, in pixels.
- izIndex
- Integer value that indicates the z-order of the item.
- fCanResize
- Boolean value that determines if the item can be resized.
- fCanResizeX
- Boolean value that determines if the width of the item is adjustable.
- fCanResizeY
- Boolean value that determines if the height of the item is adjustable.
- iPreferredLeftPercent
- Integer value that indicates the preferred horizontal distance between the top-left corner of the screen and the top-left corner of the item as a percentage of the screen.
- iPreferredTopPercent
- Integer value that indicates the preferred vertical distance between the top-left corner of the screen and the top-left corner of the item as a percentage of the screen.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.