-
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 :D
-
I think you need to insert this flag when calling the CreateWindowEx to create your static:
That should allow you to enter a bitmap :)
hope it works :)
-
so If I put SS_BITMAP into my static how would I tell it which resource to use?
-
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 :)
-
Steve - the property sheet changes ;)
-
Parksie...
So, did you find what is wrong in my program(FindWindow...)?
-
property sheet? Im confused :confused:
-
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?
-
I'll do any method that keeps the picture on the screen.
-
Do you know how to use bitblt?
-
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. :)