List Control Box
Hello ;
May be it''s not really the good place for this message by i''m in real need for help.
In an app, created in Visual C++ 6 whitout using MFC, i have a dialog box with :
a list box
a list control.
I add item to the list box with :
SendDlgItemMessage(hDlg,IDC_MODELE,LB_ADDSTRING,0,(LPARAM) nom);
I can´t use this command with the List Control, seems that the LB_ADDSTRING message is only for List Box (LB) but i can´t find the right message for the List Control.
I need a List Control because i want to have multi choici options.
Thanks for help
Daniel Diligent
You need to read up on the List-View Control, one of the Windows Common Controls, at;
BTW: A list box is quite capable of handling multiple selections. Just use the LBS_MULTIPLESEL style.
Edited by - LlelanD on August 9, 2001 11:11:12 AM
- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/CommCtls/ListView/ListView.asp
BTW: A list box is quite capable of handling multiple selections. Just use the LBS_MULTIPLESEL style.
Edited by - LlelanD on August 9, 2001 11:11:12 AM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement