Link to home
Start Free TrialLog in
Avatar of yairy
yairy

asked on

Is a control a comboBox ?

Hello,

I learned to use ::GetClassName(...) API function to get the class name
for the active control.

Unfortunately, It retrieves the same class name for Edit controls and comboBoxes.

How can I distinguish between the two ?
Any API / MFC solution will be great.

Yair
 
ASKER CERTIFIED SOLUTION
Avatar of Zoppo
Zoppo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of yairy
yairy

ASKER

Sorry about the delay, I wasn't notified
there is an answer.

I'll get to you after checking.

Yair