Francois PIETTE wrote: > So the question is: what is the best highest number to use ?
Should they be in the WM_USER or WM_APP range? > Borland is already using messages starting from $B000 and $BC00 (See > Controls.pas). Both $B000 and $BC00 are in the WM_APP range. BTW: I also found OCM__BASE in AxCtrls.pas, OleCtl.pas and Activex.pas starting at $2000. 0 through WM_USER-1 Messages reserved for use by the system. WM_USER through 0x7FFF Integer messages for use by private window classes. WM_APP through 0xBFFF Messages available for use by applications. 0xC000 through 0xFFFF String messages for use by applications. Greater than 0xFFFF Reserved by the system for future use. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > ----- Original Message ----- > From: "Frans van Daalen" <[EMAIL PROTECTED]> > To: "ICS support mailing" <twsocket@elists.org> > Sent: Tuesday, June 20, 2006 8:38 PM > Subject: Re: [twsocket] About custom messages in V6 **** > > >> I do agree. I already use v6 (old beta) but had no problem with the >> user messages, using the latest beta without your proposal would >> break my app. >> >> ----- Original Message ----- >> From: "Francois PIETTE" <[EMAIL PROTECTED]> >> To: "ICS support mailing" <twsocket@elists.org> >> Sent: Tuesday, June 20, 2006 8:12 PM >> Subject: Re: [twsocket] About custom messages in V6 **** >> >> >>> This make me thinking we could define the messages using the highest >>> number >>> first and then going low. This would eliminate most clashes as many >>> applications start from WM_USER and goes up. Easy change to do. >>> >>> -- >>> Contribute to the SSL Effort. Visit >>> http://www.overbyte.be/eng/ssl.html -- >>> [EMAIL PROTECTED] >>> http://www.overbyte.be >>> >>> >>> >>> ----- Original Message ----- >>> From: "Arno Garrels" <[EMAIL PROTECTED]> >>> To: <twsocket@elists.org> >>> Sent: Tuesday, June 20, 2006 6:31 PM >>> Subject: [twsocket] About custom messages in V6 **** >>> >>> >>>> Hello, >>>> >>>> I just 'fixed' a VERY strange V6 component behavior in a multi- >>>> threaded server application that drove me nuts over the last hours >>>> >8-| >>>> >>>> V6 worked great, however I simply forgot that messages in the range >>>> of WM_USER up to WM_USER + OverbyteIcsWndControl.WH_MAX_MSG >>>> are now reserved for use with the TIcsWndHandler(s). So common, >>>> custom messages sent to the same thread need to be defined above >>>> that range! >>>> >>>> --- >>>> Arno Garrels [TeamICS] >>>> http://www.overbyte.be/eng/overbyte/teamics.html >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> 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 -- 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