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

Search:

Type: Posts; User: syg19

Search: Search took 0.04 seconds.

  1. Replies
    6
    Views
    7,502

    Re: Loading image from DIB

    the code of what, the viewimageex function or the code I am using to implement it?
  2. Thread: CPictureHolder

    by syg19
    Replies
    15
    Views
    4,990

    Re: CPictureHolder

    I know I really don't know much but I need to display this image by next week I would gladly read a tutorial I tried finding one but didn't find any that were of use to me I worked through a beginner...
  3. Thread: CPictureHolder

    by syg19
    Replies
    15
    Views
    4,990

    Re: CPictureHolder

    First of all, thank you both for this help I really appreciate it sorry for so many questions.
    Secondly how do I implement the message handler for WM_PAINT?
  4. Thread: CPictureHolder

    by syg19
    Replies
    15
    Views
    4,990

    Re: CPictureHolder

    hosie I tried usingwhat you showed but got this error

    error C2509: 'OnPaint' : member function not declared in 'CCameraControlDlg'

    Is there a specific header I need for OnPaint?
  5. Thread: CPictureHolder

    by syg19
    Replies
    15
    Views
    4,990

    Re: CPictureHolder

    this is the command:




    class Command {

    protected:
    ..
  6. Thread: CPictureHolder

    by syg19
    Replies
    15
    Views
    4,990

    Re: CPictureHolder

    Those produced different errors respectively:

    GetDC() is not a member of DownloadCommand

    hwnd is not a member of DownloadCommand
  7. Thread: CPictureHolder

    by syg19
    Replies
    15
    Views
    4,990

    Re: CPictureHolder

    "class DownloadCommand : public Command" so I would think it's not a CWnd derived class..right?
  8. Thread: CPictureHolder

    by syg19
    Replies
    15
    Views
    4,990

    Re: CPictureHolder

    I'm sorry I'm pretty new to C++ so I don't really know if I had to guess I would say the 2nd one I'm developing in Microsoft Visual studio 2008 using MFC. From the code sample I'm using that I...
  9. Thread: CPictureHolder

    by syg19
    Replies
    15
    Views
    4,990

    CPictureHolder

    Hello everyone,

    I see that many people have posted threads about using CPictureHolder and none of them have helped me. I would like to use this class to load a jpg from a file path and display it...
  10. Replies
    6
    Views
    7,502

    Re: Loading image from DIB

    Thanks for the reply Viggy,

    I changed it to image and it compiled fine but still no image was displayed when I ran the program. Sorry about the pointer confusion still pretty new to programming...
  11. Replies
    6
    Views
    7,502

    Loading image from DIB

    Hello, I am trying to take an image which has been loaded to the DIB and display it (right now I'm just trying to get it to display on the "main window" anyway possible, picturebox would be ideal...
  12. Replies
    3
    Views
    907

    Re: Image descriptors

    Well the program compiles fine but when I try to take a picture (which is the action that initiates this code) I get an error message saying "Run-Time Check Failure #3 - The variable 'image' is being...
  13. Replies
    3
    Views
    907

    Re: Image descriptors

    int loadjpgfilefrombuffer(LPTSTR fname, imgdes *image)
    {
    #define BAD_READ -87

    JpegData jdat; // Reserve space for struct
    DWORD bytesRead,
    int rcode = NO_ERROR;
    ...
  14. Replies
    3
    Views
    907

    Image descriptors

    Hello, well I'm new at programming and C++, but for a program I am developing I need to use an image descriptor for a function that gets the RGB values from the image descriptor (the functions are...
Results 1 to 14 of 16





Click Here to Expand Forum to Full Width

Featured