Lets say I have a Dialog called Cdlg. And one of its member is a CButton called bButton. How would I access a function thats a member of bButton such as GetWindowText from outside of the Cdlg class, like a thread.