RE: [GD-Windows] Alpha windows and cutouts
Brought to you by:
vexxed72
From: Lewin, G. <gl...@ea...> - 2004-10-14 15:49:49
|
It's pretty easy, create the shap of the window in a region and use SetWindowRgn http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/gdi/pa= n 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.=20 > -----Original Message----- > From: Richard Fabian [mailto:ra...@gm...]=20 > Sent: Thursday, October 14, 2004 6:55 AM > To: gamedevwindows > Subject: [GD-Windows] Alpha windows and cutouts >=20 > How do applications such as winamp and WMP make windows that=20 > are non rectangular? >=20 > I haven't even got an idea of where to start. >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on=20 > ITManagersJournal Use IT products in your business? Tell us=20 > what you think of them. Give us Your Opinions, Get Free=20 > ThinkGeek Gift Certificates! Click to find out more=20 > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 >=20 >=20 |