How do I place a image on a window?
Printable View
How do I place a image on a window?
Use the Picture Property of the window
you right i could do that if i was using VB. And yes i know this is a VB forum, but the Win32 API also applies to other languages as well (C++).
So my question still stands... how can I add an image to a window?
I was looking into the BitBlt() function, and I noticed that one of the parameters is a handle to a device context. I am not exactly sure about how to create a DC with an image on it. And yes I do know about the CreateDC() function...
Use the SelectObject to assign a picture to a hdc.