i have a code that creates buttons and graphics in the same block. before the block is _GDIPlus_Startup()
$hGraphic = _GDIPlus_GraphicsCreateFromHWND($mainGUI)
$hBrush = _GDIPlus_BrushCreateSolid(0xF03FC744) ; Felish Green colour
$hPen = _GDIPlus_PenCreate(0xFFBFCC49); Granite colour
$...