Jun 17, 2002 #1 lGOOODl Programmer Dec 4, 2001 31 DK Hi, How can I detect if my window is active or not .... whitout MFC ... Thx GOOOD
Jun 17, 2002 #2 siven Programmer Aug 26, 2001 4 US Hi, Use the following code HWND hWnd = GetActiveWindow(); GetWindowText(hWnd,string,lengthofstring); The string will have the active window caption name check it with your window caption name. I think this will solve your problem. Thanks, Upvote 0 Downvote
Hi, Use the following code HWND hWnd = GetActiveWindow(); GetWindowText(hWnd,string,lengthofstring); The string will have the active window caption name check it with your window caption name. I think this will solve your problem. Thanks,