   HELP with C++ Bitmaps!!!
  I just want to display a bitmap in my window.HOW? HOW? HOW?I got my file, pic.bmp, what do i need to:#includeany variablesserialization?and finally how do i draw/paint/display it?I''M REALLY REALLY FRUSTRATED, I''VE BEEN TRYIN SINCE 8 oclock!!!HELP PLEASE!!!any help/exaples would be GREAT!!!thanks,   -mike 
  What are you using? windows? open GL? Direct3d? console? ;  http://www.gametutorials.com/download/Win32/BitmapLoading_Win32.zip  [edited by - Koobazaur on February 17, 2004 2:58:18 AM];  i''m using visul c++, and creating a MFC AppWizard (exe),i hope taht helps-mike ;  here is some of the code ive tried so far:HINSTANCE hinstance;HWND hwnd;HDC hdc = GetDC(hwnd);HDC image_dc = CreateCompatibleDC(hdc);HBITMAP hbitmap = (HBITMAP)LoadImage   hinstance,"MyBitmap.bmp",IMAGE_BITMAP,0,0,LR_LOADFROMFILE);BitBlt(hdc,50,50,320,192,image_dc,0,0,SRCCOPY);andHBITMAP _hBitmap;CString path = "MyBitmap.bmp";hBitmap = (HBITMAP) ::LoadImage (0, path, IMAGE_BITMAP, 0, 0,   LR_LOADFROMFILE);IM STILL LOST!!!HELP!   -mike ;  From what I can guess you are in completely over your head. Forget about displaying bitmaps for now. First, you need to learn how the language works, then at least a few basic of the OS' API (Windows in your case).Edit: And while you are at it, drop the caps lock and such. And if you think you are "REALLY REALLY FRUSTRATED" because something doesn't work properly within a day, I suggest you overthink this whole thing. Bugs and other serious problems have the nasty habit of plagueing you much longer in any reasonable project.   [edited by - BitMaster on February 17, 2004 5:29:07 PM]