What is the function to get the CWnd in a dll, of the app that is using the dll, instead of going this route:
HWND hWnd = FindWindow(NULL, "My Prog"
CWnd* pWnd = pWnd->GetFromHandle(hWnd);
Where as that is the code in the dll to get the CWnd of the app that is using the dll..
Thanks a ton, I know I am just overlooking it in the MSDN.. [sig][/sig]
HWND hWnd = FindWindow(NULL, "My Prog"
CWnd* pWnd = pWnd->GetFromHandle(hWnd);
Where as that is the code in the dll to get the CWnd of the app that is using the dll..
Thanks a ton, I know I am just overlooking it in the MSDN.. [sig][/sig]