internal static bool EndPaint(IntPtr hwnd) { PAINTSTRUCT temp = ptrstr[hwnd]; ptrstr.Remove(hwnd); return(User.EndPaint(hwnd, ref temp)); }
public static IntPtr BeginPaint(IntPtr hwnd) { //TODO add an if already active clause PAINTSTRUCT ps = new PAINTSTRUCT(); ptrstr.Add(hwnd, ps); return(User.BeginPaint(hwnd, ref ps)); }
internal static extern bool EndPaint(IntPtr hwnd, ref PAINTSTRUCT ps);
internal static extern IntPtr BeginPaint(IntPtr hwnd, ref PAINTSTRUCT ps);