Admin privileges permission prompt gets minimized, why?

Posted: 08-03-2006, 07:56 PM
Hello All,

Am trying to execute my application using ShellExecute(), Since my app
doesnt have enough privileges, it prompts user to give permission to elevate
the permissions, but this prompt is always minimised (in 5472) which the user
might not notice.

why does it minize and how can i make sure that the popup msg box is maxd.

thanks

Reply With Quote

Responses to "Admin privileges permission prompt gets minimized, why?"

Jimmy Brush
Guest
Posts: n/a
 
Re: Admin privileges permission prompt gets minimized, why?
Posted: 08-03-2006, 09:13 PM
If the application requesting elevation doesn't have the focus, the UAC
dialog will be shown minimized and flash in the taskbar.

If the application calling ShellExecute HAS the focus, and the UAC dialog is
shown in the taskbar, I would call that a bug, as calling ShellExecute from
an application with the focus should automatically give the focus to the new
application, shouldn't it?

- JB

Vista Support FAQ
http://www.jimmah.com/vista/

Reply With Quote
Rahul
Guest
Posts: n/a
 
Re: Admin privileges permission prompt gets minimized, why?
Posted: 08-07-2006, 07:00 PM
So is it like my application doesnt have enough focus for UAC to display the
permission prompt ? but the same happen when thats the only application
running


"Jimmy Brush" wrote:
> If the application requesting elevation doesn't have the focus, the UAC
> dialog will be shown minimized and flash in the taskbar.
>
> If the application calling ShellExecute HAS the focus, and the UAC dialog is
> shown in the taskbar, I would call that a bug, as calling ShellExecute from
> an application with the focus should automatically give the focus to the new
> application, shouldn't it?
>
> - JB
>
> Vista Support FAQ
> http://www.jimmah.com/vista/
>
Reply With Quote
Jimmy Brush
Guest
Posts: n/a
 
Re: Admin privileges permission prompt gets minimized, why?
Posted: 08-07-2006, 11:51 PM
If your app is the one with the focus (it's the top-level window and has the
user input) it shouldn't behave like you are saying it does.

Based on the information you have posted, this sounds like a bug in Windows
Vista.

- JB

Vista Support FAQ
http://www.jimmah.com/vista/

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
locked out of admin privileges. zakkz Windows Vista Administration 1 12-15-2007 09:26 PM
XP is telling me I don't have admin privileges. Pugz Windows XP Games 1 05-10-2004 05:50 PM
Admin privileges Bryan Windows XP Security & Administration 3 12-26-2003 05:14 PM
What are admin privileges Ken Windows XP Games 1 12-20-2003 07:54 AM
different users only one has admin privileges valery Windows XP Accessibility 3 10-30-2003 10:38 PM