#include int main() { HWND crosshair = FindWindow(NULL,NULL); // für später damit es nur auf vita geht HDC vital = GetDC(NULL); COLORREF RGB; COLORREF RGB( 0, 0, 255); // grün int cxScreen,cyScreen; cxScreen = GetSystemMetrics(SM_CXSCREEN) / 2 -10; // Alle pixel druch 2 für mitte cyScreen = GetSystemMetrics(SM_CYSCREEN) / 2 -10; // Alle pixel druch 2 für mitte while(1) { for(int i = 0; i<20; i++) SetPixel(vital, cxScreen+i, cyScreen+10, RGB); for(int i = 0; i<20; i++) SetPixel(vital, cxScreen+10, cyScreen+i, RGB); Sleep(50); // wegen cpu auslastung } }