Hybrid Posted October 14, 2012 Share Posted October 14, 2012 Hello dear AutoIT comunity.I have a fail question..I made 2pics, so I hope u'll understand what i'm asking for.so, pic1This is the original GUI Form.When that button is pressed, GUI get a new "extension". It's getting larger.Take a look at pic2.Waiting for replies, and sorry for asking newb questions :s Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted October 14, 2012 Moderators Share Posted October 14, 2012 Hybrid,My GUIExtender UDF (look in my sig for the link) is exactly what you want. Try out the current version now. I am working on a new version which I hope to release soon which will let you have multiple extended GUIs - but it is not quite ready yet. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Hybrid Posted October 14, 2012 Author Share Posted October 14, 2012 Thankies Mel *-* Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted October 14, 2012 Moderators Share Posted October 14, 2012 Hybrid, Please ask if you have any trouble getting the UDF to work. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
PlayHD Posted October 14, 2012 Share Posted October 14, 2012 (edited) another way : _main() Exit Func _main() Local $wOpt = Opt("WinTitleMatchMode",4) ;Advanced mode Local $rOpt = Opt("GUIResizeMode",802) ;$GUI_DOCKALL Local $Form = GUICreate("PlayHDEx", 180,56) Local $Button = GUICtrlCreateButton(">",8,8,163,41) GUICtrlCreateLabel("SECRET MESSAGE",200,10,100,17,0x0200) ;$SS_CENTERIMAGE GUISetState(@SW_SHOW,$Form) Local $Msg While 1 $Msg = GUIGetMsg() Switch $Msg Case -3 ;$GUI_EVENT_CLOSE GUIDelete($Form) Opt("GUIResizeMode",$rOpt) Return Opt("WinTitleMatchMode",$wOpt) Case $Button If GUICtrlRead($Button) = ">" Then GUICtrlSetData($Button,"<") For $i = 185 To 320 WinMove($Form,"",Default,Default,$i) Next Else GUICtrlSetData($Button,">") For $i = 320 To 185 Step -1 WinMove($Form,"",Default,Default,$i) Next EndIf EndSwitch WEnd EndFunc Edited October 14, 2012 by PlayHD My UDF : _WinShake, _WinSplitMy Apps : Google Guitar Bot, PuzzleGameDesign Gui : Interesting Tabs Design, RBox Project (abandoned), Animated Gui on Exit Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now