I'm not sure I understood the last part of your question which is the
main problem... as far as I understood you need the X,Y coordinates
relatively to the screen... try the GetCursorPos(vPoint) function and then
you can call Popup(vPoint.X,vPoint.Y)

I hope this is what you were looking for
Vahan

-----Original Message-----
From: Mauro Russo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 10:01 AM
To: delphi-en
Subject: [delphi-en] Delay popup


Dear people,

i'd like to popup the popupmenu AFTER having
OnMouseDown event.
I have this problem on a TTreeView, becuase i want to set differents
popup-menu(s) according to the TreeNode selected.
I know i can use AutoPopup=false and to call Popup(X,Y) by myself,
but i'd like to don't have to solve the problem to set X,Y to show the popup
inside the screen.

Thanks for help.

[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]



----------------------------------------------------------------------------
----
Yahoo! Groups Links

  a.. To visit your group on the web, go to:
  http://groups.yahoo.com/group/delphi-en/

  b.. To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]

  c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to