asked on
ASKER
ASKER
Kernel and system programming is the process of creating the software necessary for a computer or device to function and operate other programs. Some operating systems (such as Microsoft Windows) are proprietary, but others, such as the various Linux distributions, are open source.
TRUSTED BY
#define MY_MSG WM_APP+1
... post it from the first view...
abc::Foo()
{
xyz->PostMessage( MY_MSG, data1, data2 );
}
...and handle it in the second view...
BEGIN_MESSAGE_MAP(xyz, CFormView)
ON_MESSAGE(MY_MSG, OnMyMsg )
END_MESSAGE_MAP()
LONG xyz::OnMyMsg ( WPARAM data1, LPARAM data2)
{
...
}
Another way is to use UpdateAllViews() mechanism