var
  Str: TPoint;
  BarHand: THandle;
begin
  GetCursorPos(Str);
  BarHand := GetDC(0);
  Panel1.Color := GetPixel(BarHand, Str.X, Str.Y);
  Caption := IntToStr(Panel1.Color);

相关文章:

  • 2021-08-16
  • 2021-07-29
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2021-05-30
  • 2021-11-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
  • 2021-11-16
  • 2021-08-16
相关资源
相似解决方案