Click here to Skip to main content
15,891,757 members
Articles / Programming Languages / C++

Handling Mouse Events and Simulating Push Buttons and List Boxes in a Win32 Console

Rate me:
Please Sign up or sign in to vote.
4.21/5 (13 votes)
4 Jun 2010CPOL4 min read 51.6K   1.3K   28  
Handling mouse events and simulating push buttons and list boxes in a Win32 Console
  • cmichaeljanssonjokeconsole.zip
    • cMichaelJanssonJokeConsole
      • cMichaelJanssonJokeConsole.cpp
      • cMichaelJanssonJokeConsole.h
      • cMichaelJanssonJokeConsole_main.cpp
      • cMichaelJanssonJokeConsole_main.dsp
      • cMichaelJanssonJokeConsole_main.dsw
      • cMichaelJanssonJokeConsole_main.opt
      • cMichaelJanssonJokeConsole_main.plg
      • cMichaelJanssonTextMode.h
      • Debug
        • cMichaelJanssonJokeConsole_main.exe
        • jokes
          • ANNOY.TXT
          • BADDAY.TXT
          • BEER.TXT
          • BETATEST.TXT
          • BLNDDATE.TXT
          • BLUNDERS.TXT
          • BUBBA.TXT
          • CHINEESE.TXT
          • CONFUCUS.TXT
          • DATE.TXT
          • ELEVATOR.TXT
          • EMAILJNK.TXT
          • FEMALE.TXT
          • FEMCOMP.TXT
          • GOLF.TXT
          • HARDWARE.TXT
          • INSULTS.TXT
          • IS386.TXT
          • KEEPMIND.TXT
          • KLINGON.TXT
          • LIFEFACT.TXT
          • MATHJOKE.TXT
          • MEDICAL.TXT
          • MIXEDNUT.TXT
          • MTRCYCLE.TXT
          • NERD.TXT
          • OXYMORON.TXT
          • PARTFUN.TXT
          • PONDER.TXT
          • PROGQUOT.TXT
          • RULES.TXT
          • SAYNO.TXT
          • SICK.TXT
          • SIGNS.TXT
          • STRESS.TXT
          • UPGRADE.TXT
          • VirJokes.txt
          • WEBTERM.TXT
          • YOMAMA.TXT
          • YOMAMA2.TXT
          • ZADDICT.TXT
      • jokes
        • ANNOY.TXT
        • BADDAY.TXT
        • BEER.TXT
        • BETATEST.TXT
        • BLNDDATE.TXT
        • BLUNDERS.TXT
        • BUBBA.TXT
        • CHINEESE.TXT
        • CONFUCUS.TXT
        • DATE.TXT
        • ELEVATOR.TXT
        • EMAILJNK.TXT
        • FEMALE.TXT
        • FEMCOMP.TXT
        • GOLF.TXT
        • HARDWARE.TXT
        • INSULTS.TXT
        • IS386.TXT
        • KEEPMIND.TXT
        • KLINGON.TXT
        • LIFEFACT.TXT
        • MATHJOKE.TXT
        • MEDICAL.TXT
        • MIXEDNUT.TXT
        • MTRCYCLE.TXT
        • NERD.TXT
        • OXYMORON.TXT
        • PARTFUN.TXT
        • PONDER.TXT
        • PROGQUOT.TXT
        • RULES.TXT
        • SAYNO.TXT
        • SICK.TXT
        • SIGNS.TXT
        • STRESS.TXT
        • UPGRADE.TXT
        • VirJokes.txt
        • WEBTERM.TXT
        • YOMAMA.TXT
        • YOMAMA2.TXT
        • ZADDICT.TXT
"Motorcycles (a Guy Thing)"
"Motorcycles only need their fluids changed every 2,000 miles."
"Motorcycles' curves never sag."
"Motorcycles last longer."
"Motorcycles don't get pregnant."
"You can ride a Motorcycles any time of the month."
"Motorcycles don't have parents."
"Motorcycles don't whine unless something is really wrong."
"You can kick your Motorcycle to wake it up."
"You can share your Motorcycle with your friends."
"If your Motorcycle makes too much noise, you can buy a muffler."
"You only need to get a new chain or belt for your Motorcycle when the old one is _really_ worn."
"If your Motorcycle smokes, you can do something about it."
"Motorcycles don't care about how many other Motorcycles you have ridden."
"When riding, you and your Motorcycle both arrive at the same time."
"Motorcycles don't care about how many other Motorcycles you have."
"Motorcycles don't mind if you look at other Motorcycles, or if you buy Motorcycle magazines."
"New Motorcycles must be asked for, and if you don't want to pay for them, you don't get them."
"If your Motorcycle goes flat, you can fix it."
"If your Motorcycle is too loose, you can tighten it."
"If your Motorcycle is too soft, you can get different shocks."
"If your Motorcycle is misaligned, you don't have to discuss politics to correct it."
"You can have a beer while riding your Motorcycle."
"You can have a black Motorcycle and show it to your parents."
"You don't have to be jealous of the guy that works on your Motorcycle."
"You don't have to deal with priests or blood-tests to register your Motorcycle."
"You don't have to convince your Motorcycle that you're a motorcyclist and that you think that Motorcycles are equals."
"If you say bad things to your Motorcycle, you don't have to apologize before you can ride it again."
"You can ride a Motorcycle as long as you want and it won't get sore."
"Your parents don't remain in touch with your old Motorcycle after you dump it."
"Motorcycles always feel like going for a ride."
"Motorcycles don't insult you if you are a bad rider."
"Your Motorcycle never wants a night out alone with the other Motorcycles."
"Motorcycles don't care if you are late."
"You don't have to take a shower before riding your Motorcycle."
"It's always OK to use tie downs on your Motorcycle."
"If your Motorcycle doesn't look good, you can paint it or get better parts."

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Sweden Sweden
About me:
I attended programming college and I have a degree in three most famous and successful programming languages. C/C++, Visual Basic and Java. So i know i can code. And there is a diploma hanging on my wall to prove it.
.
I am a professional, I am paid tons of cash to teach or do software development. I am roughly 30 years old .

I hold lectures in programming. I have also coached students in C++, Java and Visual basic.

In my spare time i do enjoy developing computer games, and i am developing a rather simple flight simulator game
in the c++ programming language using the openGL graphics libray.

I've written hundreds of thousands of code syntax lines for small simple applications and games.

Comments and Discussions