ender13 Posted August 15, 2006 Share Posted August 15, 2006 Good Morning, I was wondering if there was a way to remove the title bar from a GUI? Basicly what we are doing is this: We are going to an all thin client environment where the local computers are running Terminal Services on our server. To save server resources, I have written a small GUI script that we are going to share out instead of running a full desktop on each login. This GUI will act as a quicklaunch for the programs needed by the employees. I was wanting to keep them from closing the gui due to the fact that it is the only way to log off. I have written a small loop to re-launch the GUI if they click the close X, but if it just wasn't there, it would be even better. Any help would be appreciated, Thanks in Advance! Ender13 Link to comment Share on other sites More sharing options...
BigDod Posted August 15, 2006 Share Posted August 15, 2006 #include <GUIConstants.au3> ; == GUI generated with Koda ==); $Form1 = GUICreate("AForm1", 622, 441, 192, 125, BitOR($WS_SYSMENU,$WS_POPUPWINDOW,$WS_BORDER), 0) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;;;; EndSelect WEnd Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
ender13 Posted August 15, 2006 Author Share Posted August 15, 2006 Many Thanks. It worked like a charm 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