|
-
Nov 29th, 2004, 01:45 PM
#1
Thread Starter
PowerPoster
CreateWindowEx
Sorry guys, this is probably an easy one but I'm tired...
How can I create a PictureBox / Image / Whatever can display a GIF file with transparency, through the API (assuming CreateWindowEx here)?
-
Nov 29th, 2004, 01:52 PM
#2
Fanatic Member
-
Nov 29th, 2004, 02:17 PM
#3
Thread Starter
PowerPoster
Erm no.. I have to use the API :-)
The point is that I'm going to create a new window so I can add it to other window's title bars... that reminds me a window can't be transparent except when using layer effects, damn!
Would probably be easier to BitBlt a picture there, hm..
-
Nov 29th, 2004, 06:51 PM
#4
Software Eng.
Yes, BitBlt it like you would a sprite (with the use of a mask).
(Since I recall you're fairly advanced in GDI/Graphics, I'll assume you know what I mean)
-
Nov 29th, 2004, 07:00 PM
#5
Thread Starter
PowerPoster
Yes I am. Hoped there could be some workaround since BitBlt is still eating more performance than some internal windows stuff but guess 16x16 pixel won't hurt.
Well I got nearly everything to work now, in the worst case I'll just use a standard button instead of icons
-
Nov 29th, 2004, 08:13 PM
#6
Thread Starter
PowerPoster
btw I sent you a PM Megatron, hope you can give me a clue..
-
Nov 29th, 2004, 10:20 PM
#7
Software Eng.
Whoops, didn't notice. I'll check that now
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
|