Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Holds information about a component's position and size.
Syntax
typedef struct _tagCOMPPOS {
DWORD dwSize;
int iLeft;
int iTop;
DWORD dwWidth;
DWORD dwHeight;
int izIndex;
BOOL fCanResize;
BOOL fCanResizeX;
BOOL fCanResizeY;
int iPreferredLeftPercent;
int iPreferredTopPercent;
} COMPPOS;
Members
dwSize
Type: DWORD
The size of the structure.
iLeft
Type: int
The left edge of the top-left corner in screen coordinates. Set to COMPONENT_DEFAULT_LEFT to let the Shell decide the position.
iTop
Type: int
The top of the top-left corner in screen coordinates. Set to COMPONENT_DEFAULT_TOP to let the Shell decide the position.
dwWidth
Type: DWORD
The width, in pixels.
dwHeight
Type: DWORD
The height, in pixels.
izIndex
Type: int
The z-order of the component.
fCanResize
Type: BOOL
Set to TRUE if the component is resizable, FALSE if not.
fCanResizeX
Type: BOOL
Set to TRUE if the component is resizable in the x direction, FALSE if not.
fCanResizeY
Type: BOOL
Set to TRUE if the component is resizable in the y direction, FALSE if not.
iPreferredLeftPercent
Type: int
The left edge of the upper-left corner as a percentage of screen width.
iPreferredTopPercent
Type: int
The top of the upper-left corner as a percentage of screen width.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | shlobj_core.h (include Shlobj.h) |