Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/iano/public_html/tpforums-vb5/forum/includes/class_core.php on line 5842

PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 588

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 612

PHP Warning: Use of undefined constant archive_postsperpage - assumed 'archive_postsperpage' (this will throw an Error in a future version of PHP) in ..../archive/index.php on line 456
Hi, how to get this ? [Archive] - Forums

PDA

View Full Version : Hi, how to get this ?



astra
12-16-2013, 08:25 PM
Hello, can anyone tell me how to get Width X value, post some sample code ?
http://i.imgur.com/F1XjK2T.jpg

Regards, Astra :)

ottizy
12-16-2013, 08:35 PM
Hello, can anyone tell me how to get Width X value, post some sample code ?
http://i.imgur.com/F1XjK2T.jpg

Regards, Astra :)

For Width T you can call the Win32 function GetWindowRect.

For Width X you need to work your way through the GUI Pointer. There should be some examples on the forum.

Blequi
12-16-2013, 09:13 PM
if you meant the client rectangle for the Width T. (WINAPI GetClientRect http://msdn.microsoft.com/en-us/library/windows/desktop/ms633503%28v=vs.85%29.aspx )

astra
12-16-2013, 09:25 PM
how to get Width X value

no for Width X ;p for T i know :P

For Width X you need to work your way through the GUI Pointer.


It's my biggest problem, i can't use pointers because when i point for adress i see 100101010101001 milions pointers and how get this one ? XD

ottizy
12-16-2013, 09:37 PM
Like I said there's some examples on forum: http://tpforums.org/forum/threads/5732-getting-the-X-Y-of-Tibia-Window-(general)?p=50514#post50514

astra
12-16-2013, 09:56 PM
ottizy Thanks you, u my king XD
Sorry for spam, i cant find it with search option ;/
Thanks :)