Search:

Type: Posts; User: DeX

Search: Search took 0.00 seconds.

  1. Thread: get RGB values

    by DeX
    Replies
    7
    Views
    3,530

    Yes you can. If you want to grab the drawing...

    Yes you can.

    If you want to grab the drawing context of a particular portion of a particular application then you just need to use something like Spy++ to find the window title or the window class...
  2. Thread: get RGB values

    by DeX
    Replies
    7
    Views
    3,530

    Yes, of course. You just need to get the drawing...

    Yes, of course. You just need to get the drawing context of the particular element you want to get the rgb values from. Or you can just take a screen shot of the entire screen and read them from...
  3. Thread: get RGB values

    by DeX
    Replies
    7
    Views
    3,530

    Probably not the best way but you can use...

    Probably not the best way but you can use GetPixel to get the colour of a pixel in a specific DC.
  4. Replies
    9
    Views
    6,641

    Thanks for the feedback. It's always appriciated...

    Thanks for the feedback. It's always appriciated when errors in my code are pointed out.

    But in this situation what happens when the MapTiler is constructed is that it takes the HDC of the window...
  5. Replies
    9
    Views
    6,641

    Cool, thanks for all that info. I suppose then...

    Cool, thanks for all that info.

    I suppose then for this program I can create a global static instance of the MapTiler class using a default constructor and then modify all the various attributes...
  6. Replies
    9
    Views
    6,641

    That's one of the difficult things for me. Most...

    That's one of the difficult things for me. Most books and tutorials seperate Windows programming and C++ programming. I don't want to get into MFC just yet but at the moment I find it relatively...
  7. Replies
    9
    Views
    6,641

    Global Variables in C++?

    Hi,

    I'm just starting C++ but I've done quite a bit in Java and VB. I've learnt a lot over the last few days from all the tutorials and books and MSDN of course, but the thing I'm finding hardest...
Results 1 to 7 of 7