1、如果你是想定义一个结构
   可以在程序的头文件中包含,然后在程序中使用,e.g:
//in test header file
struct mystruct {
int a;
char mes[20];
};//in test cpp file
#include "test.h"
...
struct mystruct tt;
tt.a = 0;
strcpy(tt.mes,"hello !");
...2、如果你是想建立一个列表框对象
   建立对话框,可用MFC的基于对话框的wizard来测试
   在对话框中添加list控件,在classwizard中增加该控件变量名 IDC_LIST m_list;
   在程序中添加内容,例如在InitDialog函数中增加列表项:
   m_list.AddString("测试1");
   m_list.AddString("测试2");