Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void GetActiveWindowTitle(char buffer[256])
- {
- HWND hwndActive = GetForegroundWindow();
- int maxLen = 256;
- GetWindowText(hwndActive, buffer, maxLen);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement