Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8fa202ebad255797b116e794a37920b1451a1bad
Ticket: 930602ffffffffffffffffffffffffffffffffff
Tcl_DoOneEvent blocks when there is modal dialog
User & Date: nobody on 2004-04-06 18:12:25
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "01. Notifier"
  10. title changed to: "Tcl_DoOneEvent blocks when there is modal dialog"
  11. type changed to: "Bug"