Change window title if program is running as administrator
Notepad++ project is moving to GitHub:
Brought to you by:
donho
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
Here's a guy who could've saved himself some time if this was available: https://sourceforge.net/p/notepad-plus/bugs/4464/