I'm using Visual C++ /MFC and I'm sending a message as SendMessage(GetParent(hDlg) ,MY_MESSAGE , 0 , LPARAM(x) );
How could I change the value of x
inside the hDlg
parent callback function ?
For example if I send the message SendMessage(hWnd , WM_GETTEXT ,0 , LPARAM(buffer);
the buffer is returned full of the text . How did the buffer changed it's value ?