PDA

View Full Version : QT Output Text



Johnnyj2j
7th August 2012, 13:39
in qt can i output text onto anouther window eg inserting a url or something like that with qt and if i can how does it work???through emulators or virtual drives. im only asking this bc im trying to make a simple bot for a game....

mizim
7th August 2012, 16:12
Hello friend, use:

PostMessage(handle, WM_CHAR, 'a', 0); // this send a to handle window

Complete with HWND handle:


#include "windows.h"

HWND handle = FindWindow(NULL, L"Tibia");
PostMessage(handle, WM_CHAR, 'u', 0);

Change Tibia for your window name.