Jump to content
Sign in to follow this  
guddy87

Prevent User for Closing the GUI

Recommended Posts

guddy87

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????

Share this post


Link to post
Share on other sites
Melba23

guddy87,

Welcome to the AutoIt forum. :bye:

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? :oops:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
guddy87

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

Share this post


Link to post
Share on other sites
Melba23

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. :oops:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×