Hi,

Both X and Windows support such actions.
On X you can create a window that it's entire porpose is to have events.
And as you mentioned, Windows also support such thing.

On Windows there is a usage of AllocateHwnd in order to have events
for things such as System Tray. But my X programming skills are not
that good to know for what I should use
XCreateWindow function (XCreateWindowSimple is not what you are
looking afaik) without visible needs.

Ido

On 2/25/07, Felipe Monteiro de Carvalho
<[EMAIL PROTECTED]> wrote:
Hello,

I was looking at how to implement AllocateHwnd on Lazarus. In theory
this function should allocate a invisible window that can receive and
process messages.

One idea I had is to simply create a empty, invisible form, but the
function should return a native handle, and not a object, so I will
have trouble to free the form later.

Another way to implement this would be adding a new function to
LCLIntf, and then implement on each widgetset differently.

Any ideas?

thanks,
--
Felipe Monteiro de Carvalho

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives



--
http://ik.homelinux.org/

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to