List box Help
-
Hi All, I need help with the list boxes.I am working with Dlls. Okay so what I want to do is: I created a list box with some items in it. For example: FDK01, FDK02...FDK09 means key F1, F2.....F9. Now, I want to perform something like when I select FDK01 in the list box and then say OK ..it should then allow me to pressed button 1. How should I code the list box item to perform what I want? Thanks in advance C++Prog
-
Hi All, I need help with the list boxes.I am working with Dlls. Okay so what I want to do is: I created a list box with some items in it. For example: FDK01, FDK02...FDK09 means key F1, F2.....F9. Now, I want to perform something like when I select FDK01 in the list box and then say OK ..it should then allow me to pressed button 1. How should I code the list box item to perform what I want? Thanks in advance C++Prog
Though it's not very clear from ur question but, I guess whenever a list box item is selected & user presses Ok button u want some other button to be selected. is it?? u can use SetFocus method for that
-
Hi All, I need help with the list boxes.I am working with Dlls. Okay so what I want to do is: I created a list box with some items in it. For example: FDK01, FDK02...FDK09 means key F1, F2.....F9. Now, I want to perform something like when I select FDK01 in the list box and then say OK ..it should then allow me to pressed button 1. How should I code the list box item to perform what I want? Thanks in advance C++Prog
Preeti9 wrote:
I created a list box with some items in it. For example: FDK01, FDK02...FDK09 means key F1, F2.....F9. Now, I want to perform something like when I select FDK01 in the list box and then say OK ..it should then allow me to pressed button 1. How should I code the list box item to perform what I want?
You can use
SendInput
for this purpose.
Nibu thomas Software Developer