flat assembler
Message board for the users of flat assembler.
Index
> Windows > Sprite creation & Win transparency in windows |
Author |
|
HexEdit 05 May 2007, 18:30
Look at MSDN - WS_EX_LAYERED and SetLayeredWindowAttributes
|
|||
05 May 2007, 18:30 |
|
kohlrak 08 May 2007, 23:19
In iczelion's site (i think it's his site), the software page seems to have a whole bunch of examples of things in masm, even a few things like what i think you're asking for. Plus, i *think* that it's what they used for neko98 (old program that seems to have been long since forgotten).
The software page. I seem to like the raindrop example, but that's on another page of that site. |
|||
08 May 2007, 23:19 |
|
Crukko 14 May 2007, 13:49
@kohlrak: Thx! I lost IcZ site...good URL
but i was looking for fasm source (IcZ conversion...?) of examples |
|||
14 May 2007, 13:49 |
|
kohlrak 15 May 2007, 05:43
Well, i'm going to get around to doing it eventually. I already have a WS_EX_LAYERED example making fun of final fantasy 1, but all it does is make the window transparent, and there's an example of that in the examples section, but if you still want i'll upload that until i get around to sprites, because, interestingly enough, i think there is two ways of doing it... There's something about a "bit mask" i keep hearing about, but it appears that's only for transparency. So, don't expect anything till sunday, and don't expect much even then. lol I'll try my best to get something in for you.
As for conversions, SleepSleep had some tutorials but they were never finished as far as i could see. I'm going through alot of Icz's tuts and making my own examples based on Icz's masm code, but certain tutorials are skipped, but i may go back to them. Though, i've gone dialog box happy... But, considering the first few tutorials are based on having a window over a dialog box, then people should be able to figure out the conversion, but i think i'm gonna have to use a window for the splash screen example, which is what i think will probably give me the stuff i need to use in conjunction with WS_EX_LAYERED. And last but not least, people who want to use WS_EX_LAYERED, you have to set it in your program dynamically. For some uknown reson, it dosn't accept WS_EX_LAYERED when you put it into a resource file as a dialog box parameter. Maybe they're afraid of someone abusing that and making a window impossible to use because it has an invisible dialog box as a child? |
|||
15 May 2007, 05:43 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.