473,386 Members | 1,819 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,386 software developers and data experts.

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.
Jul 17 '05 #1
1 11934

"Trevor Fairchild" <tr*****@e-crime.on.ca> wrote in message
news:5b*************************@posting.google.co m...
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.


If you're using SetLayeredWindowAttributes 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.
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Henrik | last post by:
Hi how can i make the backcolor of a form transparent best regards Henrik
4
by: Matthew | last post by:
I am not the most talented programmer to grace the earth by a long shot. But I've got a gripe I need to air about the .NET implementaion of Visual Basic. I can live with alot of the major changes...
3
by: Steve Koon | last post by:
Any thoughts on getting this project to work or suggesting another method would be appreciated. Steve ========================================== Project: A Windows Form which acts as a...
7
by: Peter Oliphant | last post by:
Using MakeTransparent one can supposedly turn a color used in a Bitmap to transparent. But, it looks to me like all it does it set these pixels to the color BackColor of the Control it's attached...
2
by: Martin | last post by:
I've been complaing about the VB2005 Help-Information (or rather the lack of it) before, but when I was looking how to set the backstyle of a label control to "Transparent" I found that the VB2005...
1
by: FredC | last post by:
I'm using VS 2003, C#.Net 2003. I built a simple windows form app. with the following attributes: - has a BackgroundImage set to a jpeg I built a very simple user control that contains a...
4
by: ray well | last post by:
in my app i need to make a RichTextbox control transparent. i need it to be a like a pane of glass lying on a sheet of paper, where u can see everything on the sheet of paper not covered by text...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
8
by: Brian Ward | last post by:
I am looking for a simple way to set the image transparency in a PictureBox. I have a moving PictureBox containing a graphic image .. moving by incrementing its Left property. The background...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.