It has become necessary to send a user defined message. I intend to do this using SendMessage().
I can obtain a handle to the CWnd I want to send the message to.
In essence, I want to call an identical function from any one of various classes by sending a message to the object.
I can see from http://msdn2.microsoft.com/en-us/library/ms644950.aspx
that SendMessage() has three parametres, but the function I wish to call has several parametres.
This is one of the class functions (the other ones are identical anyway):
e(CString description, CString dept, CString source, CString supplier, CString cos)
int i = ProductReport.GetFirstSele
How should I go about defining a WM_APP message that will call this (or an identical) function, and how should I send that message so that it will call the function with specified parametres?