Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Listbox and button
#1
Hi,

How can i select something from a listbox in a dialog, and after i press a button the action for that selection is done?

like a listbox with one,two and three
a button named go, when i select two and press the button, the action for that item is done.
When i select three and press the button that action will be performed.

TIA
#2
In dialog procedure, on button click, call LB_SelectedItem to get selected item index.


Forum Jump:


Users browsing this thread: 1 Guest(s)