Пример #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);