I'm trying to convert the following from VB to delphi.
GetCursorPos z
screendc = CreateDC("DISPLAY", "", "", 0&)
color (the Hex value is
Text1 = GetPixel(screendc, z.x, z.y)
Picture1.BackColor = GetPixel(screendc, z.x, z.y)
DeleteDC (screendc)
Here's the line:
screendc := CreateDC("DISPLAY"...