VB6: Transparent Form - Solid Controls

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Trevor Fairchild

    #1

    VB6: Transparent Form - Solid Controls

    I am working on an Application which I have based on several frames.
    There is one central frame, and, as required, the other frames 'slide'
    out from behind it.

    The problem is that this requires a large form to keep room for all of
    the various slides.

    I want to have the form transparent, and have mouse events
    pass-through to whatever is behind it. I have done some searching and
    have found the commands to make a form transparent - but this method
    also affects all of the controls contained in the form - this is no
    good for me.

    My other option is to make each frame a separate form, but then it
    starts looking a little ugly with so many form toolbars etc. I can
    have the toolboxes etc. removed from the form, but I am curious to
    know if my original vision is possible.

    Any suggestions?

    Thanks,

    Trevor.
  • Raoul Watson

    #2
    Re: Transparent Form - Solid Controls


    "Trevor Fairchild" <trevorf@e-crime.on.ca> wrote in message
    news:5bf84afd.0 310281821.d5643 a1@posting.goog le.com...[color=blue]
    > I am working on an Application which I have based on several frames.
    > There is one central frame, and, as required, the other frames 'slide'
    > out from behind it.
    >
    > The problem is that this requires a large form to keep room for all of
    > the various slides.
    >
    > I want to have the form transparent, and have mouse events
    > pass-through to whatever is behind it. I have done some searching and
    > have found the commands to make a form transparent - but this method
    > also affects all of the controls contained in the form - this is no
    > good for me.
    >
    > My other option is to make each frame a separate form, but then it
    > starts looking a little ugly with so many form toolbars etc. I can
    > have the toolboxes etc. removed from the form, but I am curious to
    > know if my original vision is possible.
    >[/color]

    If you're using SetLayeredWindo wAttributes then probably not because it
    affects the entire window (to include its controls / children). I think
    separating the controls / separate form would be your best bet.


    Comment

    Working...