So I have decided to mess around a little bit with both c++ and autoit to just send a message in game. I failed doing both, but I'm a bit confused as to why

With both styles I can grab the handle and such just fine, but I can't seem to make the game focused / allow certain features to work.

Autoit for example comes with the info tool, but when I use it on the tibia client, the controls all come up blank, so I can't actually use ControlSend or ControlClick anyway.

Strictly cause its easier and I'm not trying to accomplish much I'd prefer to stick with autoit, but if someone can give me a super easy tutorial for c++ just to understand why it doesn't work that'd be awesome
Bonus points if you can tell me why my info tool doesn't show any information for control ^^