Using EM_GETMODIFY to check control changes

It is possible to use the EM_GETMODIFY constant with the SendMessage function in VB to check whether or not a control has changed.  If a control has changed, a 1 is returned; no change returns a zero.  This functionality seems to only work with Edit-type boxes, such as a TextBox or ComboBox (actually, this function only seems to track typing changes to the ComboBox - only the edit part, not if a different ListItem is changed).

This is very nice functionality, but it does not seem to extend to any other controls.  Is there any other constant that can be used with SendMessage, or another API call or such that will tell me?  (yes, I am aware I could just use the change event or click event of the controls... I'm just trying something new)

Thanks!
LVL 2
taplinAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
EM_ messages are for edit controls, such as a TextBox or the edit portion of a ComboBox.

LB_ messages are for a listbox

CB_ messages are for a combobox

BM_ messages are for button controls

0
taplinAuthor Commented:
Learned... I don't know how I missed that little piece of knowledge... ;-)

Hey, post an answer, and I'll give you the points.
0
Bob LearnedCommented:
It had been a while since I even though about this one.

Thanks
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.