How can what type a control in dialog is?
Anyone have an idea as to how to loop through all controls in a dialog and determining what type (i.e. button, list, combo etc.) they are? My task is to identify all buttons in various dialogs in a generic manner. I was hoping there was an MFC-call that can be used to get hold of a handle or something for controls within a dialog, and subsequently use that to determine its type. Have looked around, but haven't found anything "easy". Maybe there aren't anything easy for this?
"Soccer - it is not a matter of life and death - it's far more important than that" Bill Shankly