Francois PIETTE wrote:
>>>> What's annoying is that a TTimer creates a window and also requires
>>>> ExtCtrls.pas to be included.
>>> On my site you find a serial comport component (TCiaComPort). It
>>> has a custom Timer on board that does not create a window, but can
>>> use an existing window.
>> Thanks Wilfried, but that doesn't help much since in ICS V6 yuo
>> can't use the ICS component window for such purposes.
>> Is there any way to create a timer without a window being required, I
>> think
>> it's not possible. So probably writing a custom timer (which
>> requires a window anyway maybe a solution/workaround, if you don't
>> want ExtCtrls to be included).
> You can use SetTimer API which can either use a message or a callback
> function. So using a callback function will be what you need.

Unfortunately the callback requires a window handle as well.

    HWND hwnd,
    UINT uMsg,
    UINT_PTR idEvent,
    DWORD dwTime

Arno Garrels [TeamICS]

> --
> Contribute to the SSL Effort. Visit
> --
To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to