guddy87 Posted March 12, 2012 Posted March 12, 2012 Hello Ich have a GUI and the User cannot close it be press ESC or ALT+F4 but they can close it by rightclick on the Icon in the Taskbar and Close Window (Windows 7) how can prevent user from closing????
Moderators Melba23 Posted March 12, 2012 Moderators Posted March 12, 2012 guddy87,Welcome to the AutoIt forum. However, asking to make a GUI "unclosable" as your first post is unusual - and it is a request that always makes us suspicious. Why do you want to prevent the user from closing the GUI? 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
guddy87 Posted March 12, 2012 Author Posted March 12, 2012 This GUI inform the User that a Installation (SCCM) starts and warning him thet he have open Programms that the user have to close. If the User can close the GUI the Installation kill all Programs or the installation dose not start
Moderators Melba23 Posted March 12, 2012 Moderators Posted March 12, 2012 guddy87, I am afraid that is not a good enough reason to help you with this request. Although I understand your problem, posting code to do what you are trying to do could be used by others for malicious purposes. The AutoIt software and this site have enough problems with being falsely flagged as malware without giving another reason for it to happen. Sorry. 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
Recommended Posts