CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: Touch Screen

  1. #1
    Join Date
    May 1999
    Posts
    2

    Touch Screen

    Does anybody know if it is possible to write code to make a monitor into a touch screen? If this is possible does anybody know any resources about this?
    Thanks,
    BryD


  2. #2
    Join Date
    May 1999
    Posts
    6

    Re: Touch Screen

    Override your main window's OnFingerDown() function and add code similar to the following:


    void CMyMainWnd::OnFingerDown(UINT nFlags, CPoint point)
    {
    CMyMainWnd::OnLButtonDown(nFlags, point);
    }




    Just kidding! Touch screen monitors are equipped with special hardware and device drivers to use the hardware. If you have the hardware and you wish to write your own handler, then you will need assistance from your touch screen's hardware manufacturer.


  3. #3
    Join Date
    May 1999
    Posts
    3

    Re: Touch Screen

    How can i override OnFingerDown()?

    i can't find that with ClassWizard.

    Thanks.


  4. #4
    Join Date
    May 1999
    Posts
    2

    Re: Touch Screen

    I used to think that this forum was full of intelligent people, but now I know it is just a bunch of assholes. I have never dealt with a touch screen monitor, and I did not know what kind of drivers were associated with it, that is why I ask questions. I did not expect to get ridiculed for my unknowing. Thanks anyway.


  5. #5
    Join Date
    May 1999
    Posts
    6

    Re: Touch Screen

    That was meant as a joke not an insult, but my sincere apologies nevertheless.


  6. #6
    Join Date
    May 1999
    Posts
    25

    Re: Touch Screen

    Hi,

    This forum is full of intelligent people -but that does not mean that we/they do not have a sense of humour.

    The company I work for use Touchscreen monitors extensively.
    It is best to buy a touchscreen monitor already made (rather than try an retrofit an existing standard monitor).
    However expect to say a fair price markup.
    Do an internet search on touchscreen or some similar word(s) and you should find quite a fair selection of companies who deal in this technology.




  7. #7
    Guest

    Re: Touch Screen

    Hi,
    I'm English beginner, maybe my english is little.

    I coded for touch screen utility one years ago.
    There are two way to make touch screen,
    buying TFT LCD monitor + touch screen option, or installing touch screen film
    to your monitor. Touch screen is connected to your mouse port.
    Any way, some touch screen manufacturers supply open source codes,
    drivers, utilities also.
    Events in touch screen is same to those in mouse, so you can use
    MFC Events such as WM_LBUTTONDBLCLK, WM_RBUTTONDOWN, so on.

    Thanks.


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

Featured