May 19th, 1999, 01:48 AM
Hi All
I have a static control in a dialog box
I know I use SetDlgItemText(IDC_STATICITEM, CString str) to change a static items text
I would like to be able to change the static controls text from my main view class
I tried creating a static function that calls SetDlgItemText but developers studio says I can't call
SetDlgItemText from a static function
Any ideas how I could change a static controls text from my view class???
Thanks Alot
I have a static control in a dialog box
I know I use SetDlgItemText(IDC_STATICITEM, CString str) to change a static items text
I would like to be able to change the static controls text from my main view class
I tried creating a static function that calls SetDlgItemText but developers studio says I can't call
SetDlgItemText from a static function
Any ideas how I could change a static controls text from my view class???
Thanks Alot