Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unselection state of a listbox

Status
Not open for further replies.

josphin

Programmer
Apr 5, 2003
19
BE
hi all,

i would like to check if any string in a listbox is selected (in an if statement) before i perform any operation to it, if no string is selected, i just want to put up an AfxMessageBox!

thx in advance !
josphin.
 
Look at the SDK for LB_GETCURSEL or CListBox::GetCurSel() if your using MFC

-pete
I just can't seem to get back my IntelliSense
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top