|
-
May 6th, 2001, 09:22 PM
#1
Placing Image on a window
How do I place a image on a window?
-
May 6th, 2001, 09:54 PM
#2
PowerPoster
Use the Picture Property of the window
-
May 6th, 2001, 10:01 PM
#3
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...
-
May 6th, 2001, 10:09 PM
#4
PowerPoster
Use the SelectObject to assign a picture to a hdc.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|