showing bitmap in window from a resource

This is a discussion on showing bitmap in window from a resource within the Windows Programming forums, part of the Platform Specific Boards category; I am following this tutorial Win32 Tutorial - Lesson 13: Bitmaps ive got it compiled but the bitmap is failing ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    315

    showing bitmap in window from a resource

    I am following this tutorial
    Win32 Tutorial - Lesson 13: Bitmaps
    ive got it compiled but the bitmap is failing to show up , in the properties of the bitmap it says cannot display image so something must be wrong, can anyone help?
    this is the box i am talking about
    http://img830.imageshack.us/img830/4994/bitmaperror.jpg
    Last edited by Anddos; 07-27-2010 at 11:30 PM.

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,856
    Is the path to the bmp correct?

    Shouldn't it have a ".\" showing it is relative to the programs working folder?
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Window scrollbar
    By maxorator in forum Windows Programming
    Replies: 2
    Last Post: 10-07-2005, 12:31 PM
  2. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  3. Load Bitmap as Window Background
    By Epo in forum Windows Programming
    Replies: 6
    Last Post: 07-19-2005, 09:37 AM
  4. bitmap not going onto screen
    By stallion in forum Windows Programming
    Replies: 4
    Last Post: 02-22-2003, 09:07 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

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