Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Coding Releases
You last visited: Today at 20:22

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Autogui Resizing

Discussion on Autogui Resizing within the Coding Releases forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2013
Posts: 11
Received Thanks: 0
Autogui Resizing

I think I've figured out how control resizing works with autoit-gui.102.12 Perhaps this example will help others. Heh, try coding the same thing in VisualBasic with only 30 lines of code.
Code:
$title = "Example of control resizing"
$info = "Try resizing this window"
Opt("TrayIconHide", 1)
GUICreate($title, 600,300, 50, 50, 0x04CF0000, 0x00000110)

$nw = GUISetControl ("button", "north-west",   0,  0,   200,100)
$n  = GUISetControl ("button", "north",      200,  0,   200,100)
$ne = GUISetControl ("button", "north-east", 400,  0,   200,100)
$w  = GUISetControl ("button", "west",         0,100,   200,100)
$co = GUISetControl ("edit",   $info,        200,100,   200,100)
$e  = GUISetControl ("button", "east",       400,100,   200,100)
$sw = GUISetControl ("button", "south-west",   0,200,   200,100)
$s  = GUISetControl ("button", "south",      200,200,   200,100)
$se = GUISetControl ("button", "south-east", 400,200,   200,100)

GUISetControlEx ($nw,   0,   2+32)
GUISetControlEx ($n,    0,   32)
GUISetControlEx ($ne,   0,   4+32)
GUISetControlEx ($w,    0,   2)
GUISetControlEx ($co, 256,   0)
GUISetControlEx ($e,    0,   4)
GUISetControlEx ($sw,   0,   2+64)
GUISetControlEx ($s,    0,   64)
GUISetControlEx ($se,   0,   4+64)

WinActivate($title)
GUIWaitClose()
WinSetState($title,"", @SW_HIDE);speeds up appearance of closing
Exit
Liented is offline  
Reply


Similar Threads Similar Threads
Resizing other windows in C#
07/13/2012 - .NET Languages - 5 Replies
Hallo, ich möchte gerne ein externes nicht vom meinem Programm erzeugtes Fenster resizen und neu positionieren. Über Google konnte ich leider nur Informationen zum resizen der GUI des eigenen Programmes finden, aber leider nichts genaueres. Wie das ganze in AutoIt funktioniert, habe ich schon herausgefunden, lässt sich nur leider nicht so einfach nach C# portieren. Hat jemand mal kurz ein Snippet da (Sprache ziemlich egal)? Werde in der Zeit schonmal weitersuchen, falls ich was finde,...
Ibot client resizing.
05/17/2011 - Silkroad Online - 4 Replies
Hello everyone! So I just got Ibot to work after trial and error for everything and it seems as though I have to run 2 clients in order to start botting (1 with HS and the other with the Edx33Loader). But the problem is that my computer cannot handle this much and I was wondering if there was a way to run this bot with only 1 client or if there was a great client resizing tool out there that I could use.. Thank you!
Resizing Eudemon Screen Display
01/26/2009 - Eudemons Online - 1 Replies
I just got my netbook which is I love very much but i have a little problem after installing my Eudemon. It works good, resolution is great but the size wont fit. How I can resize it to fit in my window screen which is 4 1/2 in height by 7 3/4 in width. Please help me! I will appreciate it. if you have an answer please email me at [email protected]



All times are GMT +1. The time now is 20:23.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.