473,385 Members | 1,848 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

Kabyr
29
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?
Jul 30 '10 #1

✓ answered by vb5prgrmr

Label and Image controls are "lightweight" 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

3 1983
johny10151981
1,059 1GB
Did you check the property "ZOrder". change SWFs zorder to higher and lets see what happened
Jul 30 '10 #2
vb5prgrmr
305 Expert 100+
Label and Image controls are "lightweight" 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
Jul 31 '10 #3
Kabyr
29
@vb5prgrmr
THank you very much. The layering procedure did just what I wanted.

Problem solved.

Thanks to all coders in this forum. God bless.
Jul 31 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: VivN | last post by:
I want to use an expression as the control source for a text box in a report (Access 2000). Whilst I have sucessfully used these simple ones =TimeToSingle(TotalHours(,))...
0
by: NeilG | last post by:
Hi, I have an ASPX page with a literal control on the page. The page structure is like a frameset (but I dont use frames, this is just to give you an idea of how it looks) with records down the...
2
by: Win, Pats | last post by:
Just wondering if anyone has ever seen a 3rd party component that facilitates the creation of text images. I know I can "roll my own" but was not wanting to reinvent the wheel. I searched...
2
by: Pucca | last post by:
How do I make the TreeView control's node text (or label) editable when user click twice on it? (Not double click). It's like the explorer on our computer drives. The directory tree label...
2
by: heinz | last post by:
What control is best to display ordinary text on an aspx web page? For example, a short newspaper article as the main content. In html is just in a table, but whats the best way of doing it in...
6
by: Jerry West | last post by:
I'm a newbie to .NET from VB6. I have a Form with a Panel control on it. When the Form loads it maximizes and so does the Panel control. I then fill an array with the path to images at a...
2
by: pieandpeas | last post by:
Hi, i have the following text <td><span (some style stuff) ><a href="http://www.mysite.co.uk">We are a company in the UK that blah blah blah <br /> Our...
1
gcoaster
by: gcoaster | last post by:
Hello Group, I was wondering if anyone out there can help me I have a form Unbound List Box Control on the form The row source is a built-in query. I was wondering if there is anyway to...
2
by: Jeff | last post by:
hey asp.net 2.0 Below you see my code. #1 How to place the text at the buttom right of the image? I mean how do I calculate the x,y parameter of the DrawString method?
2
by: samvb | last post by:
Hi, I have this code: CSS: .onlineuserscon {width:98%; float:left; background-color:#fff;} .onlineusersul {list-style:none; margin:0; padding:0;} .onlineuserimg {width:150px; padding:7px;...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.