HELP: Error in program, won't display bitmap!

This is a discussion on HELP: Error in program, won't display bitmap! within the Windows Programming forums, part of the Platform Specific Boards category; Hello. I'm working on a text editor and a bitmpa viewer. I think that I have finished the program. I ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    5

    Unhappy HELP: Error in program, won't display bitmap!

    Hello. I'm working on a text editor and a bitmpa viewer. I think that I have finished the program. I complile and I get 0 errors and 0 warnings. However, when I open the bitmap viewer in my program, (File -> Open Bitmap -> browse -> any bitmap, the bitmap flashes on and then off within one millisecond. All you can really see is a flash of color. If you keep clicking the mouse, it will keep displaying the flash of the picture. Could someone PLEASE help me? Thanks!
    Attached Files Attached Files

  2. #2
    Registered User DutchStud's Avatar
    Join Date
    Oct 2001
    Posts
    43

    hmm....

    I don't know much about DrawState, so I don't know if that's your problem or not, but try using bitblt or something like that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  2. OpenGL -- Bitmaps
    By HQSneaker in forum Game Programming
    Replies: 14
    Last Post: 09-06-2004, 04:04 PM
  3. Simple Ddraw question. Display bitmap on a screen.
    By tegwin in forum Game Programming
    Replies: 0
    Last Post: 05-22-2004, 05:50 PM
  4. difficult bitmap question
    By Mecnels in forum Windows Programming
    Replies: 1
    Last Post: 03-13-2003, 06:03 AM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

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