Sign in to follow this  
Followers 0
Shyke

GUI Help Needed...

2 posts in this topic

#1 ·  Posted (edited)

Hi all,

I used the GUIBuilder and I found out that I didn't have enough space to fix everything in so I resized the window (big mistake) and it screwed up all my stuff... Could any of you possibly fix it?

#include <GuiConstants.au3>

If Not IsDeclared('WS_CLIPSIBLINGS') Then Global $WS_CLIPSIBLINGS = 0x04000000

GUICreate("WoW Item Maker Full v0.7", 794, 520, (@DesktopWidth - 794) / 2, (@DesktopHeight - 520) / 2, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)

$Label_1 = GUICtrlCreateLabel("Item Name:", 69, 120, 414, 240)
$Input_2 = GUICtrlCreateInput("", 483, 120, 966, 240)
$Label_3 = GUICtrlCreateLabel("Item Number:", 69, 360, 483, 240)
$Input_4 = GUICtrlCreateInput("", 552, 360, 897, 240)
$Group_5 = GUICtrlCreateGroup("Item Class", 69, 720, 1380, 2040)
$Group_6 = GUICtrlCreateGroup("Item Bonus's", 69, 2880, 1380, 1800)
$Group_7 = GUICtrlCreateGroup("Weapon Stats", 69, 4800, 2071, 960)
$Radio_8 = GUICtrlCreateRadio("Container", 138, 1200, 483, 240)
$Radio_9 = GUICtrlCreateRadio("Weapon", 138, 1440, 414, 240)
$Radio_10 = GUICtrlCreateRadio("Armour", 138, 1680, 345, 240)
$Radio_11 = GUICtrlCreateRadio("Quiver", 828, 1440, 345, 240)
$Radio_12 = GUICtrlCreateRadio("Consumable", 138, 960, 552, 240)
$Radio_13 = GUICtrlCreateRadio("Quest", 828, 1680, 345, 240)
$Radio_14 = GUICtrlCreateRadio("Reagent", 138, 1920, 414, 240)
$Radio_15 = GUICtrlCreateRadio("Trade Goods", 138, 2400, 552, 240)
$Radio_16 = GUICtrlCreateRadio("Projectile", 138, 2160, 414, 240)
$Radio_17 = GUICtrlCreateRadio("Generic", 828, 960, 414, 240)
$Radio_18 = GUICtrlCreateRadio("Book", 828, 1200, 276, 240)
$Radio_19 = GUICtrlCreateRadio("Permanent", 828, 2160, 483, 240)
$Radio_20 = GUICtrlCreateRadio("Key", 828, 1920, 276, 240)
$Checkbox_21 = GUICtrlCreateCheckbox("+- Health", 138, 3120, 414, 240)
$Checkbox_22 = GUICtrlCreateCheckbox("+- Agility", 138, 3360, 414, 240)
$Checkbox_23 = GUICtrlCreateCheckbox("+- Strenght", 138, 3600, 483, 240)
$Checkbox_24 = GUICtrlCreateCheckbox("+- Intellect", 138, 3840, 483, 240)
$Checkbox_25 = GUICtrlCreateCheckbox("+- Spirit", 138, 4080, 345, 240)
$Checkbox_26 = GUICtrlCreateCheckbox("+- Stamina", 138, 4320, 483, 240)
$Radio_27 = GUICtrlCreateRadio("Junk", 828, 2400, 276, 240)
$Input_28 = GUICtrlCreateInput("", 828, 3120, 276, 240)
$Input_29 = GUICtrlCreateInput("", 828, 3600, 276, 240)
$Input_30 = GUICtrlCreateInput("", 828, 3360, 276, 240)
$Input_31 = GUICtrlCreateInput("", 828, 3840, 276, 240)
$Input_32 = GUICtrlCreateInput("", 828, 4080, 276, 240)
$Input_33 = GUICtrlCreateInput("", 828, 4320, 276, 240)
$Checkbox_34 = GUICtrlCreateCheckbox("Is Weapon:", 138, 5040, 483, 240)
$Label_35 = GUICtrlCreateLabel("Delay (ms)", 828, 5040, 345, 240)
$Label_36 = GUICtrlCreateLabel("Damage (min-max)", 1380, 5040, 621, 240)
$Input_37 = GUICtrlCreateInput("", 828, 5280, 345, 240)
$Input_38 = GUICtrlCreateInput("", 1311, 5280, 276, 240)
$Input_39 = GUICtrlCreateInput("", 1795, 5280, 276, 240)
$Label_40 = GUICtrlCreateLabel("Number Stackable:", 1588, 120, 690, 240)
$Input_41 = GUICtrlCreateInput("1", 2347, 120, 138, 240)
$Label_42 = GUICtrlCreateLabel("Durability:", 1588, 360, 345, 240)
$Input_43 = GUICtrlCreateInput("10", 2071, 360, 138, 240)
$Label_44 = GUICtrlCreateLabel("Model ID:", 1588, 600, 345, 240)
$Input_45 = GUICtrlCreateInput("", 2071, 600, 552, 240)
$Button_46 = GUICtrlCreateButton("New", 2209, 5040, 483, 240)
$Button_47 = GUICtrlCreateButton("Generate", 2209, 5400, 483, 240)
$Label_48 = GUICtrlCreateLabel("Required Level:", 1588, 840, 552, 240)
$Input_49 = GUICtrlCreateInput("1", 2278, 840, 345, 240)
$Label_50 = GUICtrlCreateLabel("Cost:", 1588, 1080, 207, 240)
$Input_51 = GUICtrlCreateInput("1000", 1933, 1080, 690, 240)
$Label_52 = GUICtrlCreateLabel("Sell Price:", 1588, 1320, 345, 240)
$Input_53 = GUICtrlCreateInput("500", 2071, 1320, 552, 240)
$Group_54 = GUICtrlCreateGroup("Inventory Type", 2761, 0, 1173, 5760)
$Group_55 = GUICtrlCreateGroup("Bonds", 1588, 1680, 1035, 840)
$Radio_56 = GUICtrlCreateRadio("Bonds", 1657, 1920, 345, 240)
$Radio_57 = GUICtrlCreateRadio("No Bond", 1657, 2160, 414, 240)
$Group_58 = GUICtrlCreateGroup("Item Resists/Armour", 1588, 2640, 1035, 2040)
$Input_59 = GUICtrlCreateInput("", 2140, 2880, 276, 240)
$Input_60 = GUICtrlCreateInput("", 2140, 3600, 276, 240)
$Input_61 = GUICtrlCreateInput("", 2140, 4080, 276, 240)
$Input_62 = GUICtrlCreateInput("", 2140, 3840, 276, 240)
$Input_63 = GUICtrlCreateInput("", 2140, 4320, 276, 240)
$Input_64 = GUICtrlCreateInput("", 2140, 3360, 276, 240)
$Input_65 = GUICtrlCreateInput("", 2140, 3120, 276, 240)
$Checkbox_66 = GUICtrlCreateCheckbox("Nature:", 1657, 3600, 414, 240)
$Checkbox_67 = GUICtrlCreateCheckbox("Arcane:", 1657, 4320, 414, 240)
$Checkbox_68 = GUICtrlCreateCheckbox("Frost:", 1657, 3840, 345, 240)
$Checkbox_69 = GUICtrlCreateCheckbox("Shadow:", 1657, 4080, 414, 240)
$Checkbox_70 = GUICtrlCreateCheckbox("Holy:", 1657, 3360, 345, 240)
$Checkbox_71 = GUICtrlCreateCheckbox("Armour:", 1657, 2880, 414, 240)
$Checkbox_72 = GUICtrlCreateCheckbox("Fire:", 1657, 3120, 276, 240)
$Radio_73 = GUICtrlCreateRadio("Neck", 2830, 720, 345, 240)
$Radio_74 = GUICtrlCreateRadio("Shoulder", 2830, 960, 414, 240)
$Radio_75 = GUICtrlCreateRadio("Body", 2830, 1200, 345, 240)
$Radio_76 = GUICtrlCreateRadio("Chest", 2830, 1440, 345, 240)
$Radio_77 = GUICtrlCreateRadio("Waist", 2830, 1680, 345, 240)
$Radio_78 = GUICtrlCreateRadio("Legs", 2830, 1920, 276, 240)
$Radio_79 = GUICtrlCreateRadio("Feet", 2830, 2160, 276, 240)
$Radio_80 = GUICtrlCreateRadio("1H Weapon", 2830, 3360, 552, 240)
$Radio_81 = GUICtrlCreateRadio("Wrist", 2830, 2400, 276, 240)
$Radio_82 = GUICtrlCreateRadio("Hand", 2830, 2640, 345, 240)
$Radio_83 = GUICtrlCreateRadio("Trinket", 2830, 3120, 345, 240)
$Radio_84 = GUICtrlCreateRadio("Head", 2830, 480, 345, 240)
$Radio_85 = GUICtrlCreateRadio("Finger", 2830, 2880, 345, 240)
$Radio_86 = GUICtrlCreateRadio("None", 2830, 240, 345, 240)
$Radio_87 = GUICtrlCreateRadio("Ranged RH", 3452, 3120, 552, 240)
$Radio_88 = GUICtrlCreateRadio("Thrown", 3452, 3360, 414, 240)
$Radio_90 = GUICtrlCreateRadio("Robe", 2830, 5040, 345, 240)
$Radio_91 = GUICtrlCreateRadio("Tabard", 2830, 4800, 345, 240)
$Radio_92 = GUICtrlCreateRadio("Holdable", 3452, 2400, 414, 240)
$Radio_93 = GUICtrlCreateRadio("2H Weapon", 2830, 4320, 552, 240)
$Radio_94 = GUICtrlCreateRadio("Off Hand", 2830, 5520, 414, 240)
$Radio_95 = GUICtrlCreateRadio("Cloak", 2830, 4080, 345, 240)
$Radio_96 = GUICtrlCreateRadio("Ammo", 3452, 2640, 345, 240)
$Radio_97 = GUICtrlCreateRadio("Ranged", 2830, 3840, 414, 240)
$Radio_98 = GUICtrlCreateRadio("Bag", 2830, 4560, 276, 240)
$Radio_99 = GUICtrlCreateRadio("Shield", 2830, 3600, 345, 240)

GUISetState()
While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
        Case Else
    ;;;
    EndSelect
WEnd
Exit

EDIT:

It is supposed to look somewhat like this:

Posted Image

Edited by Shyke

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

man.... when you screw up... you do it BIG...lol

just look at the numbers in all of the sizes

example

2140, 2880, 276, 240)
$Input_60 = GUICtrlCreateInput("", 2140, 3600, 276, 240)
$Input_61 = GUICtrlCreateInput("", 2140, 4080, 276, 240)
$Input_62 = GUICtrlCreateInput("", 2140, 3840, 276, 240)
$Input_63 = GUICtrlCreateInput("", 2140, 4320, 276, 240)
$Input_64 = GUICtrlCreateInput("", 2140, 3360, 276, 240)
$Input_65 = GUICtrlCreateInput("", 2140, 3120, 276, 240)

i think its ... Back to the drawing board for you...

sorry

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0