#523 Change window title if program is running as administrator

Next_release
closed
nobody
None
6
2013-10-01
2013-08-26
No

https://sourceforge.net/apps/ideatorrent/notepad-plus/ideatorrent/idea/660/

If program is running as administrator, add [Administrator] to the window title.

There is a wrapper function called IsUserAnAdmin() in the Windows API, but for some reason Microsoft recommends that you don't use it (http://msdn.microsoft.com/en-us/library/bb776463%28VS.85%29.aspx).

The method to determine if a user is admin is taken from http://msdn.microsoft.com/en-us/library/aa376389%28v=vs.85%29.aspx

1 Attachments

Discussion

  • Don HO

    Don HO - 2013-09-09
    • status: open --> accepted
    • Group: Next_major_release --> Next_release
    • Priority: 5 --> 6
     
  • Don HO

    Don HO - 2013-10-01
    • status: accepted --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks