Yahoo! Groups Tips
Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.
|
Visit the
Groups blog for the latest Yahoo! Groups information
Description
|
This list is for developers using WTL
|
Re: WTL, GUI and Thread
Thats why I said you need to make sure the memory for the string doesn't go away. You can preallocate a buffer. Pass it in with the handle to the init of the
Posted - Fri Dec 4, 2009 3:20 pm
|
Mark Grandau
mgrandau
Offline Send Email
|
Re: WTL, GUI and Thread
... You can't really use WM_SETTEXT with PostMessage, except perhaps when using a hardcoded string literal for the text. Otherwise, you'll either leak the
Posted - Fri Dec 4, 2009 2:52 pm
|
Igor Tandetnik
itandetnik
Offline Send Email
|
Re: WTL, GUI and Thread
Just PostMessage a WM_SETTEXT to the window handle of the status window. You pass that window handle to the worker thread at init.
Posted - Fri Dec 4, 2009 1:20 pm
|
mgrandau
Offline Send Email
|
Re: WTL, GUI and Thread
counter-example (for the case) before clause "see also" -km ... From: Johann Gerell To: wtl@yahoogroups.com Sent: Friday, December 04, 2009 2:56 PM Subject:
Posted - Fri Dec 4, 2009 12:42 pm
|
Konstantin Mironovich
const_at_ixbt
Offline Send Email
|
Re: WTL, GUI and Thread
Ehum? Are you calling PostMessage overcomplicated and mentioning IBindStatusCallback as a counter-example, all in the same breath? That's a higher sense of
Posted - Fri Dec 4, 2009 11:59 am
|
Johann Gerell
unsygn
Offline Send Email
|
Add wtl to your personalized My Yahoo! page What's This?
|
Message History
Group Email Addresses
| Post message: |
wtl@yahoogroups.com |
| Subscribe: |
wtl-subscribe@yahoogroups.com |
| Unsubscribe: |
wtl-unsubscribe@yahoogroups.com |
| List owner: |
wtl-owner@yahoogroups.com |
|