environment: VC++1.5 and Win 3.11
I have a little big problem:
I have 3 ComboBox ( from 3rd party) in my CDialog.
Iwant to know when a user press a key, which key pressed and in which combobox?
I use this code to know which combobox has a focus:
This code works fine with Cedit control and not with combobox.
In the case of combobox this code return the value : 1001 which doesn't correspond
with the reel control ID of these combobox.
what can i do?
In other side i don't know how to retrieve the text typed in these combobox.
in the case of CEdit control this code works fine:
pEditbox = GetDlgItem(ID);
CEdit * pEditCtrl = (CEdit *)pEditbox;
is it possible to use similar code by replacing the CEdit by CComboBox???
This is will be possible if i know how to retreive the ID number of the
combobox as explained above.