![]() ![]() ![]() Here is your script changed to use GDI only (instead of GDI+) ![]() _WinAPI_RedrawWindow(_WinAPI_GetDesktopWindow(), 0, 0, $RDW_INVALIDATE+$RDW_ALLCHILDREN) _GDIPlus_GraphicsDrawLine($hGraphic, $start_x, $start_y + $mylenght, $start_x, $start_y + 5, $hPen) verticale down _GDIPlus_GraphicsDrawLine($hGraphic, $start_x, $start_y - $mylenght, $start_x, $start_y - 5, $hPen) verticale up _GDIPlus_GraphicsDrawLine($hGraphic, $start_x + $mylenght, $start_y, $start_x + 5, $start_y, $hPen) orizzontale sx _GDIPlus_GraphicsDrawLine($hGraphic, $start_x - $mylenght, $start_y, $start_x - 5, $start_y, $hPen) orizzontale dx $hGraphic = _GDIPlus_GraphicsCreateFromHDC($hDC) Func mycross($start_x,$start_y,$mylenght)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |