in reply to Tk and native controls do not play along on Windows
Essentially, you'd need to service both message queues concurrently. Tk has calls that allow you to service it's queue without entering MainLoop, but there probably isn't any effective way to call them once you've entered the native control's dispatch loop.
It would be worth trying invoking the ShBrowseForFolder() api from within a thread:
use threads; asynch { ShBrowseForFolder( ... ); }->detach;
That should allow the main thread to run the Tk MainLoop concurrently with the Native controls dispatch loop.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk and native controls do not play along on Windows
by nikosv (Deacon) on Jan 20, 2011 at 10:16 UTC | |
by BrowserUk (Patriarch) on Jan 20, 2011 at 10:47 UTC | |
by nikosv (Deacon) on Jan 20, 2011 at 11:15 UTC | |
by Anonymous Monk on Jan 20, 2011 at 10:48 UTC |