Detec if autorrun is minimized or maximized?
for example: autorrun.exe... is maximized
aplication minimize
else is maximized
aplication minimize
thx!!
Professional Software Development Tools
Detec if autorrun is minimized or maximized?
for example: autorrun.exe... is maximized
aplication minimize
else is maximized
aplication minimize
thx!!
please help!!
I hope this helps
http://www.indigorose.com/forums/sho...39&postcount=8
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
thanks, it works well.Code:jj = String.ToNumber(DLL.CallFunction(_SystemFolder.."\\User32.dll", "IsIconic", Application.GetWndHandle(), DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)) if jj == 0 then Application.Restore(); exit
but not this diminished, as I diminish it with he himself button, that is to say, when pressing on “minimize/restore button " if it gives back 0 to me is because this diminished and then restore, but since I make to even diminish it but this?
thanks
example (noty work):
Code:jj = String.ToNumber(DLL.CallFunction(_SystemFolder.."\\User32.dll", "IsIconic", Application.GetWndHandle(), DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)) if jj == 0 then Application.Restore(); elseif jj == ????? then Application.Minimize(); exit
Code:jj = String.ToNumber(DLL.CallFunction(_SystemFolder.."\\User32.dll", "IsIconic", Application.GetWndHandle(), DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)) if jj == 0 then Application.Restore(); else Application.Minimize(); exit
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
I think you mean:
Thanks for the code. I was looking for a way to do this.Code:jj = String.ToNumber(DLL.CallFunction(_SystemFolder.."\\User32.dll", "IsIconic", Application.GetWndHandle(), DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)) if jj == 0 then Application.Restore(); else Application.Minimize(); end![]()
oops yeah. Cut and paste bug bit me again
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
thank you very much but it does not work.
It does not minimized autorrun, but when this minimized if it restored it…
some solution? thanks!
I have the code above working in my IR Project Code Viewer project. It is part of the popup menu for the task bar. You can find the code from a link in my sig below.
Tigg
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
sorry but it does not work.
It does not minimized autorrun, but when this minimized if it restored it…
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine