how to dynamicly disable a control(such as ccombobox or edit box)
hi,can anyone tell me how to dynamicly disable a control (according to
a varible's value ---true or false)
ENV winnt40 vc++6.0 sp3
问题点数:50、回复次数:3Top
1 楼radish()回复于 2000-02-26 16:12:00 得分 25
first : Get the hwnd of control
second: use EnableWindow() functionTop
2 楼Sniper(sniper)回复于 2000-02-26 16:14:00 得分 25
CWnd::EnableWindow(BOOL bEnable)Top
3 楼starmoon()回复于 2000-02-26 22:39:00 得分 0
radish is very right,Top




