Example #1
0
 public static extern int DrawThemeText(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, string pszText, int iCharCount, uint dwTextFlags, uint dwTextFlags2, [MarshalAs(UnmanagedType.Struct)] ref APIRect rect);
Example #2
0
 public static extern int InvertRect(IntPtr hDC, ref APIRect rect);
Example #3
0
 public static extern int FillRect(IntPtr hDC, ref APIRect rect, IntPtr hBrush);
Example #4
0
 public static extern int DrawFocusRect(IntPtr hDC, ref APIRect rect);
Example #5
0
 public static extern int DrawThemeBackground(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, ref APIRect rect, ref APIRect clipRect);
Example #6
0
 public static extern IntPtr GetWindowRect(IntPtr hWND, ref APIRect Rect);
Example #7
0
 public static extern int DrawText(IntPtr hDC, string lpString, int nCount, ref APIRect Rect, int wFormat);