Retrieving Pixels

This is a discussion on Retrieving Pixels within the Windows Programming forums, part of the Platform Specific Boards category; i'm a total n00b to c++, and i am working on a dll to extend a VB program. I want ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    3

    Retrieving Pixels

    i'm a total n00b to c++, and i am working on a dll to extend a VB program. I want to pass a picturebox or its hdc to the c++ function, and have the function to return the array of pixels. i know how to use functions and arrays in c++ and all that, but i just need to know how to use pictureboxes/hdcs and get the pixels contained in them

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    GetPixel() ...

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    3
    how to pass PictureBoxes/HDcs to a C++ DLL and get the pixels using C++ is what i want to know. in VB, GetPixel() is way too slow

  4. #4
    Registered User
    Join Date
    Jun 2002
    Posts
    3
    nm. figured it out. i forgot about GDI. thx

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trying to write individual pixels to the screen
    By IanC in forum C++ Programming
    Replies: 3
    Last Post: 04-14-2004, 01:49 PM
  2. bitmap pixels???????????
    By SuperNewbie in forum Windows Programming
    Replies: 2
    Last Post: 03-23-2004, 01:53 AM
  3. creating image from pixels stored in file
    By Kristian25 in forum Windows Programming
    Replies: 3
    Last Post: 01-21-2003, 02:08 PM
  4. Algo needed for 'Fit to page'
    By Unregged in forum Windows Programming
    Replies: 6
    Last Post: 10-03-2002, 08:09 AM
  5. What Else can I do besides Plot Pixels?
    By Xterria in forum C++ Programming
    Replies: 13
    Last Post: 10-02-2001, 08:11 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21