用CreateThread能不能调用button1的事件处理函数? 能的话,怎么写啊
CreateThread(NULL,0,OnBnClickedButton1,NULL, 0, &dwThreadId);  //直接写不对!afx_msg void OnBnClickedButton1();  //被调用的函数