Cannot access CChildFrame from separate thread
Posted on 2003-03-10
I've created a standard MDI (app-wizard) project -- not using document/view. I've created a GUI thread from the CChildFrame class. For some reason, I cannot access the status bar on my CChildFrame class from this thread. I also cannot create a new CMDIChildWnd from this thread. I can, however, access all the controls of the CChildView.
I tried to work around this by calling a function from the CChildView class that accesses the statusbar of the CChildFrame. It doesn't work.
Btw, the project compiles...it just crashes at the time the thread tries to access the CChildFrame or tries to create a new CMDIChildWnd.
Anyone know of a solution for this?