How do i place a VB control on top of a SWF just like placing a text over image?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kabyr
    New Member
    • Nov 2007
    • 29

    How do i place a VB control on top of a SWF just like placing a text over image?

    Im working on an application which monitors activities in a given location. the console has to be displayed as map just like a radar displays images on screen. The user is expected to click on an image to see details of activity in the location.
    I have created the location image as a SWF file, and i want to place lavels over the image to display activities so that when each is clicked, further action can be achieved.

    The problem is I am unable to place any other VB control on top of the SWF control

    Can anybody help me please?
  • johny10151981
    Top Contributor
    • Jan 2010
    • 1059

    #2
    Did you check the property "ZOrder". change SWFs zorder to higher and lets see what happened

    Comment

    • vb5prgrmr
      Recognized Expert Contributor
      • Oct 2009
      • 305

      #3
      Label and Image controls are "lightweigh t" controls and do not have a handle and thus are place just above the forms graphical methods. Form being the bottom, lightweight controls on top of that, and then those controls that expose their hwnd's on top of that. But then there are those controls that use various API's to create their runtime windows and thus you cannot place a control on top of them... You can however place a mostly transparent form on top... There is an example somewhere out there on the web and I cannot remember where it is but the form us just barely visible and you can see through it but it still captures mouse clicks and movement.

      I guess it is friends time (yahoo, google, ask, answers, bing) and search for vb6 transparent form



      Good Luck

      Comment

      • Kabyr
        New Member
        • Nov 2007
        • 29

        #4
        Originally posted by vb5prgrmr
        Label and Image controls are "lightweigh t" controls and do not have a handle and thus are place just above the forms graphical methods. Form being the bottom, lightweight controls on top of that, and then those controls that expose their hwnd's on top of that. But then there are those controls that use various API's to create their runtime windows and thus you cannot place a control on top of them... You can however place a mostly transparent form on top... There is an example somewhere out there on the web and I cannot remember where it is but the form us just barely visible and you can see through it but it still captures mouse clicks and movement.

        I guess it is friends time (yahoo, google, ask, answers, bing) and search for vb6 transparent form



        Good Luck
        THank you very much. The layering procedure did just what I wanted.

        Problem solved.

        Thanks to all coders in this forum. God bless.

        Comment

        Working...