استرجاع لون من مؤشر الفأرة
#1
السلام عليكم، برنامجنا واضخ من عنوانه ، وان تعذر الفهم فنحن هنا ان شاء الله ... تفضلوا السورس و البرنامج في المرفقات

كود :
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TForm1 = class(TForm) Label1: TLabel; Timer1: TTimer; Panel1: TPanel; procedure Timer1Timer(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Timer1Timer(Sender: TObject); var rc : hwnd; rcDc : HDC; P : TPoint; begin GetCursorPos(P); rc := WindowFromPoint(P); rcDc := GetDc(rc); panel1.Color := GetPixel(rcDc,p.x,p.y); end; end.
تفظلوا


الملفات المرفقة
.rar   couleurdecurseur.rar (الحجم : 2.11 ك ب / التحميلات : 62)
الرد


الردود في هذا الموضوع
استرجاع لون من مؤشر الفأرة - بواسطة karamofweb - 17-01-2011, 05:00 PM
استرجاع لون من مؤشر الفأرة - بواسطة khiro.alg - 18-01-2011, 11:22 AM
استرجاع لون من مؤشر الفأرة - بواسطة karamofweb - 18-01-2011, 05:26 PM
استرجاع لون من مؤشر الفأرة - بواسطة kachwahed - 18-01-2011, 10:20 PM

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم