Results 1 to 3 of 3

Thread: Getting Color (color picker)

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Location
    Ohio
    Posts
    15

    Getting Color (color picker)

    How do u get the color of the pixel your mouse is pointing at?
    I don't need it converted or anything, Just how to get the hex or whatever value(s) it returns.

  2. #2
    Megatron
    Guest
    Use the GetPixel API.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Location
    Ohio
    Posts
    15

    thanQ

    When using the getpixel api.. i have to specify an hDc ..
    I want to be able to select any color from anywhere on my screen that i point to. Whether it be an icon, or a background image on the desktop or a picture in a browser.. anywhere.

    me.hDc allows for u to pick the color from anywhere on the form.
    but is there a way i can pick the color from anywhere.
    Last edited by kibble; Jan 21st, 2002 at 10:34 PM.

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