Artifacts Associated With Ticket 930602ffffffffff
Ticket change [8fa202ebad] (rid 120310) by nobody on 2004-04-06 18:12:25:
- assignee initialized to: "kennykb"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I am using C application with Tcl/Tk front end. I use tcl84.lib and tk84.lib for Windows 2000 platform. I periodically use following to refresh display and get user input. while (Tcl_DoOneEvent(TCL_ALL_EVENTS | TCL_DONT_WAIT)); But this call blocks and never returns when I have modal dialog open in GUI. When I used TCL_DONT_WAIT flag, I assumed that this will return immediately, if there is no event pending. But it does not work that way. Can anybody explain why this is not working and how to make it work? Thanks, Niraj
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "01. Notifier"
- title initialized to: "Tcl_DoOneEvent blocks when there is modal dialog"
- type initialized to: "Bug"
Ticket change [cc72d246dc] (rid 95702) by dkf on 2004-04-07 20:33:32:
- closedate changed to: "2004-04-07T13:33:32"
- closer changed to: "dkf"
- foundin changed to: "obsolete: 8.4.6"
- icomment:
Logged In: YES user_id=79902 This looks like it is Tk related, and also not actually anything we can do anything about as (IIRC) the way Windows native dialogs work involves blocking calls. If you want to get something else, please refile this bug in the tktoolkit Bug tracker, using category 36, 37 or 38 (they all have the same problem.)
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dkf"