Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Detecting events on controls

Posted on 2002-06-07
3
Medium Priority
?
561 Views
Last Modified: 2013-11-20
Hi,

I want to monitor when a user click on a button which I have the handle. I am presently using NetMeeting and since the SDK is limited, i want to monitor certain kind of events.

I already installed function calls with SendMessage to obtain the value of a TrackBar (msctls_trackbar32) and CheckBox (Button) with BST_CHECKED, TBM_GETPOS to control those controls. But how to monitor them? Something that will be great is to add a functions that will be call when something will happen with those controls.

Maybe there is a way to do that with the SDK? In this case, I am interested to read what you have to say about it.

Thanks!
0
Comment
Question by:teknee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 12

Expert Comment

by:migel
ID: 7064007
Hi!
You have to install Windows HOOK to monitor input activity.
for your WH_MOUSE and WH_KEYBOARD hooks required.
See MSDN example how to use hooks.
0
 

Author Comment

by:teknee
ID: 7066033
Hi Migel,

Thank you for ansering but I am searching for something more precise. Do you know where I can find examples exactly?

Thanks!

Tek
0
 
LVL 12

Accepted Solution

by:
migel earned 600 total points
ID: 7066298
Hi!
There is no example exactly what you want.
So You need read MSDN about HOOKs and look to MSDN example program.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question