[DllImport("uxtheme.dll", SetLastError = true)] public static extern HRESULT GetThemePosition( IntPtr hTheme, int iPartId, int iStateId, int iPropId, out POINT pPoint );
Microsoft documentation: Link
Last updated 1 year ago