I just installed FF 4 and I noticed that a right-mouse-button click on the top border of its window does not give me the menu option "Restart as Administrator"

Windows 7 / 32bit
SuRun 1.2.0.9
Dito Google Chrome (v11)
Dito IE 9

It probably has got something to do with the way these browsers don't have an upper border....?
Another app without top border and as a consequence no drop-down menu "restart as Admin"

(BTW, if I placed this in the wrong forum-thread, please feel free to move it)
Stephan
7 Tage später
I think you're right about that missing Caption amd missing Windows System Menu.
Chrome also has no "Restart as Admin" in WinXP while FireFox4 has.
I'll try to fix that.
I just digged a bit into this.

Those captionless apps use the Windows API TrackPopupMenu to show a fake system menu.
SuRun does not detect that.

Unfortunately TrackPopupMenu supports a flag that makes TrackPopupMenu return the clicked item directly to the app, instead of sending the clicked item's command to the app with a Window message.
Google Chrome seems to use that.

SuRun's system menu hook is unable to intercept that without hooking the TrackPopupMenu API directly.

For now I'll leave SuRun as it is until there's a captionless program that really needs to be restarted with elevated rights.
For now I'll leave SuRun as it is until there's a captionless program that really needs to be restarted with elevated rights.
I used to use this quick switch to elevated rights, whenever Firefox had an update to install.
(I do understand your problem, though)
...today I found a way how SuRun's system menu hook works in all the programs you told in the first posts.
I'll put that into the next beta.
You're absolutely fabulous!
Eine Antwort schreiben…
Impressum, Datenschutz