|
-
Mar 24th, 2001, 03:02 PM
#8
transcendental analytic
Declare Function BitBlt Lib "gdi32" (ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long
you need this declaration to use bitblt. You pass handles of source and destination DC's, you'll find them as properties of any picturebox or form. You have to pass target coordinates, source coordinates, and also the size of area to be copied. With dwrop you specify the bitcomparation performed between source and target bits, you can find them in vb help files, usually you just use vbsrccopy which just replaces the target with the source.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|