Click to See Complete Forum and Search --> : SendMessage


SSP
May 20th, 1999, 06:09 AM
Hi,
In a MFC app, I have a class A. In A, I create a thread. From the thread, how should I send a user message to Mainframe/View ? I have put together the neccessities for the User defined message in View(ClistView class).

I have tried many ways, but all in vain.

But if send the same User defined message from View, its handled in Mainframe class.

Please help me.

Thanks!

leolin@
May 20th, 1999, 08:08 AM
Can you get the Mainframe handle (HWnd)
through AfxGetMainWnd() or related view
to SendMessage to their procedure?