Super-Newbie. Need to see how to use LoadBitmap() correctly?
Hi, I am trying to load a bitmap as the background of my first windows app. So I tried using LoadBitmap() but I am using it wrong. I set the first parameter to "hwnd", and the second I set to the name of a pointer that contains the text: "C://a_bitmap.bmp". But this is not the type of pointer it wants. But the documentation specifically states:
HINSTANCE hInstance, // handle of application instance
LPCTSTR lpBitmapName // address of bitmap resource name
Identifies the instance of the module whose executable file contains the bitmap to be loaded.
Points to a null-terminated string that contains the name of the bitmap resource to be loaded.
Can someone help?:confused: