Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 10th, 2007, 5:34 PM   #1
Crazymaxs
Newbie
 
Join Date: Sep 2007
Posts: 5
Rep Power: 0 Crazymaxs is on a distinguished road
Question about clicking through a window

Hello I was wondering if anyone knows of a way in C# to click through the window. What I am trying to do is make a picture in the back of the widow semi transparent and I want it to be on top of the rest of the windows but also beable to click through it with it still remaining on top. I was thinking of maybe somehow redirecting the click on the window to under the window. But if you all have any other ideas of how to do this please post lol just wanted to do somthing interesting. Thanks
__________________
http://www.CrazyMaxsMall.com My new site sells just about everything at very competitive prices! Even up to 75% off MSRP on some products! Sorry for the ad spam there <--- just hard to build a brand name on the net lol. Seriously though I have worked really hard on this site to get the distributors, warehouses and much more lined up so check it out ;P
Crazymaxs is offline   Reply With Quote
Old Sep 10th, 2007, 9:35 PM   #2
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 245
Rep Power: 1 Jabo is on a distinguished road
I was fooling around in VB and tried to make a window that was invisible and borderless and would cover the desktop so that you could see the desktop and not be able to click it, but I was able to click through it to the desktop. Don't know if this will help you at all.
Jabo is offline   Reply With Quote
Old Sep 10th, 2007, 10:14 PM   #3
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
The screen is a two-dimensional entity. The values applied to the pixels are arrived at by performing any one of a few logical combinations of the data that might represent "competing" windows. Generally, the top level window in the z-order will rule, and will receive the clicks. There are methods for setting other windows to "capture" the clicks, however. Refer to your documentation.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get Window Class by clicking it. bigguy Visual Basic .NET 3 Jan 25th, 2007 10:47 AM
Char[11] -> LPCWSTR Kilo C++ 5 May 30th, 2006 3:47 AM
Attitudes Oddball Coder's Corner Lounge 29 Mar 18th, 2006 9:34 PM
GUI Progress Bar badbasser98 C++ 55 Nov 4th, 2005 7:28 AM
Arranging Views of Project Explorer, Property window and Form Layout java_roshan Visual Basic 6 Sep 30th, 2005 2:55 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:48 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC