Danny Milosavljevic wrote:
Then it is realized (and probably mapped as well).
Try xwininfo and then click on it, or xev and see if it brags about
stuff it gets - like mouse clicks, ... (and check that it _is_ your
window, not the desktop's :)).
If I execute xwininfo and click the systray Icon, it will get the
information from kicker, not from the window of my Icon. The same for
other Systray icons. Using KDE.
"xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: Window id: 0x1c00007 "kicker"
Absolute upper-left X: 0
Absolute upper-left Y: 722
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 1024
Height: 46
Depth: 16
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x20 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +0+722 -0+722 -0-0 +0-0
-geometry 1024x46+0-0"
There is no executable xev, and no package named xev available on the
repositories of my Mandriva 2006.
gtk_widget_add_events(widget, GDK_BUTTON_PRESS_MASK); ?
Where widget is what? TForm.Handle???
thanks,
Felipe
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives