Thread: showing bitmap in window from a resource

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

    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,868
    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, 10:07 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM