Vadersapien Posted November 3, 2009 Posted November 3, 2009 Hello all, I'd like to know if (and how) I can create a window/GUI which is unmovable and has no minimize/close/restore buttons and no icon. I can't draw the window in another way since I need to extend aero glass into it... Try Pacfox, my Firefox theme.Try Power Eject, my windows gadget that allows you to eject most drives.Using AutoIt 3.3.4.0, Windows 7 Premium, Intel Core 2 Quad CPU @ 2.66ghz, 4gb RAM, Nvidia GeForce 9500GT Graphics Card & Samsung 22" Monitor.
FuryCell Posted November 3, 2009 Posted November 3, 2009 Would $WS_PopUp work? HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
Zedna Posted November 3, 2009 Posted November 3, 2009 Search forum. It has been answered already. Resources UDF ResourcesEx UDF AutoIt Forum Search
Vadersapien Posted November 3, 2009 Author Posted November 3, 2009 (edited) Would $WS_PopUp work?Yeah, it does...but then the aero glass doesn't... Edited November 3, 2009 by Vadersapien Try Pacfox, my Firefox theme.Try Power Eject, my windows gadget that allows you to eject most drives.Using AutoIt 3.3.4.0, Windows 7 Premium, Intel Core 2 Quad CPU @ 2.66ghz, 4gb RAM, Nvidia GeForce 9500GT Graphics Card & Samsung 22" Monitor.
Bert Posted November 3, 2009 Posted November 3, 2009 aRE You are trying to lock the desktop down so that the person can only do certain things? The Vollatran project My blog: http://www.vollysinterestingshit.com/
Vadersapien Posted November 3, 2009 Author Posted November 3, 2009 aRE You are trying to lock the desktop down so that the person can only do certain things?No, I'm trying to create an app like 7Stacks, mainly because I wanted to add features to that app and change bits I didn't like... Try Pacfox, my Firefox theme.Try Power Eject, my windows gadget that allows you to eject most drives.Using AutoIt 3.3.4.0, Windows 7 Premium, Intel Core 2 Quad CPU @ 2.66ghz, 4gb RAM, Nvidia GeForce 9500GT Graphics Card & Samsung 22" Monitor.
Vadersapien Posted November 3, 2009 Author Posted November 3, 2009 (edited) Search forum. It has been answered already. Quite Right...I found this: #Include <WindowsConstants.au3> $hForm = GUICreate('') GUIRegisterMsg($WM_NCLBUTTONDOWN, 'WM_NCLBUTTONDOWN') GUISetState() Do Until GUIGetMsg() = -3 Func WM_NCLBUTTONDOWN($hWnd, $iMsg, $wParam, $lParam) Switch $wParam Case 0x02 Return 0 EndSwitch Return 'GUI_RUNDEFMSG' EndFunc ;==>WM_NCLBUTTONDOWN But how would I hide the icon and minimize/close/restore buttons? (Create a window like ProgressOn does) Edited November 3, 2009 by Vadersapien Try Pacfox, my Firefox theme.Try Power Eject, my windows gadget that allows you to eject most drives.Using AutoIt 3.3.4.0, Windows 7 Premium, Intel Core 2 Quad CPU @ 2.66ghz, 4gb RAM, Nvidia GeForce 9500GT Graphics Card & Samsung 22" Monitor.
Vadersapien Posted November 3, 2009 Author Posted November 3, 2009 (edited) Got it!...I created the window with the style attribute "$WS_EX_MDICHILD", as well as the above code, and it's perfect! Edited November 3, 2009 by Vadersapien Try Pacfox, my Firefox theme.Try Power Eject, my windows gadget that allows you to eject most drives.Using AutoIt 3.3.4.0, Windows 7 Premium, Intel Core 2 Quad CPU @ 2.66ghz, 4gb RAM, Nvidia GeForce 9500GT Graphics Card & Samsung 22" Monitor.
trancexx Posted November 3, 2009 Posted November 3, 2009 aRE You are trying to lock the desktop down so that the person can only do certain things?Is it ok if I say that I'm a little worried about you at this point. You are showing signs of paranoia. ♡♡♡ . eMyvnE
Vadersapien Posted November 3, 2009 Author Posted November 3, 2009 And one extra thing: Can I detect if the window has been deactivated? Try Pacfox, my Firefox theme.Try Power Eject, my windows gadget that allows you to eject most drives.Using AutoIt 3.3.4.0, Windows 7 Premium, Intel Core 2 Quad CPU @ 2.66ghz, 4gb RAM, Nvidia GeForce 9500GT Graphics Card & Samsung 22" Monitor.
Manjish Posted November 3, 2009 Posted November 3, 2009 what do you mean by "deactivated"? U mean if it's not active at any moment? if so you can use: if not winactive(blah blah) then blah blah [font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Vadersapien Posted November 3, 2009 Author Posted November 3, 2009 (edited) Yeah that's the one...is it also possible to disable the aero previews for that window? (Window preview you get when you hover over the window's taskbar icon) Edited November 3, 2009 by Vadersapien Try Pacfox, my Firefox theme.Try Power Eject, my windows gadget that allows you to eject most drives.Using AutoIt 3.3.4.0, Windows 7 Premium, Intel Core 2 Quad CPU @ 2.66ghz, 4gb RAM, Nvidia GeForce 9500GT Graphics Card & Samsung 22" Monitor.
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