timmalos Posted October 9, 2014 Posted October 9, 2014 Hey guys. I think I make a mistake somewhere but I got a trouble. I have multiple screens and I would like my window created with GuiCreate to Re-open where I closed it previously. Right now, the windows is always opened on my main screen and not where I moved it the previous time I executed it. I would like to use the history 's position of windows like any other window. $Form1 = GUICreate("Filter LDAP Creator", 362, 685,-1,-1,BitOR($GUI_SS_DEFAULT_GUI, $WS_OVERLAPPEDWINDOW),$WS_EX_APPWINDOW) Is that possible ? Thanks !
Moderators Melba23 Posted October 9, 2014 Moderators Posted October 9, 2014 timmalos,You will need to save the current position of the GUI on exit and then re-read the saved position when you next open it. You could use either an ini file or the registry to save the coordinates. 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
timmalos Posted October 9, 2014 Author Posted October 9, 2014 Okay, so there is no way to use the Microsoft history cache as some other windows do I guess? (From CCleaner for example I can delete this cache and all windows lose their saved position)
Moderators Melba23 Posted October 9, 2014 Moderators Posted October 9, 2014 timmalos,Quite possibly - the principle is exactly the same - but I have no idea how you would go about it. 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
timmalos Posted October 9, 2014 Author Posted October 9, 2014 Ok I 'll look in this direction cause I would like my app to stay portable and simple
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