0
GetWindowText(hwContact, szContact, 256);
				strcpy(&szContact[strlen(szContact)], " - Conversation");
				FindWindow(NULL, szContact);
				break;

once its found the window of szContact, how can i bring that window to the front

1
Contributor
1
Reply
2
Views
10 Years
Discussion Span
Last Post by FTProtocol
0
GetWindowText(hwContact, szContact, 256);
				strcpy(&szContact[strlen(szContact)], " - Conversation");
				SetForegroundWindow(FindWindow(NULL, szContact));
				break;

that works if the window isnt minimized.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.