Results 1 to 3 of 3

Thread: GetPixel, Setpixel api errors

  1. #1

    Thread Starter
    Hyperactive Member Knowledge_is_Et's Avatar
    Join Date
    Dec 2001
    Location
    An Oak.
    Posts
    305

    Question 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.

  2. #2
    jim mcnamara
    Guest
    Could you post your code - I haven't ever seen that limitation.

  3. #3

    Thread Starter
    Hyperactive Member Knowledge_is_Et's Avatar
    Join Date
    Dec 2001
    Location
    An Oak.
    Posts
    305
    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
  •  



Click Here to Expand Forum to Full Width