CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2009
    Posts
    18

    Making Two Forms and linking them.

    Hello, let me describe my problem.
    In order to reduce the opacity of a webcontrol the only way is to reduce the opacity of the form that he's in.
    so i tought about making a second form in the projet to use mainly & only for this web control and reduce the opacity.
    the second form works, but now i need a good way to make the form 2
    appear on Form 1 at X,Y position.
    make it so that when Form1 is moved, Form2 moves with it.

    please help :x

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

  3. #3
    Join Date
    Aug 2009
    Posts
    18

    Re: Making Two Forms and linking them.

    Wow, can't we simply use some sort of element host?

  4. #4
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Making Two Forms and linking them.

    No. The whole problem is, whenever a form is dragged by its titlebar a system message gets sent, that is why we need to catch that event, and make it do what we want, i.e., override.

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