From: Simi Lc Date: 2009-09-24T19:30:23+09:00 Subject: C extension with progress bar Hi, I have a ruby extension which shows a progress bar window. The progress bar shows the progress of a loop in the ruby code.For each iteration of the loop I call an extension method that sets the current progress through the PBM_SETPOS message. The progress bar is actually shown.The problem arises when I want to implement a cancel button in the progress window. While the progress is updating the window becomes unresponsive and cancel button click does not work. I tried to update the progress in C code through a separate thread using CreateThread but it does not show the progress at all. Kindly suggest solution to fix this problem Thanks in advance and let me know any other details are required. Simi -- Posted via http://www.ruby-forum.com/.