Robert Meek wrote:
> I know I can use the menu's OnPopUp event but how do I position and
> set the width properly...

Display the menu by calling its Popup method. You specify its 
coordinates there.

The width is determined entirely by the contents of the menu items.

> and how do I determine if the menu should be
> displayed above or below it's bitbtn?  Thanx in advance!

If you call the TrackPopupMenu API function directly, you can give it a 
screen region in which it should not display itself. Use the bounds of 
the button as that region.

-- 
Rob
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to