Menu

#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

  • Andreas Jonsson

    Andreas Jonsson - 2013-09-03

    Here's a guy who could've saved himself some time if this was available: https://sourceforge.net/p/notepad-plus/bugs/4464/

     
  • 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