fmen Posted September 19, 2005 Posted September 19, 2005 While 1 If _IsPressed('02') = 1 AND $i[0] = @DesktopWidth -1 Then GUISetState(@SW_SHOW, "Guit") Sleep(10) WEnd This is part of a gui that allows a customized menu to pop up when I right click the right edge of the desktop. Problem is that the Windows right-click munu also pops up. Is there a way of disabling the Windows right-click munu under these circumstances ie only when I click the right edge of the desktop window? Thanks.
FrashMX Posted September 19, 2005 Posted September 19, 2005 The dirty workaround would be sending "ESC" to close it.
fmen Posted September 20, 2005 Author Posted September 20, 2005 The dirty workaround would be sending "ESC" to close it.Thanks. If timed just right with sleep (100), the {ESC} is OK most times, but yes it is dirty. There has got to be a better way.
jftuga Posted September 20, 2005 Posted September 20, 2005 The best way to do this is through Group Policy editor, gpedit.msc. It is buried in there somewhere , but I don't remember offhand where. -John Admin_Popup, show computer info or launch shellRemote Manager, facilitates connecting to RDP / VNCProc_Watch, reprioritize cpu intensive processesUDF: _ini_to_dict, transforms ini file entries into variablesUDF: monitor_resolutions, returns resolutions of multiple monitorsReport Computer Problem, for your IT help deskProfile Fixer, fixes a 'missing' AD user profile
CyberSlug Posted September 20, 2005 Posted September 20, 2005 (edited) Here's the direct registry key in response to jftuga:http://www.winguides.com/registry/display.php/160/Edit: It takes effect immediately, but I don't see an easy way to undo the change unless you restart explorer (after removing/changing the resistry key back). Edited September 20, 2005 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
flyingboz Posted September 20, 2005 Posted September 20, 2005 Have you considered a borderless window, with either the transparency set high or containing a pic control with a transparent gif, say 10 or 20 pixels wide and the height of the screen? This would keep the o/s from hogging your message w/o a global registry hack. I haven't tested, but think that all the necessary capability is directly built in or available through dllcall. Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.
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