|
-
May 20th, 2002, 03:32 PM
#1
Thread Starter
Hyperactive Member
GetPixel, Setpixel api errors
I am just learning to use api's and these are the first two i learned.
my problem is that, when i try to pass a variable to the getpixel or setpixel api, it can't be larger than 800 for the x value, or 600 for the y value (in terms of x and y on the form.)
This is an extremely small area and quite useless, any suggestions???
Now returning to the world of VB. Please make sure your seatbelts are securely fastened and all trays are in their upright and locked position.
-
May 20th, 2002, 04:05 PM
#2
Could you post your code - I haven't ever seen that limitation.
-
May 20th, 2002, 09:45 PM
#3
Thread Starter
Hyperactive Member
I have found the problem
in the mouse_move command, the getpixel was using the position is twips. but the getpixel used it as the pixel position.
thanks anyway!
Now returning to the world of VB. Please make sure your seatbelts are securely fastened and all trays are in their upright and locked position.
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
|