دليل المحترفين للفيجول بيسيك ج2 — الصفحة ٥٠٥

العدسة اللاقطة Global StartPoint As ApiPoint Global EndPoint As ApiPoint Global OldPoint As ApiPoint احبس الفأرة وتحريرها " نقطة بداية منطقة اللقط " نقطة نهاية منطقة اللقط " النقطة القديمة " Declare Function SetCapture Lib "User" (ByVal hWnd As Integer) As Integer Declare Sub ReleaseCapture Lib "User" () لصنع سياق الشاشة . Declare Function CreateDC Lib "GDI" (ByVal IpDriverName As String, ByVal lpDeviceName As Any, ByVal IpOutput As Any, ByVal IpInitData As Any) As Integer Declare Function DeleteDC Lib "GDI" (ByVal hDC As Integer) As Integer حذف سياق الشاشة " تحويل المقياس من النافذة إلى الشاشة " Declare Sub ClientToScreen Lib "User" (ByVal hWnd As Integer, IpPoint As ApiPoint) تحريك المشيرة المستخدمة في الرسم ' Declare Function MoveTo Lib "GDI" (ByVal hDC As Integer, ByVal X As Integer, ByVal Y As Integer) As Long رسم خط Declare Function LineTo Lib "GDI" (ByVal hDC As Integer, ByVal X As Integer, ByVal Y As Integer) As Integer اللون الذي نرسم به هو عكس اللون الموجود في الخلفية " Declare Function SetROP2 Lib "GDI" (ByVal hDC As Integer, ByVal nDrawMode As Integer) As Integer نقل الصورة من الشاشة إلى خانة الصورة " Declare Function BitBlt Lib "GDI" (ByVal hDestDC As Integer, ByVal X As Integer, ByVal Y As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer, ByVal hSrcDC As Integer, ByVal XSrc As Integer, ByVal YSrc As Integer, ByVal dwRop As Long) As Integer الحصول على أبعاد النافذة " Declare Sub GetWindowRect Lib "User" (ByVal hWnd As Integer, IpRect As Rect) ٤٦٧
ص ٥٠٥

النص مستخرج آليًّا من صور الكتاب، وقد يقع فيه خطأ.