Jun 17, 2002 #1 lGOOODl Programmer Joined Dec 4, 2001 Messages 31 Location DK Hi, How can I detect if my window is active or not .... whitout MFC ... Thx GOOOD
Jun 17, 2002 #2 siven Programmer Joined Aug 26, 2001 Messages 4 Location 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,