@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: This structure holds information about a component's position and size !!!!C# Definition: [StructLayout(LayoutKind.Sequential)] public struct COMPPOS { public const int COMPONENT_TOP = 0x3FFFFFFF; public const int COMPONENT_DEFAULT_LEFT = 0xFFFF; public const int COMPONENT_DEFAULT_TOP = 0xFFFF; public static readonly int SizeOf = Marshal.SizeOf(typeof(COMPPOS)); public int dwSize; public int iLeft; public int iTop; public int dwWidth; public int dwHeight; public int izIndex; [MarshalAs(UnmanagedType.Bool)] public bool fCanResize; [MarshalAs(UnmanagedType.Bool)] public bool fCanResizeX; [MarshalAs(UnmanagedType.Bool)] public bool fCanResizeY; public int iPreferredLeftPercent; public int iPreferredTopPercent; } !!!!VB Definition: <StructLayout(LayoutKind.Sequential)> _ Public Structure COMPPOS Public Const COMPONENT_TOP As Integer = &H3FFFFFFF Public Const COMPONENT_DEFAULT_LEFT As Integer = &HFFFF Public Const COMPONENT_DEFAULT_TOP As Integer = &HFFFF Public Shared ReadOnly SizeOf As Integer Public dwSize As Integer Public iLeft As Integer Public iTop As Integer Public dwWidth As Integer Public dwHeight As Integer Public izIndex As Integer <MarshalAs(UnmanagedType.Bool)> _ Public fCanResize As Boolean <MarshalAs(UnmanagedType.Bool)> _ Public fCanResizeX As Boolean <MarshalAs(UnmanagedType.Bool)> _ Public fCanResizeY As Boolean Public iPreferredLeftPercent As Integer Public iPreferredTopPercent As Integer Shared Sub New() COMPPOS.SizeOf = Marshal.SizeOf(GetType(COMPPOS)) End Sub End Structure !!!!User-Defined Field Types: None. !!!!Notes: None. See COMPONENT Documentation: COMPPOS@msdn on MSDN
Edit Structures.COMPPOS
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.