Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Custom Region in Window CE

Custom Region in Window CE

Scheduled Pinned Locked Moved Mobile
questiontutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nguyenvodich
    wrote on last edited by
    #1

    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 !

    M A 2 Replies Last reply
    0
    • N nguyenvodich

      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 !

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • N nguyenvodich

        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 !

        A Offline
        A Offline
        arcticbrew
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups