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

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