Nathan McCorkle
2014-09-16 17:30:44 UTC
When I open one GUI, my Frame name shows up with the icon I set to it in
the Windows taskbar. But when I open more than one GUI, the icon changes to
the default Python icon, and the name changes from the Frame title to
'pythonw' (pythonw.exe is the interpreter I'm calling the scripts with).
Online I found a win32/ctypes fix, but it only seems to work for >WinXP
(and I'm developing for WinXP). That fix is
the SetCurrentProcessExplicitAppUserModelID call.
Werner recommended I try wx.App.SetAppName(myWxApp, 'newAppNameString')
but that had no effect.
In #winapi on Freenode IRC, someone said I could copy the pythonw.exe and
rename it every time I launch a GUI... but said that some virus scanner
programs might not be happy about that. I haven't tried it to see if the
corporate-wide virus protection would complain or not, but I'd prefer a
more pythonic way of doing this. Even if it's a bunch of C-looking
win32-specific code (I only have to worry about this working on Windows).
the Windows taskbar. But when I open more than one GUI, the icon changes to
the default Python icon, and the name changes from the Frame title to
'pythonw' (pythonw.exe is the interpreter I'm calling the scripts with).
Online I found a win32/ctypes fix, but it only seems to work for >WinXP
(and I'm developing for WinXP). That fix is
the SetCurrentProcessExplicitAppUserModelID call.
Werner recommended I try wx.App.SetAppName(myWxApp, 'newAppNameString')
but that had no effect.
In #winapi on Freenode IRC, someone said I could copy the pythonw.exe and
rename it every time I launch a GUI... but said that some virus scanner
programs might not be happy about that. I haven't tried it to see if the
corporate-wide virus protection would complain or not, but I'd prefer a
more pythonic way of doing this. Even if it's a bunch of C-looking
win32-specific code (I only have to worry about this working on Windows).
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.