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...
Ok, here's the deal. I am making a dialog based app. I have a hook setup when you press F12 while using another app and it brings up a callback function that is a global. In the callback function I want to have it set my app to the Top-most window. here is what I have tried... What am I doing...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.