Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Awais Chishti

Search: Search took 0.00 seconds.

  1. GetDIBits() returns wrong BGR values:

    GetDIBits() was not passing the correct BGR values to a COLORREF array:



    #include <windows.h>
    #include <iostream>
    using namespace std;

    int main() {int i; HBITMAP hBit; HDC bdc; BITMAPINFO...
  2. Replies
    5
    Views
    1,319

    Re: Trouble with GetDIBits()

    Well, in my case the return value is 1, so I guess the pixel is successfully scanned. But whether or not I call GetDIBits(), the same characters are stored in the array. I did read the documentation...
  3. Replies
    5
    Views
    1,319

    Trouble with GetDIBits()

    Hello guys, I'm new to C++ and I couldn't figure out the proper way to store pixel data of a device context into an array using GetDIBits(). Currently I am trying to get the RGB values of a single...
Results 1 to 3 of 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center