RE: Alpha windows and cutouts

"Lewin, Gareth" <[email protected]> Thu, 14 Oct 2004 08:49:41 -0700
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
It's pretty easy, create the shap of the window in a region and use
SetWindowRgn

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/pan
tdraw_2him.asp

Also, look at WM_HITTEST. I'm only saying that as the 'how do I make my
entire window drag able' question typically follows on to the 'how do I
make non-square windows' :)

_________________________________________
Gareth Lewin - http://www.garethlewin.com

"Facts are useless. You can use facts to prove anything that's even
remotely true. Facts shmacts!" -- Homer Jay Simpson. 

> -----Original Message-----
> From: Richard Fabian [mailto:[email protected]] 
> Sent: Thursday, October 14, 2004 6:55 AM
> To: gamedevwindows
> Subject: [GD-Windows] Alpha windows and cutouts
> 
> How do applications such as winamp and WMP make windows that 
> are non rectangular?
> 
> I haven't even got an idea of where to start.
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on 
> ITManagersJournal Use IT products in your business? Tell us 
> what you think of them. Give us Your Opinions, Get Free 
> ThinkGeek Gift Certificates! Click to find out more 
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Gamedevlists-windows mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
> Archives:
> http://sourceforge.net/mailarchive/forum.php?forum_id=555
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU5