I've got an MFC dialog, with a button. The buttons control variable is called m_macroStatus.
I can call m_macroStatus.SetWindowTextW ( _T("text") ) from within a function created by visual studio 2k5. However, when I try do to that from an AfxThread, it says it has no clue what m_macroStatus is, and that SetWindowTextW does not exist.
How can I change the text of a button from within an AfxThread (called by AfxBeginThread()).
Any help will be appreciated.
Thanks in advance,