Jump to content

Recommended Posts

  • Moderators
Posted (edited)

If I click somewhere in another window it still disappears

Not on my computer.... :D ... but then again, I don't agree with the way your doing it anyway, you should do what /dev/null suggested.

Edit:

typo

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

Not on my computer.... :D ... but then again, I don't agree with the way your doing it anyway, you should do what /dev/null suggested.

it will be hard (I think rather impossible) to do with autoit and DllCall.

You might consider to write a plug-in in c++. See http://www.autoitscript.com/forum/index.php?showtopic=15279

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

  • Moderators
Posted

This worked on most of the apps... I hadn't seen it before today when this thread came up: http://www.autoitscript.com/forum/index.ph...mp;#entry206053

$Hwnd = WinGetHandle("WindowTitle Here")

Global Const $SC_CLOSE = 0xF060

$menu = DllCall("user32.dll","hwnd","GetSystemMenu","hwnd", $Hwnd, "int",0)
DllCall("user32.dll", "int", "RemoveMenu", "hwnd", $menu[0] , "int", $SC_CLOSE, "int", 0x0)
You can thank DjDeep for resurrecting it if it works for you.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...