Click to See Complete Forum and Search --> : About CListBox


shiyuwei
April 6th, 1999, 01:22 AM
There is a CListBox in my dialog. I want to let the program do something after the user press enter on one of the items of the CListBox.where can I write my codes? which Message could support this operation (pressed enter)? Thank you for your attention!

Karl
April 6th, 1999, 03:33 AM
You may know that the seletion has changed in the listbox by handling LBN_SELCHANGE notification message (with multi selection) or LB_SETCURSEL notification message (with single selection list box).

HTH.

K.

Ash to ash and clay to clay, if the enemy doesn't get you, your own folk may.