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

ListBox problem... is it possible to :

Status
Not open for further replies.

FORAND

Programmer
Joined
May 26, 2003
Messages
64
Location
CA
Hi there

I've made a multi-column ListBox. But it does not seem to be what I need....... Here is what I mean.


I have :


COLUMN1 COLOUMN2 COLOUMN3
input1 input5 input9
input2 input6 input10
input3 input7 input11
input4 input8 input12

I want :
COLUMN1 COLUMN2 COLUMN3
input1 more_info_on_input1 more_info_on_input1
input2 more_info_on_input2 more_info_on_input2
input3 more_info_on_input3 more_info_on_input3
input4 more_info_on_input4 more_info_on_input4

so that when the user click on INPUT1, all the row get selected.

How can i do that?
 
As far as I know the ListBox doesnt support this.
Use ListControl instead of this

Hope I could help you

Greetings Andreas
 
And then you will need to do this...

m_List.SetExtendedStyle(LVS_EX_FULLROWSELECT);

Hollingside Technologies, Making Technology work for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top