CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2001
    Location
    New Delhi, India
    Posts
    78

    Question Create Window having same shape as a Image in it

    Hi Devs,

    I want to create a window (form) that takes shape of an image inside it (or you can say any custom shape) like in the attached file.

    How can i do it.

    Moreover, how can i create a moving animated character and give effects like when i click it some pop up will appear etc.

    Thanks
    Kumar
    Attached Images Attached Images

  2. #2
    Join Date
    Jul 2003
    Location
    DELHI
    Posts
    62

    Re: Create Window having same shape as a Image in it


  3. #3
    Join Date
    Sep 2001
    Location
    New Delhi, India
    Posts
    78

    Re: Create Window having same shape as a Image in it

    Thanks, it was great.

  4. #4
    Join Date
    Apr 2005
    Location
    Colombo, Sri Lanka
    Posts
    27

    Cool Re: Create Window having same shape as a Image in it

    threres a much easy way.

    1. when ur designing da img, use a plane color like Luminous green.
    (image should be designed to match da size of da form)
    2. set da img to forms -backgroundimage-

    3. set froms -TransparencyKey to Luminous green.

    ur done.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured