How can i get the HWND from the previously running app?
I can call a function to find out if there is a prevoius instance of my app. running but Im trying to find the HWND of that previous instance, any ideas?
From the hPreviousInstance ?
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
I can call a function to find out if there is a prevoius instance of my app. running but Im trying to find the HWND of that previous instance, any ideas?
From the hPreviousInstance ?
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)