TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jonathan Tew
from: Mario Semo
date: 1995-05-31 09:48:34
subject: How can you complex procedures in the PM?

Hello Jonathan,

On May 26 06:53 95, Jonathan Tew of 1:133/2602 wrote:

 JT> like on program load etc, but how can I get around the 
 JT> message processing when I'm trying to run a Zmodem transfer 
 JT> procedue that needs to update a dialog window every time a 
 JT> block is transferred.  Multi-threaded programs can't share 

open the dialog in the main thread. perform the action in an async thread.
whenever you want to display something in the dialog send a message (from
the async thread) to the main thread. let the main thread display the data
in the dialog.

 WARPED!, Mario

--- 
* Origin: LC/32 Development Team-Vienna-Austria (2:310/14.11)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 310/14 90 30 2490/1301 240/5500 396/1 270/101 105/103 42 712/515
@PATH: 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.