How To Import A Bitmap Picture Correctly Using Visual C++ 6 ?

This is a discussion on How To Import A Bitmap Picture Correctly Using Visual C++ 6 ? within the Windows Programming forums, part of the Platform Specific Boards category; Good day ! I wish to import a bitmap picture (1024 x 768 x 32 bit high color). How can ...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    13

    Question How To Import A Bitmap Picture Correctly Using Visual C++ 6 ?

    Good day !

    I wish to import a bitmap picture (1024 x 768 x 32 bit high color).

    How can I do that ?

    I was told that I can import it as resource, right ?

    I tried to open the bitmap file in VC++ , copy it and paste it. In the icon editor, the picture looks normal but when I execute and run the application, the picture seems very weird and it just in 16 colors. I wonder what had happen ?

    What should I do to correct this problem?

    Thanks a lot !

  2. #2
    Registered User Esss's Avatar
    Join Date
    Aug 2001
    Posts
    133
    You can't edit resources with more than 256 colours in VC++. Import the resource, rather than copying and pasting, and edit it with another bitmap editor.
    Ess
    Like a rat in a maze who says,
    "Watch me choose my own direction"
    Are you under the illusion
    The path is winding your way?
    - Rush

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    13

    Question Then What's The Step To Import The Bitmap?

    Good day again !

    What's the step to import the bitmap image ?

    I try to create a bitmap instance and then import it a bitmap.

    A File Window is opened and I can't select a bitmap file.

    I just let me import the icon file only.

    If I view all the file and forceit to import, it will open the picture editor of VC++ also.

    Help !

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with Bitmap Display
    By The Brain in forum Windows Programming
    Replies: 7
    Last Post: 03-23-2009, 06:33 AM
  2. bitmap not going onto screen
    By stallion in forum Windows Programming
    Replies: 4
    Last Post: 02-22-2003, 10:07 AM
  3. Using 'if' with char arrays or string objects
    By c++_n00b in forum C++ Programming
    Replies: 36
    Last Post: 06-06-2002, 10:04 PM
  4. odd errors from msvc std library files
    By blight2c in forum C++ Programming
    Replies: 6
    Last Post: 04-30-2002, 01:06 AM
  5. <list>
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 02-24-2002, 04:07 PM

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