Example #1
0
        internal static bool EndPaint(IntPtr hwnd)
        {
            PAINTSTRUCT temp = ptrstr[hwnd];

            ptrstr.Remove(hwnd);
            return(User.EndPaint(hwnd, ref temp));
        }
Example #2
0
        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));
        }
Example #3
0
 internal static extern bool   EndPaint(IntPtr hwnd, ref PAINTSTRUCT ps);
Example #4
0
 internal static extern IntPtr BeginPaint(IntPtr hwnd, ref PAINTSTRUCT ps);