|
-
Jun 21st, 2001, 08:21 PM
#1
Thread Starter
Frenzied Member
graphics
That whole skinning thread has inspired me. The only thing I need to know is how to put pictures into a static. I have an example but every time the window refreshes it's gone, and I would like the biitmap to be from a file instead drawn by me. How do I connect my rc file to a bitmap? Thanks all
-
Jun 22nd, 2001, 12:53 PM
#2
-
Jun 22nd, 2001, 01:23 PM
#3
Thread Starter
Frenzied Member
so If I put SS_BITMAP into my static how would I tell it which resource to use?
-
Jun 22nd, 2001, 01:25 PM
#4
Hyperactive Member
hmmmm...
I am not sure(never worked with resources) but there should be a function that moves a bitmap to it(maybe BitBlt??) and you would pass the resource ID of the bitmap. Parksie should know this
Amon Ra
The Power of Learning.
-
Jun 22nd, 2001, 01:28 PM
#5
Monday Morning Lunatic
Steve - the property sheet changes
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jun 22nd, 2001, 01:32 PM
#6
Hyperactive Member
Parksie...
So, did you find what is wrong in my program(FindWindow...)?
Amon Ra
The Power of Learning.
-
Jun 22nd, 2001, 02:44 PM
#7
Thread Starter
Frenzied Member
property sheet? Im confused
-
Jun 22nd, 2001, 03:58 PM
#8
Frenzied Member
Let me see if I can get this mess sorted out.
You have a window you are creating with CreateWindowEX
You want to have the window have a static image on it rather than BitBlting it every time?
You dont like BitBlting it because it desappears on a redray?
Am I right?
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Jun 22nd, 2001, 04:41 PM
#9
Thread Starter
Frenzied Member
I'll do any method that keeps the picture on the screen.
-
Jun 22nd, 2001, 04:46 PM
#10
Frenzied Member
Do you know how to use bitblt?
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Jun 22nd, 2001, 07:54 PM
#11
Thread Starter
Frenzied Member
Not really but I think the two of us have already had a long thread on this.....let me find it....I still have the project from that too.
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
|