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

making a clickable transparent form

Hi,

I am trying to build a form which becomes transparent on MouseLeave and non transparent on MouseEnter. Alternatively any form that passes keyboard click to below windows but not mouse clicks will be helpful.
Can you please guide me to build this.

Thanks
Jul 17 '10 #1
3 2991
GaryTexmo
1,501 Expert 1GB
It's not our job as bytes volunteers to build your application for you. You'll have to dive in and do the work yourself. We're happy to help if you get bogged down in some of the coding and perhaps point out what you might be doing wrong, but we can't tell you exactly what to do (nor should we).

What I can tell you is that you sound like you've got a pretty clear idea of what you want to do, which is fantastic. You need to open up a new project and start looking at what you can do. It will also be immensely helpful for you if you start googling around with key terms to help you out.

For example, I can bet you that if you punched in "C# transparent form" you'll get something that will go along way to helping you get started.

Good luck!
Jul 17 '10 #2
@GaryTexmo
Hi,
Thanks for your reply. I tried following code

protected override CreateParams CreateParams
{
get
{
CreateParams cp = base.CreateParams;
cp.ExStyle |= 20;
return cp;
}
}
But it bypasses both mouse & keyboard. Is there any way to bypass only keyboard?

Thanks
Jul 17 '10 #3
GaryTexmo
1,501 Expert 1GB
I put that code into a form and even without the create params, it still passed keyboard and mouse info to the form below on the transparent portions. Actually, so far as I can tell, that CreateParams isn't doing anything for me at all.

I don't know how to make it pick up these things and pass them to the control itself. It looks like the transparent portions drop it entirely.
Jul 17 '10 #4

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

Similar topics

9
by: don | last post by:
I want to create a transparent form and can write something on it by using Ink. I try to set form.backcolor = color.transparent, but it dosen't accept. And everything will be transprent when i use...
2
by: Allan | last post by:
I've been trying to get this to work for days. I have a form which needs to be transparent (only the form background). On the form there are two images (32 bit PNGs) with alpha channel...
2
by: Matthew | last post by:
I created a transparent form, but the text in my label has a black border around it. I created a new form with a label with the text color "red" and the background color of "Transparent." I added...
2
by: thowle | last post by:
Okay, here is what I have, I designed a GUI that has rounded edges at the top (left and right). I want them to be transparent (Like Windows XP is when you have the Luna themes enabled). The...
4
by: Brady Love | last post by:
Is it possible to give panels opacity so they are see through a little bit? I have a background image on my mainform and I want to put panels over it that you can see the background image still but...
4
by: tommaso.gastaldi | last post by:
I found useful to use transparent controls like: '---------------------------------------------------------------------------------- Public Class UserControlTransp Inherits...
2
by: pigeonrandle | last post by:
Hi, I am trying (with little (no) success) to create a transparent form that can capture mouse events. Put another way, i would like to show the other windows that are behind my form (like setting...
4
by: maniview | last post by:
How to use of Transparent Form... in swing component.
2
by: Eng Teng | last post by:
How do I create a transparent form which allow me to click icon behind the transparent form on desktop. Regards, Tee
1
by: matthewr | last post by:
I want to create a fully-transparent fullscreen form which records clicks but also passes on the 'click' to the desktop. Specifically, I have an existing application which displays a webpage...
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.