RE: WTL, GUI and Thread
"Dick Dievendorff" <[email protected]>
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <00c201ca7474$c51e8320$4f5b8960$@net> |
Your long-running thread can't make UI function calls. But it can issue PostMessage to put user-defined status update messages onto the message queue of your UI thread. Dick -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Andrey Sergienko Sent: Thursday, December 03, 2009 6:12 AM To: [email protected] Subject: [wtl] WTL, GUI and Thread Hello! I'm writing a WTL-application. I have some function that operates with TCP/IP. It spends a lot of time on work. So I want to display some status of it working on an application window. How I can do that? I think it is needed to put that function in a thread. So how it can be possible that thread have an access to application window and make some like SetText on it? thank you -- regards, Andrey mailto:[email protected] ------------------------------------ Yahoo! Groups Links ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/wtl/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/wtl/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/