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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List Box Display

Status
Not open for further replies.

Nuttyprofesser

Programmer
Jul 25, 2001
1
US
I'am trying to get a list box item to highlight and set a parameter when selected and deselect when a a diffrent parameter is selected. Dose anybody know how to deselect the item when a certain parameter is set?
 
Try to send a LB_SETSEL message to the HWND of the list if you are in a SDK program, or the methods SetSel or SetCurSel if you are in a MFC program and your list is a CListBox.
s-)

Blessed is he who in the name of justice and good will, shepards the week through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top