Left and Right Click

This is a discussion on Left and Right Click within the C++ Programming forums, part of the General Programming Boards category; I am trying to write a program that differentiates between a left and a right click. I am using Turbo ...

  1. #1
    Registered User
    Join Date
    May 2009
    Location
    NJ
    Posts
    1

    Left and Right Click

    I am trying to write a program that differentiates between a left and a right click. I am using Turbo C++. In Object Inspector I have OnClick set which works fine with the left button but of course nothing happens with the right click. Any ideas?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,853
    Which version of Turbo C++ ?

    If it isn't Turbo C++ Explorer then try upgrading from the ancient fossil you seem to be using.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21