Custom Region in Window CE
-
Windows CE does not support the following methods of the CRgn class: CreateEllipticRgn CreateEllipticRgnIndirect CreatePolygonRgn CreatePolyPolygonRgn CreateRoundRectRgn So how can I create my own custom region for my dialog (for example a heart shape region) (in Windows CE)? I just mean custom region. Do you have any solutions for this proplem ? Thank you.
Nothing Is Impossible !
-
Windows CE does not support the following methods of the CRgn class: CreateEllipticRgn CreateEllipticRgnIndirect CreatePolygonRgn CreatePolyPolygonRgn CreateRoundRectRgn So how can I create my own custom region for my dialog (for example a heart shape region) (in Windows CE)? I just mean custom region. Do you have any solutions for this proplem ? Thank you.
Nothing Is Impossible !
You'll have to build a region from rectangles using
ExtCreateRegion
. I'm not honestly sure if that will work either, but that's the one region-manipulating function that exists on CE.Stability. What an interesting concept. -- Chris Maunder
-
Windows CE does not support the following methods of the CRgn class: CreateEllipticRgn CreateEllipticRgnIndirect CreatePolygonRgn CreatePolyPolygonRgn CreateRoundRectRgn So how can I create my own custom region for my dialog (for example a heart shape region) (in Windows CE)? I just mean custom region. Do you have any solutions for this proplem ? Thank you.
Nothing Is Impossible !
You can find a sample program that shows how to create an irregular shaped window on smart devices here http://www.opennetcf.org/PermaLink.aspx?guid=f0abe92f-6e94-4a19-b0e3-11d1bdb3c9f0