I've got an amateur question, hope no one minds =P
I am using Visual Studio.net 2003 and making an MFC project
One of the parts of the project is to create a List box within a main window, and then add strings to it (that I stored in a set)
Now I know how to create a static window within the main window I'm using, and heard creating a list box within the main window is closely related, but I just can't figure it out.
Any links or anything examples to help me out? Thanks.
EDIT: Here's the code I have to declare it, though it's still not working.
What else should I add?
I am using Visual Studio.net 2003 and making an MFC project
One of the parts of the project is to create a List box within a main window, and then add strings to it (that I stored in a set)
Now I know how to create a static window within the main window I'm using, and heard creating a list box within the main window is closely related, but I just can't figure it out.
Any links or anything examples to help me out? Thanks.
EDIT: Here's the code I have to declare it, though it's still not working.
linkbox = new CListBox;
linkbox->Create( WS_CHILD | WS_HSCROLL, CRect( 400,400,400,400 ),
this, 1);What else should I add?
