Results 1 to 5 of 5

Thread: Send clicks to window behind

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    413

    Send clicks to window behind

    I have made a window that has only faint apperance (opacity = 10%). I can detect if click has been made in a non hot area, but do not know how to send the click to the window/app behind it. Is there an easy way to do this? I prefer not to use API functions, but will if I need to.

    Thanks,

    Dave
    Visual Studio .NET 2005/.NET Framework 2.0

  2. #2
    Addicted Member Cristian's Avatar
    Join Date
    Jun 2006
    Posts
    228

    Re: Send clicks to window behind

    If you make a click to a window it will be active. Is that what you want ?

  3. #3
    Frenzied Member
    Join Date
    Mar 2006
    Location
    Pennsylvania
    Posts
    1,069

    Re: Send clicks to window behind

    i'm kinda confused. let me see if i'm right. the form has 10% opacity and you can see icons behind the form and you want to click the icon that is behind the form, right?

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    413

    Re: Send clicks to window behind

    Quote Originally Posted by Fromethius
    i'm kinda confused. let me see if i'm right. the form has 10% opacity and you can see icons behind the form and you want to click the icon that is behind the form, right?
    Yes, this is what I want to do. I want to make some tools that are only slightly visable and mostly see what is behind. What I am doing is placing hot spots on the window next to certain input fields. If I have to make a calculation, I will have a button to bring up the calculator right next to the field. (I don't have the code of the back program so adding buttons is not an option.) Basicaly the end need is to increase the input of records, thus cutting cost.
    Visual Studio .NET 2005/.NET Framework 2.0

  5. #5
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    Re: Send clicks to window behind

    If this is an external application that you are trying to control, which it sounds like it is, you are going to need to use APIs.

    Here is a pretty good thread on mouse clicks and such.
    http://www.vbforums.com/showthread.p...65#post2645165
    Visual Studio Team Edition 2005
    GDI+ Links: Bob Powell VB.Net Heaven
    API Links: All API Pinvoke.Net
    VB6 to VB.Net: Visual Basic 6 to .NET Function Equivalents (Thread)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width