On Jun 13, 9:34 am, Hyuga <[EMAIL PROTECTED]> wrote: > On Jun 12, 11:04 pm, Gandalf <[EMAIL PROTECTED]> wrote: > > > You know these application like ICQ or winamp which stay at the front > > of the desktop as long as the user doesn't minimize it. I wont to do > > the same with my application in python. > > I still didn't manage to make pywinauto to auto set my window frame in > > focus reliability so I was hoping this will solve my problem. > > > I'm working with WX lib on 2.5 python on Microsoft Windows XP > > > I'm not sure if there's a way to do this purely in wx, as it's sort of > a Windows-specific functionality as far as I know. I know in win32 > you can use SetWindowPos() and pass it HWND_TOP > (seehttp://msdn.microsoft.com/en-us/library/ms633545(VS.85).aspx). So you
Sorry, I meant you actually want HWND_TOPMOST as the second argument to SetWindowPos(). That puts the window above all other windows and keeps it there. Erik -- http://mail.python.org/mailman/listinfo/python-list