Re: WinCE and transparent irregular shaped forms by Scott
Scott
Mon Apr 21 13:36:17 CDT 2008
=?Utf-8?B?Q2hyaXM=?= <Chris@discussions.microsoft.com> wrote:
>
>Is it possible to create transparent win form with irregular shapes in
>Windows CE 5.0 (under Visual Studio 2005?). If yes, how to do that?
>I am trying to override OnPaint method but it does not work at all.
You can't create a transparent window with CE, but you can create a
window with an irregular shape using SetWindowRgn. CE doesn't have
the full compliment of region functions, so creating interesting
regions might be difficult.
--
--------- Scott Seligman <scott at <firstname> and michelle dot net> ---------
What do you despise? By this are you truly known.
-- Dune by Frank Herbert