能力值:
( LV2,RANK:10 )
|
-
-
一个在MFC中使用_AfxBegingThred()的问题[求助]
最初由 haizzz 发布 谢谢楼上的回复.我先声明一下,上面线程函数的函数原形在我的程序里我声明的是UINT ThreadFuntion(LPVOID pParam)这个样子,上面是当时的笔误(不好意思!).我在调用AfxBeginThread()是传的参数也的确是第一个是线程函数的地址第二个为空.至于为什么不能用对话框中设置的变量我也知道原因.我就是不知道要怎样解决! 还望大家多多指教! 声明全局变量!
关于某个控件的使用,不是一定要给于绑定一个变量,可以使用一些API
如:
GetDlgItem(ID)->SetWindowText(TEXT);
若TEXT为全局变量,大家都可以使用!
PS:说错地方,望谅解!
|
能力值:
( LV2,RANK:10 )
|
-
-
|
能力值:
( LV2,RANK:10 )
|
-
-
|