[python-win32] CreateDesktop() and displaying a window on it

2017-04-06 Thread Kurt Eilander
Hey all, I'm trying to get system modal functionality like the UAC dialog. According to http://developex.com/blog/system-modal-back/ the thing to do is to create and switch to a new desktop. Therefore, I'm doing: hDeskOld=win32service.GetThreadDesktop(win32api.GetCurrentThreadId()) hDesk=win

[python-win32] CreateDesktop() and displaying a window on it

2017-04-06 Thread k
Hey all, I'm trying to get system modal functionality like the UAC dialog. According to http://developex.com/blog/system-modal-back/ the thing to do is to create and switch to a new desktop. Therefore, I'm doing: hDeskOld=win32service.GetThreadDesktop(win32api.GetCurrentThreadId()) hDesk=win

Re: [python-win32] CreateDesktop() and displaying a window on it

2017-04-06 Thread eryk sun
On Thu, Apr 6, 2017 at 7:38 PM, Kurt Eilander wrote: > Hey all, > > I'm trying to get system modal functionality like the UAC dialog. > > According to http://developex.com/blog/system-modal-back/ the thing to do is > to create and switch to a new desktop. > > Therefore, I'm doing: > > hDeskOld=win