bitmaps
-
I can't seem to figure out how one layers bitmaps. And, can one layer things that aren't bitmaps, like CStatics? Also, what's the best REDO/UNDO method for a publisher-like program? halblonious
-
I can't seem to figure out how one layers bitmaps. And, can one layer things that aren't bitmaps, like CStatics? Also, what's the best REDO/UNDO method for a publisher-like program? halblonious
halblonious wrote: I can't seem to figure out how one layers bitmaps Manually, by keeping several bitmaps with transparency keys. halblonious wrote: And, can one layer things that aren't bitmaps, like CStatics? No, they don't have a transparent background, unless you're using W2000 or higher ( maybe ) halblonious wrote: Also, what's the best REDO/UNDO method for a publisher-like program? Read 'Design Patterns' for some good ideas. It's on Addison Wesley ( I forget the authors name ). Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
halblonious wrote: I can't seem to figure out how one layers bitmaps Manually, by keeping several bitmaps with transparency keys. halblonious wrote: And, can one layer things that aren't bitmaps, like CStatics? No, they don't have a transparent background, unless you're using W2000 or higher ( maybe ) halblonious wrote: Also, what's the best REDO/UNDO method for a publisher-like program? Read 'Design Patterns' for some good ideas. It's on Addison Wesley ( I forget the authors name ). Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
--Manually, by keeping several bitmaps with transparency keys. Where can I find how to do this? --No, they don't have a transparent background, unless you're using W2000 or higher ( maybe ) So, is there a way to do something like save the visual aspects of a CStatic as a bitmap, and then layer it for display? Or would that cause weird laggy stuff for the user, or other lame problems? halblonious
-
--Manually, by keeping several bitmaps with transparency keys. Where can I find how to do this? --No, they don't have a transparent background, unless you're using W2000 or higher ( maybe ) So, is there a way to do something like save the visual aspects of a CStatic as a bitmap, and then layer it for display? Or would that cause weird laggy stuff for the user, or other lame problems? halblonious
halblonious wrote: Where can I find how to do this? If you're not supporting Windows95 you can use TransparentBlt, otherwise search the Windows Developers Journal article backlog at www.wdj.com, I have an article there that shows you how. halblonious wrote: So, is there a way to do something like save the visual aspects of a CStatic as a bitmap, and then layer it for display? Or would that cause weird laggy stuff for the user, or other lame problems? Statics are just text, so store the text, and draw it onto a bitmap and show that. Other controls, you have to worry about them getting click messages and so on as well, you should develop a control to hold other controls, display them and get them their messages properly. Sounds like hell to me. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder