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

  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!

  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, 07:03 AM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM