----- Original Message ----- 
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Wednesday, February 07, 2007 10:51 AM
Subject: Re: [twsocket] Possible bug and solution in TWndControl


> Fastream Technologies wrote:
>> Ok. Then there is a bug in ThreadAttach/Detach which Arno said he did
>> not test against. Because my code is so simple! It just has three
>> custom messages in WM_USER + 100-103 and the ICS messages are in
>> WM_APP + 100. The only possibility is that my init code in the client
>> thread is bad (see the first message of the thread).
>
>> TIcsWndHandler *windowHandler = new TIcsWndHandler();
>>  windowHandler->MsgLow = WM_APP + 100;
>
> I don't see the deeper sence in these lines.
> In order to set MsgLow initialize variable GWndHandlerMsgLow as
> I already wrote in one of my first mails.

I did not understand what you propose to have a single wndhandler per thread 
with messages starting from WM_APP + 100--how to do it properly?

>
> And check for HWND = 0 if you process custom thread messages sent by
> PostThreadMessage() (just to be sure).

Already doing this.

>
>
>
>> Regards,
>>
>> SZ
>>
>> ----- Original Message -----
>> From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" <twsocket@elists.org>
>> Sent: Tuesday, February 06, 2007 10:17 PM
>> Subject: Re: [twsocket] Possible bug and solution in TWndControl
>>
>>
>>> Hi,
>>>
>>>> It is just a simple constant, why shouldn't it be 800 instead of
>>>> 100??
>>>
>>> Because it is not the source of a bug. No need to change anything if
>>> it is not buggy. Changing it and then your code works does not prove
>>> there is a bug.
>>>
>>> ---
>>> Rgds, Wilfried [TeamICS]
>>> http://www.overbyte.be/eng/overbyte/teamics.html
>>> http://www.mestdagh.biz
>>>
>>> --
>>> To unsubscribe or change your settings for TWSocket mailing list
>>> please goto http://www.elists.org/mailman/listinfo/twsocket
>>> Visit our website at http://www.overbyte.be
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to